Class JaasSecurityRealm

    • Constructor Detail

      • 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