org.jboss.security.negotiation.spnego
Class SPNEGOLoginModule
java.lang.Object
org.jboss.security.auth.spi.AbstractServerLoginModule
org.jboss.security.negotiation.spnego.SPNEGOLoginModule
- All Implemented Interfaces:
- LoginModule
public class SPNEGOLoginModule
- extends org.jboss.security.auth.spi.AbstractServerLoginModule
Login module to work in conjunction with SPNEGOAuthenticator to handle the
authentication requirements.
- Version:
- $Revision: 83572 $
- Author:
- darran.lofthouse@jboss.com
Fields inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule |
callbackHandler, log, loginOk, options, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass |
Methods inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule |
abort, commit, createGroup, createIdentity, getUnauthenticatedIdentity, getUseFirstPass, logout |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPNEGOLoginModule
public SPNEGOLoginModule()
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
- Specified by:
initialize
in interface LoginModule
- Overrides:
initialize
in class org.jboss.security.auth.spi.AbstractServerLoginModule
login
public boolean login()
throws LoginException
- Specified by:
login
in interface LoginModule
- Overrides:
login
in class org.jboss.security.auth.spi.AbstractServerLoginModule
- Throws:
LoginException
getIdentity
protected Principal getIdentity()
- Specified by:
getIdentity
in class org.jboss.security.auth.spi.AbstractServerLoginModule
getRoleSets
protected Group[] getRoleSets()
throws LoginException
- Specified by:
getRoleSets
in class org.jboss.security.auth.spi.AbstractServerLoginModule
- Throws:
LoginException
getServerSubject
protected Subject getServerSubject()
throws LoginException
- Throws:
LoginException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.