es.rediris.papi.jaas
Class PAPIPrincipal
java.lang.Object
es.rediris.papi.jaas.PAPIPrincipal
- All Implemented Interfaces:
- Serializable, Principal
public class PAPIPrincipal
- extends Object
- implements Principal, Serializable
- See Also:
- Serialized Form
PAPIPrincipal
public PAPIPrincipal(String name)
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.