public class DemoSecurityProvider
extends org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
| Constructor and Description |
|---|
DemoSecurityProvider(com.couchace.core.api.CouchServer couchServer,
java.lang.String databaseName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication) |
protected org.springframework.security.core.userdetails.UserDetails |
retrieveUser(java.lang.String userName,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication) |
afterPropertiesSet, authenticate, createSuccessAuthentication, doAfterPropertiesSet, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setAuthoritiesMapper, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache, supportspublic DemoSecurityProvider(com.couchace.core.api.CouchServer couchServer,
java.lang.String databaseName)
protected void additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)
throws org.springframework.security.core.AuthenticationException
additionalAuthenticationChecks in class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProviderorg.springframework.security.core.AuthenticationExceptionprotected org.springframework.security.core.userdetails.UserDetails retrieveUser(java.lang.String userName,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)
throws org.springframework.security.core.AuthenticationException
retrieveUser in class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProviderorg.springframework.security.core.AuthenticationException