org.smartcc.login
Class Was4LoginModule

java.lang.Object
  |
  +--org.smartcc.login.Was4LoginModule
All Implemented Interfaces:
javax.security.auth.spi.LoginModule

public class Was4LoginModule
extends java.lang.Object
implements javax.security.auth.spi.LoginModule

A simple implementation of LoginModule for use by Was clients for the establishment of the caller identity and credentials. It's based on the LoginHelper.

Author:
Holger Engels

Constructor Summary
Was4LoginModule()
           
 
Method Summary
 boolean abort()
          Method to abort the authentication process (phase 2).
 boolean commit()
          Method to commit the authentication process (phase 2).
 void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler callbackHandler, java.util.Map sharedState, java.util.Map options)
          Initialize this LoginModule.
 boolean login()
           
 boolean logout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Was4LoginModule

public Was4LoginModule()
Method Detail

initialize

public void initialize(javax.security.auth.Subject subject,
                       javax.security.auth.callback.CallbackHandler callbackHandler,
                       java.util.Map sharedState,
                       java.util.Map options)
Initialize this LoginModule.

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
javax.security.auth.login.LoginException

commit

public boolean commit()
               throws javax.security.auth.login.LoginException
Method to commit the authentication process (phase 2).

Specified by:
commit in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException

abort

public boolean abort()
              throws javax.security.auth.login.LoginException
Method to abort the authentication process (phase 2).

Specified by:
abort in interface javax.security.auth.spi.LoginModule
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
javax.security.auth.login.LoginException


Copyright © 2002 DC-TSS. All Rights Reserved.