Interface HttpSecurityTypeBuilder

    • Method Detail

      • setAuthenticationClass

        void setAuthenticationClass​(java.lang.Class<?> authenticationClass)
        Specifies the authentication class.
        Parameters:
        authenticationClass - Class of the authentication.
      • setAccessControlClass

        void setAccessControlClass​(java.lang.Class<?> accessControlClass)
        Specifies the access control class.
        Parameters:
        accessControlClass - Class of the access control.
      • setCredentialsClass

        void setCredentialsClass​(java.lang.Class<?> credentialsClass)

        Specifies the credentials class.

        May be not specified if no application behaviour required to provide credentials.

        Parameters:
        credentialsClass - Class of the credentials.
      • setInput

        void setInput​(boolean isInput)
        Indicates if input.
        Parameters:
        isInput - true if input.
      • addFlow

        void addFlow​(java.lang.Enum<?> key,
                     java.lang.Class<?> argumentType)

        Convenience method to add a HttpSecurityFlowType based on the key.

        Both the name and index are extracted from the key.

        Parameters:
        key - Key identifying the HttpSecurityFlowType.
        argumentType - Type of argument passed to the HttpSecurityFlowType.
      • build

        <A,​AC extends java.io.Serializable,​C,​O extends java.lang.Enum<O>,​F extends java.lang.Enum<F>> HttpSecurityType<A,​AC,​C,​O,​F> build()
        Builds the HttpSecurityType.
        Type Parameters:
        A - Authorization type.
        AC - Access control type.
        C - Credentials type.
        O - Dependency keys.
        F - Flow keys.
        Returns:
        HttpSecurityType.