public class

WebSpherePreAuthenticatedAuthenticationDetailsSource

extends AuthenticationDetailsSourceImpl
implements InitializingBean
java.lang.Object
   ↳ org.springframework.security.authentication.AuthenticationDetailsSourceImpl
     ↳ org.springframework.security.web.authentication.preauth.websphere.WebSpherePreAuthenticatedAuthenticationDetailsSource

Class Overview

This AuthenticationDetailsSource implementation, when configured with a MutableGrantedAuthoritiesContainer, will set the pre-authenticated granted authorities based on the WebSphere groups for the current WebSphere user, mapped using the configured Attributes2GrantedAuthoritiesMapper. By default, this class is configured to build instances of the PreAuthenticatedGrantedAuthoritiesAuthenticationDetails class.

Summary

Public Constructors
WebSpherePreAuthenticatedAuthenticationDetailsSource()
Public constructor which overrides the default AuthenticationDetails class to be used.
Public Methods
void afterPropertiesSet()
Check that all required properties have been set.
Object buildDetails(Object context)
Build the authentication details object.
void setWebSphereGroups2GrantedAuthoritiesMapper(Attributes2GrantedAuthoritiesMapper mapper)
[Expand]
Inherited Methods
From class org.springframework.security.authentication.AuthenticationDetailsSourceImpl
From class java.lang.Object
From interface org.springframework.beans.factory.InitializingBean
From interface org.springframework.security.authentication.AuthenticationDetailsSource

Public Constructors

public WebSpherePreAuthenticatedAuthenticationDetailsSource ()

Public constructor which overrides the default AuthenticationDetails class to be used.

Public Methods

public void afterPropertiesSet ()

Check that all required properties have been set.

Throws
Exception

public Object buildDetails (Object context)

Build the authentication details object. If the specified authentication details class implements the PreAuthenticatedGrantedAuthoritiesSetter, a list of pre-authenticated Granted Authorities will be set based on the WebSphere groups for the current user.

public void setWebSphereGroups2GrantedAuthoritiesMapper (Attributes2GrantedAuthoritiesMapper mapper)

Parameters
mapper The Attributes2GrantedAuthoritiesMapper to use