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.
By implementing the
org.jasig.portal.security.IConfigurableSecurityContext interface this context may have properties set on it. The one property
the SimpleLdapSecurityContext looks for is defined by
the String
SimpleLdapSecurityContext.LDAP_PROPERTIES_CONNECTION_NAME "connection".
This property allows a specific, named, LDAP connection to be used by
the context. If no "connection" property is specified the default
LDAP connection returned by
org.jasig.portal.ldap.LdapServices is
used.
author: Russell Tokuyama (University of Hawaii) version: $Revision: 35504 $ |