Problem expiring Apache Shiro + vraptor-Shiro session

Asked

Viewed 126 times

2

I’m using the vraptor-Shiro to integrate the Apache Shiro as a security mechanism in a project of mine and I’m having a problem when the session expires.

In the method onInvalidation class Defaultwebsessionmanager raises an exception because the past argument is a Defaultsessionkey instead of a Websessionkey which seems to be the most correct one. This puts my user’s session in an inconsistent state as he can’t drop or log into the application.

I imagine it’s some configuration problem although I haven’t found exactly what, and I’m over a week with this problem with another co-worker.

I managed to reproduce the problem in a project vraptor-Blank-project and made available to anyone take a look and maybe help us.

Thanks guys, see ya!

  • Hello, I was searching and saw in your code, this working, if you redirect to some page if he is not logged in he returns the message, and goes into login, as already set the data he logs, what is giving error ?

  • I analyzed the code with vraptor-Shiro and not for sure, some conflict or something. The only way was to take apache Shiro and implement in vraptor, and this working

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.