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