|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.auth.spi.AbstractServerLoginModule
org.jboss.resource.security.AbstractPasswordCredentialLoginModule
org.jboss.resource.security.CallerIdentityLoginModule
public class CallerIdentityLoginModule
A simple login module that simply associates the principal making the
connection request with the actual EIS connection requirements.
The type of Principal class used is
org.jboss.security.SimplePrincipal.
ConfiguredIdentityLoginModule
Field Summary |
---|
Fields inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule |
---|
callbackHandler, loginOk, options, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass |
Constructor Summary | |
---|---|
CallerIdentityLoginModule()
Default Constructor |
Method Summary | |
---|---|
boolean |
commit()
Method to commit the authentication process (phase 2). |
protected Principal |
getIdentity()
Overriden by subclasses to return the Principal that corresponds to the user primary identity. |
protected Group[] |
getRoleSets()
Overriden by subclasses to return the Groups that correspond to the to the role sets assigned to the user. |
void |
initialize(Subject subject,
CallbackHandler handler,
Map sharedState,
Map options)
The initialize method sets up some default connection information for basic connections. |
boolean |
login()
Performs the login association between the caller and the resource for a 1 to 1 mapping. |
Methods inherited from class org.jboss.resource.security.AbstractPasswordCredentialLoginModule |
---|
getMcf, getServer, logout, removeCredentials |
Methods inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule |
---|
abort, createGroup, createIdentity, getUnauthenticatedIdentity, getUseFirstPass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallerIdentityLoginModule()
Method Detail |
---|
public void initialize(Subject subject, CallbackHandler handler, Map sharedState, Map options)
initialize
in interface LoginModule
initialize
in class AbstractPasswordCredentialLoginModule
subject
- handler
- sharedState
- options
- public boolean login() throws LoginException
login
in interface LoginModule
login
in class AbstractPasswordCredentialLoginModule
LoginException
public boolean commit() throws LoginException
AbstractServerLoginModule
commit
in interface LoginModule
commit
in class AbstractServerLoginModule
LoginException
Subject;
,
Group;
protected Principal getIdentity()
AbstractServerLoginModule
getIdentity
in class AbstractServerLoginModule
protected Group[] getRoleSets() throws LoginException
AbstractServerLoginModule
getRoleSets
in class AbstractServerLoginModule
LoginException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |