Class LogoutHintActivationCondition

java.lang.Object
net.shibboleth.sp.oidc.profile.context.logic.LogoutHintActivationCondition
All Implemented Interfaces:
Predicate<org.opensaml.messaging.context.MessageContext>

public class LogoutHintActivationCondition extends Object implements Predicate<org.opensaml.messaging.context.MessageContext>
Activation condition which returns true only if the id_token_hint parameter has not been set.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.slf4j.Logger
    Logger.
    private final Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.core.OIDCLogoutRequest>
    Strategy used to locate the OIDCLogoutRequest.
  • Constructor Summary

    Constructors
    Constructor
    Description
    LogoutHintActivationCondition(Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.core.OIDCLogoutRequest> strategy)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(org.opensaml.messaging.context.MessageContext mc)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Logger.
    • logoutRequestLookupStrategy

      @NonnullAfterInit private final Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.core.OIDCLogoutRequest> logoutRequestLookupStrategy
      Strategy used to locate the OIDCLogoutRequest.
  • Constructor Details

    • LogoutHintActivationCondition

      public LogoutHintActivationCondition(@Nonnull @ParameterName(name="logoutRequestLookupStrategy") Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.core.OIDCLogoutRequest> strategy)
      Constructor.
      Parameters:
      strategy - the logout request lookup strategy
  • Method Details

    • test

      public boolean test(org.opensaml.messaging.context.MessageContext mc)
      Specified by:
      test in interface Predicate<org.opensaml.messaging.context.MessageContext>