|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.security.provider.ChainingSecurityContext
org.jasig.portal.security.provider.SimpleLdapSecurityContext
org.jasig.portal.security.provider.CacheLdapSecurityContext
SimpleLdapSecurityContext
chained with CacheSecurityContext
instead
This is an implementation of a SecurityContext that checks a user's credentials against an LDAP directory. It expects to be able to bind to the LDAP directory as the user so that it can authenticate the user. The user's credentials are cached.
Field Summary |
Fields inherited from class org.jasig.portal.security.provider.SimpleLdapSecurityContext |
ATTR_FIRSTNAME, ATTR_LASTNAME, ATTR_UID, LDAP_PROPERTIES_CONNECTION_NAME |
Method Summary | |
void |
authenticate()
Deprecated. Authenticates the user. |
int |
getAuthType()
Deprecated. Returns the type of authentication this class provides. |
IOpaqueCredentials |
getOpaqueCredentials()
Deprecated. We need to override this method in order to return a class that implements the NotSoOpaqueCredentals interface. |
Methods inherited from class org.jasig.portal.security.provider.SimpleLdapSecurityContext |
setProperties |
Methods inherited from class org.jasig.portal.security.provider.ChainingSecurityContext |
addSubContext, doesSubContextExist, getAdditionalDescriptor, getOpaqueCredentialsInstance, getPrincipal, getPrincipalInstance, getSubContext, getSubContextNames, getSubContexts, isAuthenticated |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jasig.portal.security.ISecurityContext |
addSubContext, getAdditionalDescriptor, getOpaqueCredentialsInstance, getPrincipal, getPrincipalInstance, getSubContext, getSubContextNames, getSubContexts, isAuthenticated |
Method Detail |
public int getAuthType()
getAuthType
in interface ISecurityContext
getAuthType
in class SimpleLdapSecurityContext
public void authenticate() throws PortalSecurityException
authenticate
in interface ISecurityContext
authenticate
in class SimpleLdapSecurityContext
PortalSecurityException
public IOpaqueCredentials getOpaqueCredentials()
getOpaqueCredentials
in interface ISecurityContext
getOpaqueCredentials
in class ChainingSecurityContext
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |