Class JaasSecurityRealm

java.lang.Object
org.wildfly.security.auth.realm.JaasSecurityRealm
All Implemented Interfaces:
SecurityRealm

public class JaasSecurityRealm extends Object implements SecurityRealm
A JAAS based SecurityRealm implementation.
Author:
Stefan Guilhen
  • Constructor Details

    • JaasSecurityRealm

      public JaasSecurityRealm(String entry)
      Construct a new instance.
      Parameters:
      entry - JAAS configuration file entry (must not be null)
    • JaasSecurityRealm

      public JaasSecurityRealm(String entry, ClassLoader classLoader)
      Construct a new instance.
      Parameters:
      entry - JAAS configuration file entry (must not be null)
      classLoader - classLoader to use with LoginContext, this class loader must contain LoginModule CallbackHandler classes
    • JaasSecurityRealm

      public JaasSecurityRealm(String entry, String jaasConfigFilePath)
      Construct a new instance.
      Parameters:
      entry - JAAS configuration file entry (must not be null)
      jaasConfigFilePath - path to JAAS configuration file
    • JaasSecurityRealm

      public JaasSecurityRealm(String entry, String jaasConfigFilePath, ClassLoader classLoader)
      Construct a new instance.
      Parameters:
      entry - JAAS configuration file entry (must not be null)
      jaasConfigFilePath - path to JAAS configuration file
      classLoader - classLoader to use with LoginContext, this class loader must contain LoginModule CallbackHandler classes
    • JaasSecurityRealm

      public JaasSecurityRealm(String entry, String jaasConfigFilePath, ClassLoader classLoader, CallbackHandler callbackHandler)
      Construct a new instance.
      Parameters:
      entry - JAAS configuration file entry (must not be null)
      jaasConfigFilePath - path to JAAS configuration file
      callbackHandler - callbackHandler to pass to LoginContext
      classLoader - classLoader to use with LoginContext, this class loader must contain LoginModule CallbackHandler classes
  • Method Details