Class DefaultAuthenticationDetailsSource

java.lang.Object
org.springframework.security.web.authentication.WebAuthenticationDetailsSource
org.craftercms.engine.util.spring.security.DefaultAuthenticationDetailsSource
All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,org.springframework.security.web.authentication.WebAuthenticationDetails>

public class DefaultAuthenticationDetailsSource extends org.springframework.security.web.authentication.WebAuthenticationDetailsSource
Extension of WebAuthenticationDetailsSource that always returns instances of PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
Since:
3.1.5
Author:
joseross
  • Constructor Details

    • DefaultAuthenticationDetailsSource

      public DefaultAuthenticationDetailsSource()
  • Method Details

    • buildDetails

      public org.springframework.security.web.authentication.WebAuthenticationDetails buildDetails(javax.servlet.http.HttpServletRequest context)
      Specified by:
      buildDetails in interface org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,org.springframework.security.web.authentication.WebAuthenticationDetails>
      Overrides:
      buildDetails in class org.springframework.security.web.authentication.WebAuthenticationDetailsSource