Confluence CLI with Confluence HTTP Authenticator in 5.1?

Dan Hawke June 23, 2013

I'm trying to get two add-ons to play nice together:

- Confluence HTTP Authenticator (working fine for normal users and authenticating against Shibboleth)

- Confluence CLI

These worked fine together back on 4.0.3, but I just upgraded to 5.1.3, and now when I use the Space Export command, however, I get a stack trace in my atlassian-confluence.log:

java.lang.StackOverflowError
        at net.sf.hibernate.impl.SessionImpl.<init>(SessionImpl.java:543)
        at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:314)
        at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:327)
        at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:335)
        at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:412)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at sun.proxy.$Proxy43.requiresElevatedSecurityCheck(Unknown Source)
        at com.atlassian.confluence.security.seraph.ConfluenceElevatedSecurityGuard.performElevatedSecurityCheck(ConfluenceElevatedSecurityGuard.java:62)
        at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromBasicAuthentication(DefaultAuthenticator.java:507)
        at shibauth.confluence.authentication.shibboleth.RemoteUserAuthenticator.login(RemoteUserAuthenticator.java:699)
        at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromBasicAuthentication(DefaultAuthenticator.java:525)
        at shibauth.confluence.authentication.shibboleth.RemoteUserAuthenticator.login(RemoteUserAuthenticator.java:699)
        at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromBasicAuthentication(DefaultAuthenticator.java:525)
        at shibauth.confluence.authentication.shibboleth.RemoteUserAuthenticator.login(RemoteUserAuthenticator.java:699)
[...more of the same...]

The client gets a 500 error back.

Any hints as how to get these two to play nice?

1 answer

0 votes
Ryan Goodwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2014

We've created a bug report regarding the information provided here and from the add-on developers report:

https://github.com/chauth/confluence_http_authenticator/issues/9

https://jira.atlassian.com/browse/CONF-32580

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events