Class IdPAttributePrincipal
java.lang.Object
net.shibboleth.idp.authn.principal.IdPAttributePrincipal
- All Implemented Interfaces:
Principal
public class IdPAttributePrincipal extends Object implements Principal
Principal that wraps an
IdPAttribute
.-
Field Summary
Fields Modifier and Type Field Description private IdPAttribute
attribute
The wrapped attribute. -
Constructor Summary
Constructors Constructor Description IdPAttributePrincipal(IdPAttribute attr)
Constructor. -
Method Summary
Modifier and Type Method Description boolean
equals(Object other)
IdPAttribute
getAttribute()
Get theIdPAttribute
.String
getName()
int
hashCode()
String
toString()
-
Field Details
-
attribute
The wrapped attribute.
-
-
Constructor Details
-
IdPAttributePrincipal
Constructor.- Parameters:
attr
- the attribute
-
-
Method Details
-
getName
-
getAttribute
Get theIdPAttribute
.- Returns:
- the attribute
-
hashCode
public int hashCode() -
equals
-
toString
-