public class DefaultReverseProxyAuthenticator extends Object implements ReverseProxyAuthenticator, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.support.MessageSourceAccessor |
messages |
| Constructor and Description |
|---|
DefaultReverseProxyAuthenticator(String username,
org.acegisecurity.GrantedAuthority[] authorities) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
ReverseProxyUserDetails |
authenticate(String username,
String password)
Authenticates as a user and obtains additional user information from the directory.
|
void |
setMessageSource(org.springframework.context.MessageSource messageSource) |
public DefaultReverseProxyAuthenticator(String username, @CheckForNull org.acegisecurity.GrantedAuthority[] authorities)
public void setMessageSource(@Nonnull org.springframework.context.MessageSource messageSource)
setMessageSource in interface org.springframework.context.MessageSourceAwarepublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic ReverseProxyUserDetails authenticate(String username, String password) throws org.springframework.dao.DataAccessException
ReverseProxyAuthenticatorauthenticate in interface ReverseProxyAuthenticatorusername - the user's login name (not their DN).password - the user's password supplied at login.org.springframework.dao.DataAccessExceptionCopyright © 2016–2018. All rights reserved.