es.rediris.papi.jaas
Class PAPIPrincipal

java.lang.Object
  extended by es.rediris.papi.jaas.PAPIPrincipal
All Implemented Interfaces:
Serializable, Principal

public class PAPIPrincipal
extends Object
implements Principal, Serializable

See Also:
Serialized Form

Constructor Summary
PAPIPrincipal(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getAttribute()
           
 String getName()
           
 String[] getValues()
           
 int hashCode()
           
 void setValues(String[] values)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PAPIPrincipal

public PAPIPrincipal(String name)
Method Detail

getName

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

equals

public boolean equals(Object o)
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

getAttribute

public String getAttribute()
Returns:
Returns the attribute.

getValues

public String[] getValues()
Returns:
Returns the values.

setValues

public void setValues(String[] values)
Parameters:
values - The values to set.