The shiro spring sample application now works successfully.  The code
changes have been committed to the trunk (the codebase for this sample
app was rather old and hadn't been updated in quite a while).

After updating from svn and doing a build, go into the samples/spring
directory and run:

mvn jetty:run-exploded

Then visit http://localhost:8080/shiro-samples-spring

and you'll be able to log in/log out again.  No 404s.

I think the 404's you might have been seeing depends on the browser
you're using and any requests it makes for /favicon.ico..  I think
Chrome for example will show you the 404 error (shiro tries to
redirect Chrome to the login page if it sees this error, and Chrome
may be reporting that as a 404).  Other browsers may do something
similar.  One easy fix was to add a /favicon.ico = anon to the filter
chain definitions.  (The updated sample app does this just in case).

Note however that there is still a problem with launching the WebStart
application after you've logged in, but at least you should see that
you're not getting any more 404s.

HTH!

Les

Reply via email to