[jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea

praenti do-not-reply at jboss.com
Fri Oct 2 07:46:29 EDT 2009


After some trying I get another error, so I tried to find out where the method isUserInRole is implemented, because I want to know what happens there. So where can I have a deeper look into that?

The error is

  | ...
  | 13:33:02,033 INFO  [Login] User extern.michael.obster: login successfull!
  | 13:33:02,049 DEBUG [CoyoteAdapter]  Requested cookie session id is 935A59F3B0ED6
  | 44F944D50636D518275
  | 13:33:02,080 DEBUG [JAASLoginInterceptor] Login INTERCEPT
  | 13:33:02,096 DEBUG [JAASLoginInterceptor] User Principal=extern.michael.obster
  | 13:33:02,096 DEBUG [RealmBase] Username extern.michael.obster does NOT have role
  |  RegularUser
  | 13:33:02,096 DEBUG [JAASLoginInterceptor] isUserInRole(Authorized User)=false
  | 13:33:02,096 DEBUG [RealmBase] Username extern.michael.obster does NOT have role
  |  RegularUser
  | 13:33:02,096 ERROR [[default]] Servlet.service() for servlet default threw excep
  | tion
  | javax.servlet.ServletException: User is not authenticated or the isUserInRole ch
  | eck failed
  |         at vwg.audi.cancard.ui.interceptor.JAASLoginInterceptor.intercept(JAASLo
  | ginInterceptor.java:77)
  |         at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
  | ActionInvocation.java:224)
  | ...
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258390#4258390

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258390



More information about the jboss-user mailing list