Class ElytronRecorder


  • public class ElytronRecorder
    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

      • ElytronRecorder

        public ElytronRecorder()
    • Method Detail

      • runLoadTask

        public void runLoadTask​(Runnable runnable)
      • setDomainForIdentityProvider

        public void setDomainForIdentityProvider​(io.quarkus.arc.runtime.BeanContainer bc,
                                                 RuntimeValue<org.wildfly.security.auth.server.SecurityDomain> domain)
      • configureDomainBuilder

        public RuntimeValue<org.wildfly.security.auth.server.SecurityDomain.Builder> configureDomainBuilder​(String realmName,
                                                                                                            RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm)
                                                                                                     throws Exception
        Create a SecurityDomain.Builder for the given default SecurityRealm.
        Parameters:
        realmName - - the default realm name
        realm - - the default SecurityRealm
        Returns:
        a runtime value for the SecurityDomain.Builder
        Throws:
        Exception - on any error
      • addRealm

        public void addRealm​(RuntimeValue<org.wildfly.security.auth.server.SecurityDomain.Builder> builder,
                             String realmName,
                             RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm)
        Called to add a realm to the SecurityDomain being built
        Parameters:
        builder - - runtime value for SecurityDomain.Builder created by configureDomainBuilder(String, RuntimeValue)
        realmName - - the name of the SecurityRealm
        realm - - the runtime value for the SecurityRealm
      • buildDomain

        public RuntimeValue<org.wildfly.security.auth.server.SecurityDomain> buildDomain​(RuntimeValue<org.wildfly.security.auth.server.SecurityDomain.Builder> builder)
        Called to invoke the builder created by configureDomainBuilder(String, RuntimeValue)
        Parameters:
        builder - - the security domain builder
        Returns:
        the security domain runtime value