psdi.iface.webservices

Class MaxWSUNTConsumeLoginModule

  • java.lang.Object
    • psdi.iface.webservices.MaxWSUNTConsumeLoginModule
  • All Implemented Interfaces:
    javax.security.auth.spi.LoginModule


    public class MaxWSUNTConsumeLoginModule
    extends java.lang.Object
    implements javax.security.auth.spi.LoginModule
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean abort()
      Aborts the login process.KJR
      boolean commit()
      Commits the login process.
      void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler handler, java.util.Map sharedState, java.util.Map options)
      Intializes this LoginModule object.
      boolean login()
      Starts a login process.
      boolean logout()
      Logs out the login process.
      • Methods inherited from class java.lang.Object

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

      • MaxWSUNTConsumeLoginModule

        public MaxWSUNTConsumeLoginModule()
    • Method Detail

      • initialize

        public void initialize(javax.security.auth.Subject subject,
                               javax.security.auth.callback.CallbackHandler handler,
                               java.util.Map sharedState,
                               java.util.Map options)
        Intializes this LoginModule object.
        Specified by:
        initialize in interface javax.security.auth.spi.LoginModule
        Parameters:
        subject - The Subject to be authenticated.
        handler - The CallbackHandler used to gather login data from the user.
        sharedState - State data shared between login modules.
        options - A Map of key-value pairs specifying configuration options for this login module.
        See Also:
        LoginModule.initialize(Subject, CallbackHandler, Map, Map)
      • login

        public boolean login()
                      throws javax.security.auth.login.LoginException
        Starts a login process.
        Specified by:
        login in interface javax.security.auth.spi.LoginModule
        Returns:
        true If the login is successful, false otherwise
        Throws:
        javax.security.auth.login.LoginException - If the login fails
        See Also:
        LoginModule.login()
      • commit

        public boolean commit()
                       throws javax.security.auth.login.LoginException
        Commits the login process.
        Specified by:
        commit in interface javax.security.auth.spi.LoginModule
        Returns:
        true If the commit is successful, false otherwise
        Throws:
        javax.security.auth.login.LoginException - If the commit fails
        See Also:
        LoginModule.commit()
      • abort

        public boolean abort()
                      throws javax.security.auth.login.LoginException
        Aborts the login process.KJR
        Specified by:
        abort in interface javax.security.auth.spi.LoginModule
        Returns:
        true If the abort was successful, false otherwise
        Throws:
        javax.security.auth.login.LoginException - If the abort fails
        See Also:
        LoginModule.abort()
      • logout

        public boolean logout()
                       throws javax.security.auth.login.LoginException
        Logs out the login process.
        Specified by:
        logout in interface javax.security.auth.spi.LoginModule
        Returns:
        true If the logout is successful, false otherwise
        Throws:
        javax.security.auth.login.LoginException - If the abort fails
        See Also:
        LoginModule.logout()