org.springframework.security.ui.portlet
Class PortletPreAuthenticatedAuthenticationDetailsSource
java.lang.Object
org.springframework.security.ui.AuthenticationDetailsSourceImpl
org.springframework.security.ui.preauth.j2ee.AbstractPreAuthenticatedAuthenticationDetailsSource
org.springframework.security.ui.portlet.PortletPreAuthenticatedAuthenticationDetailsSource
- All Implemented Interfaces:
- AuthenticationDetailsSource
public class PortletPreAuthenticatedAuthenticationDetailsSource
- extends AbstractPreAuthenticatedAuthenticationDetailsSource
Method Summary |
protected String[] |
getUserRoles(Object context,
String[] mappableRoles)
Allows the roles of the current user to be determined from the context object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletPreAuthenticatedAuthenticationDetailsSource
public PortletPreAuthenticatedAuthenticationDetailsSource()
getUserRoles
protected String[] getUserRoles(Object context,
String[] mappableRoles)
- Description copied from class:
AbstractPreAuthenticatedAuthenticationDetailsSource
- Allows the roles of the current user to be determined from the context object
- Specified by:
getUserRoles
in class AbstractPreAuthenticatedAuthenticationDetailsSource
- Parameters:
context
- the context object (an HttpRequest, PortletRequest etc)mappableRoles
- the possible roles as determined by the MappableAttributesRetriever
- Returns:
- the subset of mappable roles which the current user has.
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.