Class GenericLoginModule

  • All Implemented Interfaces:
    javax.security.auth.spi.LoginModule

    public class GenericLoginModule
    extends java.lang.Object
    implements javax.security.auth.spi.LoginModule
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean IBM_JAVA
      A public static variable to indicate the current java vendor is IBM java or not.
      static java.lang.String JAVA_VENDOR_NAME
      The java vendor name used in this platform.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean abort()  
      boolean commit()  
      void initialize​(javax.security.auth.Subject arg0, javax.security.auth.callback.CallbackHandler arg1, java.util.Map<java.lang.String,​?> arg2, java.util.Map<java.lang.String,​?> arg3)  
      boolean login()  
      boolean logout()  
      • Methods inherited from class java.lang.Object

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

      • JAVA_VENDOR_NAME

        public static final java.lang.String JAVA_VENDOR_NAME
        The java vendor name used in this platform.
      • IBM_JAVA

        public static final boolean IBM_JAVA
        A public static variable to indicate the current java vendor is IBM java or not.
    • Constructor Detail

      • GenericLoginModule

        public GenericLoginModule()
    • Method Detail

      • abort

        public boolean abort()
                      throws javax.security.auth.login.LoginException
        Specified by:
        abort in interface javax.security.auth.spi.LoginModule
        Throws:
        javax.security.auth.login.LoginException
      • commit

        public boolean commit()
                       throws javax.security.auth.login.LoginException
        Specified by:
        commit in interface javax.security.auth.spi.LoginModule
        Throws:
        javax.security.auth.login.LoginException
      • initialize

        public void initialize​(javax.security.auth.Subject arg0,
                               javax.security.auth.callback.CallbackHandler arg1,
                               java.util.Map<java.lang.String,​?> arg2,
                               java.util.Map<java.lang.String,​?> arg3)
        Specified by:
        initialize in interface javax.security.auth.spi.LoginModule
      • login

        public boolean login()
                      throws javax.security.auth.login.LoginException
        Specified by:
        login in interface javax.security.auth.spi.LoginModule
        Throws:
        javax.security.auth.login.LoginException
      • logout

        public boolean logout()
                       throws javax.security.auth.login.LoginException
        Specified by:
        logout in interface javax.security.auth.spi.LoginModule
        Throws:
        javax.security.auth.login.LoginException