Class IdPAttributePrincipal
java.lang.Object
net.shibboleth.idp.authn.principal.IdPAttributePrincipal
- All Implemented Interfaces:
Principal
Principal that wraps an
IdPAttribute.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate net.shibboleth.idp.attribute.IdPAttributeThe wrapped attribute. -
Constructor Summary
ConstructorsConstructorDescriptionIdPAttributePrincipal(net.shibboleth.idp.attribute.IdPAttribute attr) Constructor. -
Method Summary
-
Field Details
-
attribute
@Nonnull private net.shibboleth.idp.attribute.IdPAttribute attributeThe wrapped attribute.
-
-
Constructor Details
-
IdPAttributePrincipal
public IdPAttributePrincipal(@Nonnull @ParameterName(name="attr") net.shibboleth.idp.attribute.IdPAttribute attr) Constructor.- Parameters:
attr- the attribute
-
-
Method Details
-
getName
-
getAttribute
@Nonnull public net.shibboleth.idp.attribute.IdPAttribute getAttribute()Get theIdPAttribute.- Returns:
- the attribute
-
hashCode
public int hashCode() -
equals
-
toString
-