nl.surfnet.mujina.spring
Class User

java.lang.Object
  extended by nl.surfnet.mujina.spring.User
All Implemented Interfaces:
Serializable, Principal

public class User
extends Object
implements Principal, Serializable

See Also:
Serialized Form

Constructor Summary
User(String name, String authenticationResponseIssuingEntityName, String authenticationAssertionIssuingEntityName, String authenticationResponseID, String authenticationAssertionID, org.joda.time.DateTime authenticationResponseIssueInstant, org.joda.time.DateTime authenticationAssertionIssueInstant, org.joda.time.DateTime authenticationIssueInstant, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
           
 
Method Summary
 boolean equals(Object obj)
          Returns true if this object's name is equal to the name of the passed in arg.
 String getAuthenticationAssertionID()
           
 org.joda.time.DateTime getAuthenticationAssertionIssueInstant()
           
 String getAuthenticationAssertionIssuingEntityName()
           
 org.joda.time.DateTime getAuthenticationIssueInstant()
           
 String getAuthenticationResponseID()
           
 org.joda.time.DateTime getAuthenticationResponseIssueInstant()
           
 String getAuthenticationResponseIssuingEntityName()
           
 Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User(String name,
            String authenticationResponseIssuingEntityName,
            String authenticationAssertionIssuingEntityName,
            String authenticationResponseID,
            String authenticationAssertionID,
            org.joda.time.DateTime authenticationResponseIssueInstant,
            org.joda.time.DateTime authenticationAssertionIssueInstant,
            org.joda.time.DateTime authenticationIssueInstant,
            Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
Method Detail

getAuthenticationResponseIssuingEntityName

public String getAuthenticationResponseIssuingEntityName()

getAuthenticationAssertionIssuingEntityName

public String getAuthenticationAssertionIssuingEntityName()

getAuthenticationResponseIssueInstant

public org.joda.time.DateTime getAuthenticationResponseIssueInstant()

getAuthenticationAssertionIssueInstant

public org.joda.time.DateTime getAuthenticationAssertionIssueInstant()

getAuthenticationIssueInstant

public org.joda.time.DateTime getAuthenticationIssueInstant()

getAuthenticationResponseID

public String getAuthenticationResponseID()

getAuthenticationAssertionID

public String getAuthenticationAssertionID()

getAuthorities

public Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()

getName

public String getName()
Specified by:
getName in interface Principal

equals

public boolean equals(Object obj)
Returns true if this object's name is equal to the name of the passed in arg.

Specified by:
equals in interface Principal
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.