public boolean requestCredentials()

in src/main/java/org/apache/sling/auth/xing/login/impl/XingLoginAuthenticationHandler.java [214:222]


    public boolean requestCredentials(final HttpServletRequest request, final HttpServletResponse response) throws IOException {
        logger.debug("request credentials");
        if (!loginPath.equals(request.getServletPath())) {
            final String target = request.getContextPath().concat(loginPath);
            logger.debug("redirecting to '{}'", target);
            AuthUtil.sendRedirect(request, response, target, null);
        }
        return true;
    }