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.1 or earlier), they are also updated.
Author:
Jessica Rodriguez
  • Method Details

    • execute

      public void execute(String[] args) throws Exception
      Specified by:
      execute in class Command
      Throws:
      Exception
    • help

      public void help()
      Displays the help screen for the command
      Overrides:
      help in class Command
    • 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:
      warningHandler in class Command
      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:
      errorHandler in class Command
      Parameters:
      e - The exception thrown during execution
      Throws:
      Exception - The exception to be handled by Elytron Tool