public class PrimaryAttributePortletPreAuthenticatedAuthenticationDetailsSource
extends org.jasig.springframework.security.portlet.authentication.PortletPreAuthenticatedAuthenticationDetailsSource
setPrimaryUserAttributesPreference(String).
If multiple attribute names are specified in the preference they are checked in order and the first
value returned is used.
If no attribute is found an AccessDeniedException is thrown| Constructor and Description |
|---|
PrimaryAttributePortletPreAuthenticatedAuthenticationDetailsSource() |
| Modifier and Type | Method and Description |
|---|---|
org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails |
buildDetails(javax.portlet.PortletRequest context) |
String |
getPrimaryUserAttribute(javax.portlet.PortletRequest request)
Get the user's primary attribute.
|
void |
setPrimaryUserAttributesPreference(String primaryUserAttributesPreference)
Portlet preference to get the USER_INFO attribute names from.
|
public PrimaryAttributePortletPreAuthenticatedAuthenticationDetailsSource()
public void setPrimaryUserAttributesPreference(String primaryUserAttributesPreference)
primaryUserAttributesPreference - Portlet preference to get the USER_INFO attribute names frompublic org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails buildDetails(javax.portlet.PortletRequest context)
buildDetails in interface org.springframework.security.authentication.AuthenticationDetailsSource<javax.portlet.PortletRequest,org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails>buildDetails in class org.jasig.springframework.security.portlet.authentication.PortletPreAuthenticatedAuthenticationDetailsSourcepublic final String getPrimaryUserAttribute(javax.portlet.PortletRequest request)
request - Portlet RequestCopyright © 2015 Jasig. All Rights Reserved.