Class ElytronPropertiesFileRecorder
- java.lang.Object
-
- io.quarkus.elytron.security.runtime.ElytronPropertiesFileRecorder
-
public class ElytronPropertiesFileRecorder extends Object
The runtime security recorder class that provides methods for creating RuntimeValues for the deployment security objects.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static org.jboss.logging.Loggerlog
-
Constructor Summary
Constructors Constructor Description ElytronPropertiesFileRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeValue<org.wildfly.security.auth.server.SecurityRealm>createRealm(MPRealmConfig config)Create a runtime value for a SimpleMapBackedSecurityRealmRuntimeValue<org.wildfly.security.auth.server.SecurityRealm>createRealm(PropertiesRealmConfig config)Create a runtime value for a LegacyPropertiesSecurityRealmRunnableloadRealm(RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm, MPRealmConfig config, MPRealmRuntimeConfig runtimeConfig)Load the embedded user and role information into the SecurityRealmRunnableloadRealm(RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm, PropertiesRealmConfig config)Load the user.properties and roles.properties files into the SecurityRealm
-
-
-
Method Detail
-
loadRealm
public Runnable loadRealm(RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm, PropertiesRealmConfig config) throws Exception
Load the user.properties and roles.properties files into the SecurityRealm- Parameters:
realm- - a LegacyPropertiesSecurityRealmconfig- - realm configuration info- Throws:
Exception
-
loadRealm
public Runnable loadRealm(RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm, MPRealmConfig config, MPRealmRuntimeConfig runtimeConfig) throws Exception
Load the embedded user and role information into the SecurityRealm- Parameters:
realm- - a SimpleMapBackedSecurityRealmconfig- - the realm config- Throws:
Exception
-
createRealm
public RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> createRealm(PropertiesRealmConfig config) throws Exception
Create a runtime value for a LegacyPropertiesSecurityRealm- Parameters:
config- - the realm config- Returns:
- - runtime value wrapper for the SecurityRealm
- Throws:
Exception
-
createRealm
public RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> createRealm(MPRealmConfig config)
Create a runtime value for a SimpleMapBackedSecurityRealm- Parameters:
config- - the realm config- Returns:
- - runtime value wrapper for the SecurityRealm
- Throws:
Exception
-
-