Class EvaluableEntityRoleEntityDescriptorCriterion

  • All Implemented Interfaces:
    Predicate<org.opensaml.saml.saml2.metadata.EntityDescriptor>, net.shibboleth.utilities.java.support.resolver.Criterion, org.opensaml.saml.metadata.criteria.entity.EvaluableEntityDescriptorCriterion

    public class EvaluableEntityRoleEntityDescriptorCriterion
    extends Object
    implements org.opensaml.saml.metadata.criteria.entity.EvaluableEntityDescriptorCriterion
    Implementation of EvaluableEntityDescriptorCriterion which evaluates that an entity descriptor contains a certain role.
    • Field Detail

      • role

        private QName role
        Entity role.
    • Constructor Detail

      • EvaluableEntityRoleEntityDescriptorCriterion

        public EvaluableEntityRoleEntityDescriptorCriterion​(org.opensaml.saml.criterion.EntityRoleCriterion criterion)
        Constructor.
        Parameters:
        criterion - the entity role criterion
      • EvaluableEntityRoleEntityDescriptorCriterion

        public EvaluableEntityRoleEntityDescriptorCriterion​(QName entityRole)
        Constructor.
        Parameters:
        entityRole - the entity
    • Method Detail

      • test

        public boolean test​(org.opensaml.saml.saml2.metadata.EntityDescriptor entityDescriptor)
        Specified by:
        test in interface Predicate<org.opensaml.saml.saml2.metadata.EntityDescriptor>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object