Class MockAuthenticationProfileConfiguration

    • Field Detail

      • defaultAuthenticationMethods

        @Nonnull
        @NonnullElements
        private List<Principal> defaultAuthenticationMethods
        Selects, and limits, the authentication methods to use for requests.
      • authenticationFlows

        @Nonnull
        @NonnullElements
        private Set<String> authenticationFlows
        Filters the usable authentication flows.
      • postAuthenticationFlows

        @Nonnull
        @NonnullElements
        private List<String> postAuthenticationFlows
        Enables post-authentication interceptor flows.
      • nameIDFormatPrecedence

        @Nonnull
        @NonnullElements
        private List<String> nameIDFormatPrecedence
        Precedence of name identifier formats to use for requests.
      • proxyCount

        @Nonnull
        private Integer proxyCount
        Proxy count.
    • Method Detail

      • setDefaultAuthenticationMethods

        public void setDefaultAuthenticationMethods​(@Nonnull @NonnullElements
                                                    List<Principal> methods)
        Set the default authentication methods to use, expressed as custom principals.
        Parameters:
        methods - default authentication methods to use
      • setNameIDFormatPrecedence

        public void setNameIDFormatPrecedence​(@Nonnull @NonnullElements
                                              List<String> formats)
        Set the name identifier formats to use.
        Parameters:
        formats - name identifier formats to use
      • setAuthenticationFlows

        public void setAuthenticationFlows​(@Nonnull @NonnullElements
                                           Collection<String> flows)
        Set the authentication flows to use.
        Parameters:
        flows - flow identifiers to use
      • setPostAuthenticationFlows

        public void setPostAuthenticationFlows​(@Nonnull @NonnullElements
                                               Collection<String> flows)
        Set the ordered collection of post-authentication interceptor flows to enable.
        Parameters:
        flows - flow identifiers to enable
      • isForceAuthn

        public boolean isForceAuthn​(ProfileRequestContext profileRequestContext)
        Specified by:
        isForceAuthn in interface net.shibboleth.idp.authn.config.AuthenticationProfileConfiguration
      • getProxyCount

        @Nullable
        @NonNegative
        public Integer getProxyCount​(@Nullable
                                     ProfileRequestContext profileRequestContext)
        Specified by:
        getProxyCount in interface net.shibboleth.idp.authn.config.AuthenticationProfileConfiguration
      • setProxyCount

        public void setProxyCount​(@Nullable @NonNegative
                                  Integer count)
        Set proxy count.
        Parameters:
        count - the count