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 anIdPAttribute.
-
-
Field Summary
Fields Modifier and Type Field Description private IdPAttributeattributeThe wrapped attribute.
-
Constructor Summary
Constructors Constructor Description IdPAttributePrincipal(IdPAttribute attr)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)IdPAttributegetAttribute()Get theIdPAttribute.StringgetName()inthashCode()StringtoString()
-
-
-
Field Detail
-
attribute
@Nonnull private IdPAttribute attribute
The wrapped attribute.
-
-
Constructor Detail
-
IdPAttributePrincipal
public IdPAttributePrincipal(@Nonnull @ParameterName(name="attr") IdPAttribute attr)
Constructor.- Parameters:
attr- the attribute
-
-
Method Detail
-
getAttribute
@Nonnull public IdPAttribute getAttribute()
Get theIdPAttribute.- Returns:
- the attribute
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
-