org.jasig.portal.security.provider
Class CacheLdapSecurityContext
java.lang.Object
org.jasig.portal.security.provider.ChainingSecurityContext
org.jasig.portal.security.provider.SimpleLdapSecurityContext
org.jasig.portal.security.provider.CacheLdapSecurityContext
- All Implemented Interfaces:
- Serializable, IConfigurableSecurityContext, ISecurityContext
Deprecated. As of uPortal 2.1.3, use SimpleLdapSecurityContext chained with CacheSecurityContext instead
public class CacheLdapSecurityContext
- extends SimpleLdapSecurityContext
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.
- Version:
- $Revision: 19776 $
- Author:
- Russell Tokuyama (University of Hawaii), Ken Weiner, kweiner@unicon.net
- See Also:
- Serialized Form
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAuthType
public int getAuthType()
- Deprecated.
- Returns the type of authentication this class provides.
- Specified by:
getAuthType in interface ISecurityContext- Overrides:
getAuthType in class SimpleLdapSecurityContext
- Returns:
- authorization type
authenticate
public void authenticate()
throws PortalSecurityException
- Deprecated.
- Authenticates the user.
- Specified by:
authenticate in interface ISecurityContext- Overrides:
authenticate in class SimpleLdapSecurityContext
- Throws:
PortalSecurityException- See Also:
ISecurityContext.getPrincipalInstance(),
ISecurityContext.getOpaqueCredentialsInstance()
getOpaqueCredentials
public IOpaqueCredentials getOpaqueCredentials()
- Deprecated.
- We need to override this method in order to return a class that implements
the NotSoOpaqueCredentals interface.
- Specified by:
getOpaqueCredentials in interface ISecurityContext- Overrides:
getOpaqueCredentials in class ChainingSecurityContext
- Returns:
- The currently authenticated credentials object.
- See Also:
IOpaqueCredentials
Copyright © 2010 Jasig. All Rights Reserved.