...
You should now be able to use federated logins.
Confluence - mobile theme
...
Luckily the logout button can be configured in Confluence, but the configuration file is located inside a Java archive, so it's a little bit of work. You need the jar command to start with:
| Code Block |
|---|
apt-get --no-install-recommends install openjdk-7-jdk |
Then do:
mkdir /tmp/jarcd /tmp/jarjar xf /opt/confluence/confluence/WEB-INF/lib/confluence-5.1.jar
Now tmp should contain the contents of the jar. Edit the file
xwork.xml and change this part:
| Code Block | ||
|---|---|---|
| ||
<action name="logout" class="com.atlassian.confluence.user.actions.LogoutAction">
<interceptor-ref name="defaultStack"/>
<result name="error" type="velocity">/logout.vm</result>
<result name="success" type="redirect">/login.action?logout=true</result>
</action> |
to this:
| Code Block | ||
|---|---|---|
| ||
<action name="logout" class="com.atlassian.confluence.user.actions.LogoutAction">
<interceptor-ref name="defaultStack"/>
<result name="error" type="velocity">/logout.vm</result>
<result name="success" type="redirect">/mellon/logout?ReturnTo=%2Fdashboard.action</result>
</action> |
Now "jar" everything up again and replace the original jar:
| Code Block | ||
|---|---|---|
| ||
cd /tmp/jar
jar cf /opt/confluence/confluence/WEB-INF/lib/confluence-5.1.jar . |
Restart Confluence. You should now also be able to use federated logins on your iPad/etc.