Package org.opensaml.saml.criterion
Class EntityRoleCriterion
- java.lang.Object
-
- org.opensaml.saml.criterion.EntityRoleCriterion
-
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.resolver.Criterion
public final class EntityRoleCriterion extends Object implements net.shibboleth.utilities.java.support.resolver.Criterion
Criterion
representing an entity role.
-
-
Constructor Summary
Constructors Constructor Description EntityRoleCriterion(QName samlRole)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
QName
getRole()
Gets the entity role.int
hashCode()
String
toString()
-
-
-
Field Detail
-
role
@Nonnull private final QName role
The entity role.
-
-
Constructor Detail
-
EntityRoleCriterion
public EntityRoleCriterion(@Nonnull QName samlRole)
Constructor.- Parameters:
samlRole
- the entity role
-
-
Method Detail
-
getRole
@Nonnull public QName getRole()
Gets the entity role.- Returns:
- the entity role
-
-