Package org.wildfly.security.auth.realm
Class FileSystemRealmUtil
java.lang.Object
org.wildfly.security.auth.realm.FileSystemRealmUtil
A utility class to utilize methods from the
FileSystemSecurityRealm class for the Elytron Tool.- Author:
- Ashpan Raskar, Jessica Rodriguez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcloneIdentitiesToNewRealm(FileSystemSecurityRealm oldRealm, FileSystemSecurityRealm newRealm) Copies identities from an existingFileSystemSecurityRealmto a new one.
-
Constructor Details
-
FileSystemRealmUtil
public FileSystemRealmUtil()
-
-
Method Details
-
cloneIdentitiesToNewRealm
public static void cloneIdentitiesToNewRealm(FileSystemSecurityRealm oldRealm, FileSystemSecurityRealm newRealm) throws RealmUnavailableException Copies identities from an existingFileSystemSecurityRealmto a new one.- Parameters:
oldRealm- the existingFileSystemSecurityRealmwith the identitiesnewRealm- the newFileSystemSecurityRealm- Throws:
RealmUnavailableException- if either realm is unavailable or an operation fails
-