org.fcrepo.server.security.servletfilters
Class Principal

java.lang.Object
  extended by org.fcrepo.server.security.servletfilters.Principal
All Implemented Interfaces:
Principal

public class Principal
extends Object
implements Principal

Author:
Bill Niebel

Constructor Summary
Principal(String name)
           
 
Method Summary
 boolean equals(Object another)
           
 String getName()
           
 String[] getRoles()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Principal

public Principal(String name)
Method Detail

getName

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

toString

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

hashCode

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

equals

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

getRoles

public String[] getRoles()


Copyright © 2011 DuraSpace. All Rights Reserved.