Class ElytronPropertiesFileRecorder


  • public class ElytronPropertiesFileRecorder
    extends Object
    The runtime security recorder class that provides methods for creating RuntimeValues for the deployment security objects.
    • Field Detail

      • log

        static final org.jboss.logging.Logger log
    • Constructor Detail

      • ElytronPropertiesFileRecorder

        public ElytronPropertiesFileRecorder()
    • 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 LegacyPropertiesSecurityRealm
        config - - realm configuration info
        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