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, setUserRoles2GrantedAuthoritiesMappersetClazzpublic PortletPreAuthenticatedAuthenticationDetailsSource()
protected java.lang.String[] getUserRoles(java.lang.Object context,
java.lang.String[] mappableRoles)
AbstractPreAuthenticatedAuthenticationDetailsSourcegetUserRoles in class AbstractPreAuthenticatedAuthenticationDetailsSourcecontext - the context object (an HttpRequest, PortletRequest etc)mappableRoles - the possible roles as determined by the MappableAttributesRetriever