public class LDAPAuthenticationComponentImpl extends AbstractAuthenticationComponent implements org.springframework.beans.factory.InitializingBean, ActivateableBean
userNameFormat if set, or calls the LDAPNameResolver otherwise.AuthenticationComponent.UserNameValidationMode| Constructor and Description |
|---|
LDAPAuthenticationComponentImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
authenticateImpl(java.lang.String userName,
char[] password)
Implement the authentication method
|
protected boolean |
implementationAllowsGuestLogin() |
boolean |
isActive()
Determines whether this bean is active.
|
void |
setActive(boolean active) |
void |
setEscapeCommasInBind(boolean escapeCommasInBind) |
void |
setEscapeCommasInUid(boolean escapeCommasInUid) |
void |
setLDAPInitialDirContextFactory(LDAPInitialDirContextFactory ldapInitialDirContextFactory) |
void |
setLdapNameResolver(LDAPNameResolver ldapNameResolver) |
void |
setUserNameFormat(java.lang.String userNameFormat) |
authenticate, clearCurrentSecurityContext, getAllowGuestLogin, getCurrentAuthentication, getCurrentUserName, getDefaultAdministratorUserNames, getDefaultGuestUserNames, getGuestUserName, getGuestUserName, getNodeService, getPersonService, getSystemUserName, getSystemUserName, getTransactionService, getUserDetails, getUserDomain, guestUserAuthenticationAllowed, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, setAllowGuestLogin, setAuthenticationContext, setCurrentAuthentication, setCurrentUser, setCurrentUser, setDefaultAdministratorUserNameList, setDefaultAdministratorUserNames, setDefaultGuestUserNameList, setDefaultGuestUserNames, setGuestUserAsCurrentUser, setNodeService, setPersonService, setSystemUserAsCurrentUser, setSystemUserAsCurrentUser, setTransactionService, setUserDetails, setUserRegistrySynchronizerpublic void setLDAPInitialDirContextFactory(LDAPInitialDirContextFactory ldapInitialDirContextFactory)
public void setUserNameFormat(java.lang.String userNameFormat)
public void setLdapNameResolver(LDAPNameResolver ldapNameResolver)
public void setEscapeCommasInBind(boolean escapeCommasInBind)
public void setEscapeCommasInUid(boolean escapeCommasInUid)
public void setActive(boolean active)
public boolean isActive()
ActivateableBeanisActive in interface ActivateableBeantrue if this bean is activepublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionprotected void authenticateImpl(java.lang.String userName,
char[] password)
throws org.alfresco.repo.security.authentication.AuthenticationException
authenticateImpl in class AbstractAuthenticationComponentorg.alfresco.repo.security.authentication.AuthenticationExceptionprotected boolean implementationAllowsGuestLogin()
implementationAllowsGuestLogin in class AbstractAuthenticationComponentCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.