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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.springframework.security.authentication.AuthenticationProvider
      Overrides:
      authenticate in class org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider
      Throws:
      org.springframework.security.core.AuthenticationException