Class ElytronRecorder

java.lang.Object
io.quarkus.elytron.security.runtime.ElytronRecorder

public class ElytronRecorder 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 final org.jboss.logging.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRealm(io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityDomain.Builder> builder, String realmName, io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm)
    Called to add a realm to the SecurityDomain being built
    io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityDomain>
    buildDomain(io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityDomain.Builder> builder)
    Called to invoke the builder created by configureDomainBuilder(String, RuntimeValue)
    io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityDomain.Builder>
    configureDomainBuilder(String realmName, io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm)
    Create a SecurityDomain.Builder for the given default SecurityRealm.
    void
     
    void
    setDomainForIdentityProvider(io.quarkus.arc.runtime.BeanContainer bc, io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityDomain> domain)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • log

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

    • ElytronRecorder

      public ElytronRecorder()
  • Method Details

    • runLoadTask

      public void runLoadTask(Runnable runnable)
    • setDomainForIdentityProvider

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

      public io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityDomain.Builder> configureDomainBuilder(String realmName, io.quarkus.runtime.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(io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityDomain.Builder> builder, String realmName, io.quarkus.runtime.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 io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityDomain> buildDomain(io.quarkus.runtime.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