Class LoginModuleConfiguration


  • @ThreadSafe
    public final class LoginModuleConfiguration
    extends javax.security.auth.login.Configuration
    A JAAS configuration that defines the login modules, by which JAAS uses to login. In implementation, we define several modes (Simple, Kerberos, ...) by constructing different arrays of AppConfigurationEntry, and select the proper array based on the configured mode. Then JAAS login framework use the selected array of AppConfigurationEntry to determine the login modules to be used.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.security.auth.login.Configuration

        javax.security.auth.login.Configuration.Parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.security.auth.login.AppConfigurationEntry[] getAppConfigurationEntry​(java.lang.String appName)  
      • Methods inherited from class javax.security.auth.login.Configuration

        getConfiguration, getInstance, getInstance, getInstance, getParameters, getProvider, getType, refresh, setConfiguration
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAppConfigurationEntry

        @Nullable
        public javax.security.auth.login.AppConfigurationEntry[] getAppConfigurationEntry​(java.lang.String appName)
        Specified by:
        getAppConfigurationEntry in class javax.security.auth.login.Configuration