org.fcrepo.server.security.jaas.auth
Class UserPrincipal

java.lang.Object
  extended by org.fcrepo.server.security.jaas.auth.UserPrincipal
All Implemented Interfaces:
Serializable, Principal

public class UserPrincipal
extends Object
implements Principal, Serializable

Provides a basic userPrincipal implementation.

Author:
nish.naidoo@gmail.com
See Also:
Serialized Form

Constructor Summary
UserPrincipal()
           
UserPrincipal(String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
toString
 

Constructor Detail

UserPrincipal

public UserPrincipal()

UserPrincipal

public UserPrincipal(String name)
Method Detail

getName

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

hashCode

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

equals

public boolean equals(Object obj)
Specified by:
equals in interface Principal
Overrides:
equals in class Object


Copyright © 2012 DuraSpace. All Rights Reserved.