Package org.wildfly.security.auth.realm
Class FileSystemRealmUtil
- java.lang.Object
-
- org.wildfly.security.auth.realm.FileSystemRealmUtil
-
public class FileSystemRealmUtil extends Object
A utility class to utilize methods from theFileSystemSecurityRealmclass for the Elytron Tool.- Author:
- Ashpan Raskar, Jessica Rodriguez
-
-
Constructor Summary
Constructors Constructor Description FileSystemRealmUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcloneIdentitiesToNewRealm(FileSystemSecurityRealm oldRealm, FileSystemSecurityRealm newRealm)Copies identities from an existingFileSystemSecurityRealmto a new one.
-
-
-
Method Detail
-
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
-
-