Class SsaContextBuilder


  • @Named
    public class SsaContextBuilder
    extends java.lang.Object
    Provides builder methods for SSA
    • Constructor Detail

      • SsaContextBuilder

        public SsaContextBuilder()
    • Method Detail

      • buildModifySsaResponseContext

        @Deprecated
        public ModifySsaResponseContext buildModifySsaResponseContext​(jakarta.servlet.http.HttpServletRequest httpRequest,
                                                                      AuthorizationGrant grant,
                                                                      io.jans.as.common.model.registration.Client client,
                                                                      io.jans.as.model.configuration.AppConfiguration appConfiguration,
                                                                      io.jans.as.common.service.AttributeService attributeService)
        Deprecated.
        ModifySsaResponseContext instance for use in the SSA custom script call.

        Method was created with the purpose of passing unit tests, since when instantiating ModifySsaResponseContext it internally call CdiUtil and cannot be mocked

        Parameters:
        httpRequest - Http request
        grant - Grant type
        client - Client
        appConfiguration - App configuration
        attributeService - Attribute service
        Returns:
        New instance of ModifySsaResponseContext