Interface SingleSignOnParticipationStrategy

  • All Superinterfaces:
    org.springframework.core.Ordered
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface SingleSignOnParticipationStrategy
    extends org.springframework.core.Ordered
    Since:
    5.2.0
    • Method Detail

      • isParticipating

        boolean isParticipating​(org.springframework.webflow.execution.RequestContext context)
        Tries to determine if this request should participate in SSO. Services can opt out of SSO conditionally either per policy or per request parameters. Various internal processes in CAS also try to determine whether SSO should be honored for this request.
        Parameters:
        context - the request
        Returns:
        true if authn is renewed
      • supports

        default boolean supports​(org.springframework.webflow.execution.RequestContext context)
        Does strategy support this request or not?
        Parameters:
        context - the context
        Returns:
        the boolean
      • getOrder

        default int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • isCreateCookieOnRenewedAuthentication

        default boolean isCreateCookieOnRenewedAuthentication​(org.springframework.webflow.execution.RequestContext context)
        Is creating single sign on session cookie on renewed authentication?
        Parameters:
        context - the context
        Returns:
        the boolean
      • alwaysParticipating

        static SingleSignOnParticipationStrategy alwaysParticipating()
        Always participating single sign on participation strategy.
        Returns:
        the single sign on participation strategy
      • neverParticipating

        static SingleSignOnParticipationStrategy neverParticipating()
        Never participating single sign on participation strategy.
        Returns:
        the single sign on participation strategy