org.jasig.springframework.security.portlet.authentication
Class PrimaryAttributePortletAuthenticationDetails

java.lang.Object
  extended by org.jasig.springframework.security.portlet.authentication.PortletAuthenticationDetails
      extended by org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails
          extended by org.jasig.springframework.security.portlet.authentication.PrimaryAttributePortletAuthenticationDetails
All Implemented Interfaces:
Serializable, org.springframework.security.core.authority.GrantedAuthoritiesContainer

public class PrimaryAttributePortletAuthenticationDetails
extends org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails

Extends the portlet pre-auth details to include a primaryAttribute value.

Author:
Eric Dalquist
See Also:
Serialized Form

Constructor Summary
PrimaryAttributePortletAuthenticationDetails(javax.portlet.PortletRequest request, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String primaryAttribute)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getPrimaryAttribute()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails
getGrantedAuthorities
 
Methods inherited from class org.jasig.springframework.security.portlet.authentication.PortletAuthenticationDetails
getRemoteAddress, getSessionId, getUserInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrimaryAttributePortletAuthenticationDetails

public PrimaryAttributePortletAuthenticationDetails(javax.portlet.PortletRequest request,
                                                    Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
                                                    String primaryAttribute)
Method Detail

getPrimaryAttribute

public String getPrimaryAttribute()

hashCode

public int hashCode()
Overrides:
hashCode in class org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails

equals

public boolean equals(Object obj)
Overrides:
equals in class org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails

toString

public String toString()
Overrides:
toString in class org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails


Copyright © 2013 Jasig. All Rights Reserved.