in src/main/java/org/apache/sling/auth/core/impl/engine/EngineAuthenticationHandlerHolder.java [61:80]
public AuthenticationInfo doExtractCredentials(HttpServletRequest request,
HttpServletResponse response) {
org.apache.sling.engine.auth.AuthenticationInfo engineAuthInfo = handler.authenticate(
request, response);
if (engineAuthInfo == null) {
return null;
} else if (engineAuthInfo == org.apache.sling.engine.auth.AuthenticationInfo.DOING_AUTH) {
return AuthenticationInfo.DOING_AUTH;
}
// backwards compatibility support for JCR credentials and workspace
// name now encapsulated in the JCR Resource bundle
AuthenticationInfo info = new AuthenticationInfo(
engineAuthInfo.getAuthType());
info.put("user.jcr.credentials", engineAuthInfo.getCredentials());
info.put("user.jcr.workspace", engineAuthInfo.getWorkspaceName());
return info;
}