Package net.shibboleth.idp.attribute
Class IdPRequestedAttribute
java.lang.Object
net.shibboleth.idp.attribute.IdPAttribute
net.shibboleth.idp.attribute.IdPRequestedAttribute
- All Implemented Interfaces:
Cloneable,Comparable<IdPAttribute>
IdP representation of
RequestedAttribute.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs this attribute marked as required?voidsetRequired(boolean required) Set whether this attribute is to be marked as required.Methods inherited from class net.shibboleth.idp.attribute.IdPAttribute
clone, compareTo, contains, equals, getId, getValues, hashCode, isDeprecatedId, isInvalidId, setValues, toString
-
Field Details
-
isRequired
private boolean isRequiredIs this attribute required.
-
-
Constructor Details
-
IdPRequestedAttribute
Constructor.- Parameters:
attributeId- the id
-
-
Method Details
-
isRequired
public boolean isRequired()Is this attribute marked as required?- Returns:
- the isRequired flag
- Since:
- 4.0.0
-
setRequired
public void setRequired(boolean required) Set whether this attribute is to be marked as required.- Parameters:
required- The flag to set.
-