Class EvaluableProtocolRoleDescriptorCriterion
- java.lang.Object
-
- org.opensaml.saml.metadata.criteria.role.impl.EvaluableProtocolRoleDescriptorCriterion
-
- All Implemented Interfaces:
Predicate<org.opensaml.saml.saml2.metadata.RoleDescriptor>,net.shibboleth.utilities.java.support.resolver.Criterion,org.opensaml.saml.metadata.criteria.role.EvaluableRoleDescriptorCriterion
public class EvaluableProtocolRoleDescriptorCriterion extends Object implements org.opensaml.saml.metadata.criteria.role.EvaluableRoleDescriptorCriterion
Implementation ofEvaluableRoleDescriptorCriterionwhich evaluates that a role descriptor supports a certain protocol.
-
-
Constructor Summary
Constructors Constructor Description EvaluableProtocolRoleDescriptorCriterion(String roleProtocol)Constructor.EvaluableProtocolRoleDescriptorCriterion(org.opensaml.saml.criterion.ProtocolCriterion criterion)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)inthashCode()booleantest(org.opensaml.saml.saml2.metadata.RoleDescriptor input)StringtoString()
-
-
-
Field Detail
-
protocol
@Nonnull @NotEmpty private String protocol
The SAML URI protocol being evaluated.
-
-
Constructor Detail
-
EvaluableProtocolRoleDescriptorCriterion
public EvaluableProtocolRoleDescriptorCriterion(@Nonnull org.opensaml.saml.criterion.ProtocolCriterion criterion)Constructor.- Parameters:
criterion- the protocol criterion
-
EvaluableProtocolRoleDescriptorCriterion
public EvaluableProtocolRoleDescriptorCriterion(@Nonnull String roleProtocol)Constructor.- Parameters:
roleProtocol- the protocol
-
-