Class ElytronPropertiesFileRecorder

java.lang.Object
io.quarkus.elytron.security.properties.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 final org.jboss.logging.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ElytronPropertiesFileRecorder(io.quarkus.runtime.RuntimeValue<MPRealmRuntimeConfig> runtimeConfig, SecurityUsersConfig propertiesConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm>
    Create a runtime value for a SimpleMapBackedSecurityRealm
    io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm>
    Create a runtime value for a LegacyPropertiesSecurityRealm
    loadEmbeddedRealm(io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm)
    Load the embedded user and role information into the SecurityRealm
    loadRealm(io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm)
    Load the user.properties and roles.properties files into the SecurityRealm

    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

  • Method Details

    • loadRealm

      public Runnable loadRealm(io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm) throws Exception
      Load the user.properties and roles.properties files into the SecurityRealm
      Parameters:
      realm - - a LegacyPropertiesSecurityRealm
      Throws:
      Exception
    • loadEmbeddedRealm

      public Runnable loadEmbeddedRealm(io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> realm) throws Exception
      Load the embedded user and role information into the SecurityRealm
      Parameters:
      realm - - a SimpleMapBackedSecurityRealm
      Throws:
      Exception
    • createRealm

      public io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> createRealm() throws Exception
      Create a runtime value for a LegacyPropertiesSecurityRealm
      Returns:
      - runtime value wrapper for the SecurityRealm
      Throws:
      Exception
    • createEmbeddedRealm

      public io.quarkus.runtime.RuntimeValue<org.wildfly.security.auth.server.SecurityRealm> createEmbeddedRealm()
      Create a runtime value for a SimpleMapBackedSecurityRealm
      Returns:
      - runtime value wrapper for the SecurityRealm
      Throws:
      Exception