org.pac4j.springframework.security.authentication
Class ClientAuthenticationProvider
java.lang.Object
org.pac4j.springframework.security.authentication.ClientAuthenticationProvider
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.security.authentication.AuthenticationProvider
public final class ClientAuthenticationProvider
- extends Object
- implements org.springframework.security.authentication.AuthenticationProvider, org.springframework.beans.factory.InitializingBean
This provider authenticates credentials stored in ( ClientAuthenticationToken
) to get the user profile and finally the user
details (and authorities).
- Since:
- 1.0.0
- Author:
- Jerome Leleu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientAuthenticationProvider
public ClientAuthenticationProvider()
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
- Specified by:
authenticate
in interface org.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
supports
public boolean supports(Class<?> authentication)
- Specified by:
supports
in interface org.springframework.security.authentication.AuthenticationProvider
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
getClients
public org.pac4j.core.client.Clients getClients()
setClients
public void setClients(org.pac4j.core.client.Clients clients)
getUserDetailsService
public org.springframework.security.core.userdetails.AuthenticationUserDetailsService<ClientAuthenticationToken> getUserDetailsService()
setUserDetailsService
public void setUserDetailsService(org.springframework.security.core.userdetails.AuthenticationUserDetailsService<ClientAuthenticationToken> userDetailsService)
getUserDetailsChecker
public org.springframework.security.core.userdetails.UserDetailsChecker getUserDetailsChecker()
setUserDetailsChecker
public void setUserDetailsChecker(org.springframework.security.core.userdetails.UserDetailsChecker userDetailsChecker)
Copyright © 2013. All Rights Reserved.