puppet-alfresco
puppet-alfresco copied to clipboard
set the default theme on a freshly installed honeycomb
need to set the default theme, have tried using the below, positioned in the beeTheme amp, from root.
/config/alfresco/web-extension/share-config-custom.xml http://pastebin.com/UynHVKge
Adding notes from IRC chat
<marsbard> https://forums.alfresco.com/forum/developer-discussions/development-environment/change-share-logout-url-08062013-1357 this could help with getting the logout to redirect back to "/"
<marsbard> ah no forget that
<marsbard> it calls /dologout, that's what we need to override
<marsbard> or at least carry out the same func
<marsbard> probably invalidating ALF_TICKET would do
<digcat> yeah think thats the issue im seeing with my tests, in that the old logout url no longer works
<marsbard> well here's the bean for the logoutController from WEB-INF/classes/alfresco/slingshot-application-context.xml:
<marsbard> 113 <!-- Override Logout Controller - to expire Alfresco tickets -->
<marsbard> 114 <bean id="logoutController" class="org.alfresco.web.site.servlet.SlingshotLogoutController">
<marsbard> 115 <property name="cacheSeconds" value="-1" />
<marsbard> 116 <property name="useExpiresHeader"><value>true</value></property>
<marsbard> 117 <property name="useCacheControlHeader"><value>true</value></property>
<marsbard> 118 <property name="connectorService" ref="connector.service" />
<marsbard> 119 <property name="supportedMethods">
<marsbard> 120 <list>
<marsbard> 121 <value>HEAD</value>
<marsbard> 122 <value>POST</value>
<marsbard> 123 <value>OPTIONS</value>
<marsbard> 124 </list>
<marsbard> 125 </property>
<marsbard> 126 </bean>
<marsbard> probably not the work of an evening to override that unfortunately
<digcat> yep, seems a little excessive to end a session
<marsbard> hehe :-)
<marsbard> just looking at the source to see if there's any config to pass in for redirect location :-)
<marsbard> nah, it extends this but nothing useful there https://maven.alfresco.com/nexus/content/groups/public/spring-surf-parent/apidocs/org/springframework/extensions/surf/mvc/LogoutController.html
<marsbard> some other detail here http://tech.wrighting.org/2011/11/share-cas-logout/
<marsbard> overriding dologout to implement 'single sign out'