Your interceptor can use the static method:
ActionContext.setSession(Map session)
Have a look at CreateSessionInterceptor to see how the map parameter can
be created.
When your own interceptor is placed before ServletConfigInterceptor in
stack it will affect SessionAware.
Regrads,
Christoph
Hello Christoph,
Apart from the issue with static access to
@com.spb.mvc.util.Constants@ATRB_SESSION_USER, is there no way to update
the reference to the session across the whole framework? Because we are
having the same issue with SessionAware if the session is destroyed/created
in one of the i
>
> Hello,
> We have a struts2 project. In that project we have a security
procedure
> in order to log in the users. As part of the login process, the session
is
> destroyed and recreated once the user is logged in, in order to avoid
> Session hijacking. The problem we are having is that the
Hello,
We have a struts2 project. In that project we have a security procedure
in order to log in the users. As part of the login process, the session is
destroyed and recreated once the user is logged in, in order to avoid
Session hijacking. The problem we are having is that the action finally
4 matches
Mail list logo