Class DefaultNameIDPolicyPredicate

  • All Implemented Interfaces:
    Predicate<org.opensaml.profile.context.ProfileRequestContext>, net.shibboleth.utilities.java.support.component.Component, net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.InitializableComponent, net.shibboleth.utilities.java.support.logic.Predicate<org.opensaml.profile.context.ProfileRequestContext>
    Direct Known Subclasses:
    AffiliationNameIDPolicyPredicate

    public class DefaultNameIDPolicyPredicate
    extends AbstractNameIDPolicyPredicate
    Policy that requires that qualifiers, if set, match the requester and responder.
    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
    • Constructor Detail

      • DefaultNameIDPolicyPredicate

        public DefaultNameIDPolicyPredicate()
    • Method Detail

      • doApply

        protected boolean doApply​(@Nullable
                                  String requesterId,
                                  @Nullable
                                  String responderId,
                                  @Nullable
                                  String format,
                                  @Nullable
                                  String nameQualifier,
                                  @Nullable
                                  String spNameQualifier)
        Apply the predicate to the request.
        Specified by:
        doApply in class AbstractNameIDPolicyPredicate
        Parameters:
        requesterId - the requester
        responderId - the responder
        format - format of identifier
        nameQualifier - the NameQualifier
        spNameQualifier - the SPNameQualifier
        Returns:
        true iff the combination of inputs satisfies a policy