Interface OIDCAuthenticationProfileConfiguration

    • Method Detail

      • isUseRequestObject

        boolean isUseRequestObject​(@Nullable
                                   ProfileRequestContext profileRequestContext)
        Should OpenID specific authentication request parameters should be passed in a single, self contained, JWT?
        Parameters:
        profileRequestContext - the profile request context
        Returns:
        whether authentication request parameters should be passed in a single, self contained, JWT
      • getAuthenticationMethodsReferencesTranslationStrategy

        @Nullable
        Function<Collection<String>,​Collection<Principal>> getAuthenticationMethodsReferencesTranslationStrategy​(@Nullable
                                                                                                                       ProfileRequestContext prc)
        Get the function used to translate AMRs in the id_token into an appropriate set of custom Principal objects to populate into the subject.
        Parameters:
        prc - current profile request context
        Returns:
        translation function
        Since:
        2.2.0
      • getAuthenticationContextClassReferenceTranslationStrategy

        @Nullable
        Function<Collection<String>,​Collection<Principal>> getAuthenticationContextClassReferenceTranslationStrategy​(@Nullable
                                                                                                                           ProfileRequestContext prc)
        Get the function used to translate ACRs in the id_token into an appropriate set of custom Principal objects to populate into the subject.
        Parameters:
        prc - current profile request context
        Returns:
        translation function
        Since:
        2.2.0
      • getLoginHint

        @Nullable
        @NotEmpty
        String getLoginHint​(@Nullable
                            ProfileRequestContext profileRequestContext)
        Get the login_hint to use.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        the login_hint to use
        Since:
        2.2.0
      • getMaxAuthenticationAge

        @Nullable
        Duration getMaxAuthenticationAge​(@Nullable
                                         ProfileRequestContext profileRequestContext)
        Get the max authentication age.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        max authentication age
        Since:
        2.2.0