public class PortletPreAuthenticatedAuthenticationDetailsSource extends AbstractPreAuthenticatedAuthenticationDetailsSource
j2eeMappableRoles, j2eeUserRoles2GrantedAuthoritiesMapper, logger
Constructor and Description |
---|
PortletPreAuthenticatedAuthenticationDetailsSource() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
getUserRoles(java.lang.Object context,
java.lang.String[] mappableRoles)
Allows the roles of the current user to be determined from the context object
|
afterPropertiesSet, buildDetails, setMappableRolesRetriever, setUserRoles2GrantedAuthoritiesMapper
setClazz
public PortletPreAuthenticatedAuthenticationDetailsSource()
protected java.lang.String[] getUserRoles(java.lang.Object context, java.lang.String[] mappableRoles)
AbstractPreAuthenticatedAuthenticationDetailsSource
getUserRoles
in class AbstractPreAuthenticatedAuthenticationDetailsSource
context
- the context object (an HttpRequest, PortletRequest etc)mappableRoles
- the possible roles as determined by the MappableAttributesRetriever