Time for action — changing key values in security.xml
This is a simple process, you just need to change four key values in the security.xml
file, inside Roller's WEB-INF
folder.
Open a Terminal window and type
sudo gedit /usr/local/tomcat/webapps/ roller/WEB-INF/security.xml
to open thesecurity.xml
file with the text editor:Scroll down through the file until you locate the following lines:
<bean id="anonymousAuthenticationProvider" class="org.acegisecurity.providers.anonymous. AnonymousAuthenticationProvider"> <property name="key" value="anonymous"/> </bean>
Replace the value in bold text (anonymous) with any other value of your choice. Use only letters and numbers.
Now locate the following lines:
<bean id="anonymousProcessingFilter" class="org.acegisecurity.providers.anonymous. AnonymousProcessingFilter"> <property name="key" value="anonymous"/> </bean>
Replace the value in bold text (anonymous) with the same exact value you used in step 3. These two values...