Class FileSystemRealmUtil

java.lang.Object
org.wildfly.security.auth.realm.FileSystemRealmUtil

public class FileSystemRealmUtil extends Object
A utility class to utilize methods from the FileSystemSecurityRealm class for the Elytron Tool.
Author:
Ashpan Raskar, Jessica Rodriguez
  • Constructor Details

    • FileSystemRealmUtil

      public FileSystemRealmUtil()
  • Method Details

    • cloneIdentitiesToNewRealm

      public static void cloneIdentitiesToNewRealm(FileSystemSecurityRealm oldRealm, FileSystemSecurityRealm newRealm) throws org.wildfly.security.auth.server.RealmUnavailableException
      Copies identities from an existing FileSystemSecurityRealm to a new one.
      Parameters:
      oldRealm - the existing FileSystemSecurityRealm with the identities
      newRealm - the new FileSystemSecurityRealm
      Throws:
      org.wildfly.security.auth.server.RealmUnavailableException - if either realm is unavailable or an operation fails