public class WebSpherePreAuthenticatedWebAuthenticationDetailsSource extends Object implements org.springframework.security.authentication.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) |
void |
setWebSphereGroups2GrantedAuthoritiesMapper(org.springframework.security.core.authority.mapping.Attributes2GrantedAuthoritiesMapper mapper) |
public WebSpherePreAuthenticatedWebAuthenticationDetailsSource()
public WebSpherePreAuthenticatedWebAuthenticationDetailsSource(org.springframework.security.web.authentication.preauth.websphere.WASUsernameAndGroupsExtractor wasHelper)
public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails buildDetails(javax.servlet.http.HttpServletRequest context)
buildDetails
in interface org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails>
public void setWebSphereGroups2GrantedAuthoritiesMapper(org.springframework.security.core.authority.mapping.Attributes2GrantedAuthoritiesMapper mapper)
mapper
- The Attributes2GrantedAuthoritiesMapper to use for converting the WAS groups to authorities