Package org.wildfly.security.tool
Class FileSystemRealmIntegrityCommand
- java.lang.Object
-
- org.wildfly.security.tool.Command
-
- org.wildfly.security.tool.FileSystemRealmIntegrityCommand
-
public class FileSystemRealmIntegrityCommand extends Command
Elytron Tool command to enable integrity checking in filesystem realms that previously did not have it enabled. If any identities use a schema which doesn't support integrity checking (urn:elytron:identity:1.1or earlier), they are also updated.- Author:
- Cameron Rodriguez
-
-
Field Summary
-
Fields inherited from class org.wildfly.security.tool.Command
ELYTRON_KS_PASS_PROVIDERS, GENERAL_CONFIGURATION_ERROR, GENERAL_CONFIGURATION_WARNING, INPUT_DATA_NOT_CONFIRMED, WIDTH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiderrorHandler(Exception e)Determines if a summary needs to be printed and prints summary after an error is thrownvoidexecute(String[] args)voidhelp()Displays the help screen for the commandprotected voidwarningHandler(String warning)Prints out a warning message if silentMode is not enabled and adds the warning to the summary if summaryMode is enabled-
Methods inherited from class org.wildfly.security.tool.Command
aliases, getProvidersSupplier, getStatus, getToolCommand, isAlias, isEnableDebug, isWindows, printDuplicatesWarning, printDuplicatesWarning, prompt, setEnableDebug, setStatus, setToolCommand
-
-
-
-
Method Detail
-
warningHandler
protected void warningHandler(String warning)
Prints out a warning message if silentMode is not enabled and adds the warning to the summary if summaryMode is enabled- Overrides:
warningHandlerin classCommand- Parameters:
warning- The warning to be shown
-
errorHandler
protected void errorHandler(Exception e) throws Exception
Determines if a summary needs to be printed and prints summary after an error is thrown- Overrides:
errorHandlerin classCommand- Parameters:
e- The exception thrown during execution- Throws:
Exception- The exception to be handled by Elytron Tool
-
-