Are you explicitly calling Subject.login() yourself or relying on Shiro? In the latter case, make sure that the parameter names for username & password Shiro expects match up with the ones you are sending from the client (in case you are using JSF components). Might be simpler to just use a plain html form or manage login() call yourself.
Kalle On Mon, Oct 4, 2010 at 1:04 PM, [email protected] <[email protected]> wrote: > > Has anyone managed to use Shiro with Icefaces? > > I am trying to add Shiro to a project using Icefaces 1.8.2 on Tomcat 6, but > although I can manage to display a login page nothing happens when I try to > authenticate. > > I have a simple Shiro example webapp which works fine, but when I integrate > the code into our Icefaces webapp it stops working. > If I remove the filter and filter mapping sections from web.xml then I can > directly navigate to the page containing the login and it works, but as soon > as I put the filter back all that happens is that the login page is > displayed but remains on the screen. > > I have tried this both as a .jsp and servlet, and as an Icefages .jspx page > and managed bean. When the filter is present in web.xml it is as if the > webapp is blocked, but no messages are shown in the tomcat logs, and even my > own log messages at the beginning of the servlet or managed bean are not > shown. > > Has anybody had any success? > > Can anybody say what the problem is? > > Regards, > Philip Kerrigan > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Using-Shiro-with-Icefaces-tp5600653p5600653.html > Sent from the Shiro User mailing list archive at Nabble.com. >
