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 theFileSystemSecurityRealm
class for the Elytron Tool.- Author:
- Ashpan Raskar
-
-
Constructor Summary
Constructors Constructor Description FileSystemRealmUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createEncryptedRealmFromUnencrypted(FileSystemSecurityRealm unencryptedRealm, FileSystemSecurityRealm encryptedRealm)
Converts a pre-existing unencryptedFileSystemSecurityRealm
to a newly created encryptedFileSystemSecurityRealm
-
-
-
Method Detail
-
createEncryptedRealmFromUnencrypted
public static void createEncryptedRealmFromUnencrypted(FileSystemSecurityRealm unencryptedRealm, FileSystemSecurityRealm encryptedRealm) throws RealmUnavailableException
Converts a pre-existing unencryptedFileSystemSecurityRealm
to a newly created encryptedFileSystemSecurityRealm
- Parameters:
unencryptedRealm
- theFileSystemSecurityRealm
without any encryption appliedencryptedRealm
- theFileSystemSecurityRealm
configured with a SecretKey to encrypt identity data- Throws:
RealmUnavailableException
- if either realm is unavailable
-
-