Now I have this pattern in acegi:
 

 
                  CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
 
                PATTERN_TYPE_APACHE_ANT
 
                /admin/*=ROLE_ADMIN
 
                /passwordhint.html*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER
 
                /signup.html*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER
 
                /test/**=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER
 
                /test/*.html*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER
 
                /**/*.html*=ROLE_ADMIN,ROLE_USER
 

 
But it don't help.
 

 
I can open http://localhost:8080/test/ajaxResult.html page without any trouble 
on anonymous role.
 
But when I opening http://localhost:8080/test/ajaxTest.html , I can see it and 
read the message 
 
"Loading..." in few seconds, but after this page show me the login form.
 

 
I think ajaxTest.html make AJAX request 
to http://localhost:8080/test/ajax!ajax.html?decorate=false 
 
and after this request acegi required me to login.
 

 
So, could you help me or show some right direction to allow ajax request on 
anonymous?
 

 
Thanks a lot.
 

 

 
   
>
   
Have you included your new pattern above the /**/*.html*=ROLE_ADMIN,ROLE_USER 
line? If yes, then try:
 
 
 
/test/*.html*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER
 
 
 
Mike
 

 
 
 

    
 

 

 

 

 
-- 
 
 Artem                          
  
 

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

Reply via email to