I am trying to do a plugin for SSO authentication for Confluence Server. We have used DefaultAuthenticator to logging the user in. This currently works on different versions of Confluence 5.x but does not work on version 5.3.x (like 5.3.0 and 5.3.4) .
Expected Parameters in response header X-AUSERNAME:admin X-Confluence-Request-Time:XXX X-Content-Type-Options:nosniff X-Seraph-LoginReason:OKActual
X-Confluence-Request-Time:XXX X-Content-Type-Options:nosniff X-XSS-Protection:1; mode=blockFrom the different log file the observed difference was -
DEBUG [atlassian.seraph.auth.DefaultAuthenticator] getUserFromSession getUserFromSession : Session found; "<USERNAME>" is present
[confluence.security.seraph.ConfluenceAuthenticatorUtils] asConfluenceUserPrincipal Principal (name="<USERNAME>", class=class com.atlassian.confluence.user.ConfluenceUserImpl$$EnhancerByCGLIB$$d538ed74 is not an instance of ConfluenceUserPrincipal and cannot be used for authentication
[atlassian.seraph.auth.DefaultAuthenticator] getUser getUser : User not found in either Session, Cookie or Basic Auth.
DEBUG [atlassian.seraph.filter.SecurityFilter] doFilter doFilter : Storing the originally requested URL (atlassian.core.seraph.original.url=/login.action?os_destination=%2Findex.action)
DEBUG [atlassian.seraph.filter.SecurityFilter] doFilter doFilter : requiredRoles = []
DEBUG [atlassian.plugin.servlet.PluginHttpSessionWrapper] getAttribute getAttribute('seraph_defaultauthenticator_logged_out_user') Popping ClassLoader: null .New ContextClassLoader: WebappClassLoader
context:
delegate: false
Hi,
Me too facing same issue for Confluence 5.3.4 and 5.3.0.
Quick response will be very helpful.
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.