Top "Session-scope" questions

A state of the Java bean that holds it during HTTP session.

How to invalidate session in JSF 2.0?

What is the best possible way to invalidate session within a JSF 2.0 application? I know JSF itself does not handle …

session jsf-2 httpsession managed-bean session-scope
Are session and sessionScope the same in JSP EL?

public class LoginAction extends ActionSupport { private String username; private String password; @Override public String execute() throws Exception { ActionContext ctx = ActionContext.…

jsp el session-scope
Session scoped beans and @PostConstruct in JSF

A quite simple and straight-forward question. I have a session scoped managed bean as follows (demonstrating a PrimeFaces range slider). @…

jsf primefaces jsf-2.2 session-scope postconstruct
Access session scoped bean from request scoped bean

I'm trying to use a pattern found on a IceFaces page.(I'm not using IceFaces, using PrimeFaces) In this case …

jsf jsf-2 session-scope
Access session scoped JSF managed bean in web filter

I have SessionScoped bean called userSession to keep track of the user ( username, ifLogged, etc). I want to filter some …

jsf servlet-filters managed-bean session-scope
Is @SessionScoped a good practice?

I've read about all the differences between the types of scope (@SessionScoped, @ViewScoped, @ApplicationScope and @RequestScope), however, I'm still facing …

jsf scopes session-scope
Exception - Unable to set property userLogin for managed bean credentials

For authentication purposes, I am injecting a request scoped backing bean into another session scoped bean that is going to …

jsf managed-bean session-scope
How to use @SessionScoped with Guice

Hi I am currently playing with Guice and @SessionScoped. To give it more sense, I decided to build a (very …

java authentication guice session-scope
How to retrieve a session scoped managed bean in a PhaseListener?

I'm having troubles in setting an Authorization Listener (that implements PhaseListener) to manage authentication and autorization. More specifically, I set …

jsf jsf-2 session-scope phaselistener