<rdf:RDF
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xml:base='http://wiki.marandcustomsolutions.com/rdf'>
    <s:Snip rdf:about='http://wiki.marandcustomsolutions.com/rdf#iStore+Todo/Manual/Login+stuff'
         s:cUser='mpecher'
         s:oUser=''
         s:mUser='mpecher'>
        <s:name>iStore Todo/Manual/Login stuff</s:name>
        <s:content>1 Not requiring login for Home page&#xD;&#xA;mainMenu.html is secured via web/WEB_INF/security.xml, add ROLE_ANONYMOUS:&#xD;&#xA;{code}&#xD;&#xA;&lt;bean id=&quot;filterInvocationInterceptor&quot; ...&#xD;&#xA;        &lt;property name=&quot;authenticationManager&quot; ref=&quot;authenticationManager&quot;/&gt;&#xD;&#xA;        &lt;property name=&quot;accessDecisionManager&quot; ref=&quot;accessDecisionManager&quot;/&gt;&#xD;&#xA;        &lt;property name=&quot;objectDefinitionSource&quot;&gt;&#xD;&#xA;            &lt;value&gt;&#xD;&#xA;                PATTERN_TYPE_APACHE_ANT&#xD;&#xA;                /mainMenu.html*=ROLE_ANONYMOUS,admin,user&#xD;&#xA;{code}&#xD;&#xA;\\&#xD;&#xA;----&#xD;&#xA;\\&#xD;&#xA;1 Not making Login menu the current if not logged in&#xD;&#xA;Add Login menu item in menu-config.xml:&#xD;&#xA;{code}&#xD;&#xA;&lt;Menu name=&quot;Login&quot; title=&quot;user.login&quot; page=&quot;/login.jsp&quot;/&gt;&#xD;&#xA;{code}&#xD;&#xA;Add to web/WEB-INF/classes/ApplicationResources.properties:&#xD;&#xA;{code}&#xD;&#xA;user.login=Login&#xD;&#xA;{code}&#xD;&#xA;In web\common\menu.jsp:&#xD;&#xA;replace &lt;c:if&gt; statement with&#xD;&#xA;{code}&#xD;&#xA;&lt;c:if test=&quot;${empty pageContext.request.remoteUser}&quot;&gt;&lt;menu:displayMenu name=&quot;Login&quot;/&gt;&lt;/c:if&gt;&#xD;&#xA;{code}&#xD;&#xA;Change&#xD;&#xA;In mainMenu.jsp add:&#xD;&#xA;{code}&#xD;&#xA;&lt;head&gt;&#xD;&#xA;&lt;title&gt;&lt;fmt:message key=&quot;mainMenu.title&quot;/&gt;&lt;/title&gt;&#xD;&#xA;    &lt;meta name=&quot;menu&quot; content=&quot;MainMenu&quot;/&gt;&#xD;&#xA;&lt;/head&gt;&#xD;&#xA;{code}&#xD;&#xA;\\&#xD;&#xA;----&#xD;&#xA;\\&#xD;&#xA;</s:content>
        <s:mTime>2009-07-13 08:09:55.0</s:mTime>
        <s:cTime>2009-07-13 08:09:55.0</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li>
                    <s:Snip rdf:about='http://wiki.marandcustomsolutions.com/rdf#iStore+Todo/Manual/Login+stuff'>
                        <s:attachments
                             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
                    </s:Snip>
                </rdf:li>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE/Websphere/Portal/themes'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#tennis courts'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#iStore%2bTodo/Manual/Login%2bstuff'/>
                <rdf:li rdf:resource='#Excel'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#iStore Todo/Manual/Theme Colors'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE/Spring/Enums'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java+%26+J2EE/Websphere/Portal/themes/'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#iStore+Todo/Manual/Login+stuff/'/>
            </rdf:Bag>
        </s:snipLinks>
    </s:Snip>
</rdf:RDF>

