net.sf.jguard.ext.authentication.loginmodules
Class CertificateLoginModule
java.lang.Object
net.sf.jguard.ext.authentication.loginmodules.CertificateLoginModule
- All Implemented Interfaces:
- javax.security.auth.spi.LoginModule
- Direct Known Subclasses:
- CRLLoginModule, OCSPLoginModule
public abstract class CertificateLoginModule
- extends java.lang.Object
- implements javax.security.auth.spi.LoginModule
Base class for LoginModules related to certificate.
- Since:
- 1.0.0
- Author:
- Charles Gay
- See Also:
CRLLoginModule,
OCSPLoginModule
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.security.auth.spi.LoginModule |
initialize |
subject
protected javax.security.auth.Subject subject
loginOK
protected boolean loginOK
certChainToCheck
protected java.security.cert.X509Certificate[] certChainToCheck
callbackHandler
protected javax.security.auth.callback.CallbackHandler callbackHandler
CertificateLoginModule
public CertificateLoginModule()
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- See Also:
LoginModule.abort()
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
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- See Also:
LoginModule.logout()
certificateCommit
protected boolean certificateCommit()
throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
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
Copyright © 2004-2009. All Rights Reserved.