Class TargetingAuthenticationProvider
java.lang.Object
org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider
org.craftercms.engine.util.spring.security.targeting.TargetingAuthenticationProvider
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.core.Ordered
,org.springframework.security.authentication.AuthenticationProvider
public class TargetingAuthenticationProvider
extends org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider
Extension of
PreAuthenticatedAuthenticationProvider
for Studio targeting- Since:
- 3.1.9
- Author:
- joseross
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
authenticate
(org.springframework.security.core.Authentication authentication) Methods inherited from class org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider
afterPropertiesSet, getOrder, setOrder, setPreAuthenticatedUserDetailsService, setThrowExceptionWhenTokenRejected, setUserDetailsChecker, supports
-
Constructor Details
-
TargetingAuthenticationProvider
public TargetingAuthenticationProvider()
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Overrides:
authenticate
in classorg.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-