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.
Use Windows Explorer to navigate to Roller's
WEB-INF
folder (C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ roller\WEB-INF
), and open thesecurity.xml
file with Notepad, WordPad, or some other 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"/>
Replace the value in bold text (anonymous)...