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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.authentication.WebAuthenticationDetails
buildDetails
(javax.servlet.http.HttpServletRequest context)
-
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 interfaceorg.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,
org.springframework.security.web.authentication.WebAuthenticationDetails> - Overrides:
buildDetails
in classorg.springframework.security.web.authentication.WebAuthenticationDetailsSource
-