Hi, I'm using Apache Shiro in Karaf 4.0.7. Not sure if the problem I have is a Karaf related problem or just a Pax-Web related problem so I post in both foras.
Here is an extract of my Shiro ini file: *[urls]* */api/getCurrentUser = anon* */login = authc* */logout = logout* */admin/** = authc* The intention is that the first url (that is associated with "anon") should be allowed to access without a user being authenticated. When I deploy my application in Karaf, an HTTP status code 401 is returned and basic authentication is triggered in the browser. If I enter user=password=karaf then I get through. Does anyone have any idea why this happens? Is it so that if the url is not stopped by Shiro then it continues to a filter that Karaf/Pax-Web has set up that requires basic authentication? How can I get around this? /Bengt -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
