hi,
  Thanks for your response.If the Url pattern is
http://localhost:8080/appfuse/forge,then how should i mention it in
security.xml to protect the files inside forge dir.

                                         -Yesh  
   

Michael Horwitz wrote:
> 
> You will need to protect the URL used to access the files. In
> security.xmllook for the section:
> 
> <bean id="filterInvocationInterceptor" class="
> org.acegisecurity.intercept.web.FilterSecurityInterceptor">
>         <property name="authenticationManager"
> ref="authenticationManager"/>
>         <property name="accessDecisionManager"
> ref="accessDecisionManager"/>
>         <property name="objectDefinitionSource">
>             <value>
>                 PATTERN_TYPE_APACHE_ANT
>                 /clickstreams.jsp*=admin
>                 /flushCache.*=admin
>                 /passwordHint.html*=ROLE_ANONYMOUS,admin,user
>                 /reload.*=admin
>                 /signup.html*=ROLE_ANONYMOUS,admin,user
>                 /users.html*=admin
>                 /**/*.html*=admin,user
>             </value>
>         </property>
>     </bean>
> 
> The patterns match URLs to roles defined in your application. Add mappings
> as appropriate for your application....
> 
> Mike.
> 
> On 1/4/07, Yesh <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> I have added a folder which contains some jsp files in appfuse
>> application. How to give security to those files.
>> --
>> View this message in context:
>> http://www.nabble.com/ACEGI-SECURITY-tf2917819s2369.html#a8154265
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ACEGI-SECURITY-tf2917819s2369.html#a8173285
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to