spring security - Grails Acegi Url mapping weirdness -
this grails 1.2.0 , acegi 0.5.2.
part of security config (the requestmapstring):
requestmapstring = """\ convert_url_to_lowercase_before_comparison pattern_type_apache_ant /login/auth=is_authenticated_anonymously /logout/**=is_authenticated_anonymously /role/**=is_authenticated_anonymously /js/**=is_authenticated_anonymously /css/**=is_authenticated_anonymously /images/**=is_authenticated_anonymously /plugins/**=is_authenticated_anonymously /captcha/**=is_authenticated_anonymously /register/**=is_authenticated_anonymously /help/**=is_authenticated_anonymously /=is_authenticated_fully /**=is_authenticated_fully """
i had '/' rule @ top, did not make difference. in logs, see lines
2010-11-15 14:08:02,937 debug filterchainproxy - converted url lowercase, from: '/images/nav_bg_ribbon_hover.png'; to: '/images/nav_bg_ribbon_hover.png' 2010-11-15 14:08:02,938 debug filterchainproxy - candidate is: '/images/nav_bg_ribbon_hover.png'; pattern /**; matched=true
which indicates url not match correctly. doing wrong here?
Comments
Post a Comment