public class WebSpherePreAuthenticatedWebAuthenticationDetailsSource extends Object implements AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails>
Constructor and Description |
---|
WebSpherePreAuthenticatedWebAuthenticationDetailsSource() |
WebSpherePreAuthenticatedWebAuthenticationDetailsSource(org.springframework.security.web.authentication.preauth.websphere.WASUsernameAndGroupsExtractor wasHelper) |
Modifier and Type | Method and Description |
---|---|
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails |
buildDetails(javax.servlet.http.HttpServletRequest context)
Called by a class when it wishes a new authentication details instance to be
created.
|
void |
setWebSphereGroups2GrantedAuthoritiesMapper(Attributes2GrantedAuthoritiesMapper mapper) |
public WebSpherePreAuthenticatedWebAuthenticationDetailsSource()
public WebSpherePreAuthenticatedWebAuthenticationDetailsSource(org.springframework.security.web.authentication.preauth.websphere.WASUsernameAndGroupsExtractor wasHelper)
public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails buildDetails(javax.servlet.http.HttpServletRequest context)
AuthenticationDetailsSource
buildDetails
in interface AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails>
context
- the request object, which may be used by the authentication details
objectpublic void setWebSphereGroups2GrantedAuthoritiesMapper(Attributes2GrantedAuthoritiesMapper mapper)
mapper
- The Attributes2GrantedAuthoritiesMapper to use for converting the WAS
groups to authorities