public boolean requestCredentials()

in src/main/java/org/apache/sling/auth/saml2/impl/AuthenticationHandlerSAML2Impl.java [281:296]


    public boolean requestCredentials(final HttpServletRequest httpServletRequest,
                                      final HttpServletResponse httpServletResponse) throws IOException {
        // 0. ignore this handler if an authentication handler is requested
        if (ignoreRequestCredentials(httpServletRequest)) {
            // consider this handler is not used
            return false;
        }

        if (this.getSaml2SPEnabled() ) {
            doClassloading();
            setGotoURLOnSession(httpServletRequest);
            redirectUserForAuthentication(httpServletRequest, httpServletResponse);
            return true;
        }
        return false;
    }