I'm developing a JSF v1.2
web application which will run on Websphere Application server 8.0
. We have an external security manager (SiteMinder) to provide the authentication and authorization.
As per my understanding, JSF stores the current view information in session. I've some questions regarding how session is managed in JSF and WAS.
- Does JSF store the view state in session for both anonymous and logged in user if the state saving is set as
serverside
? - How does JSF know that the user is a logged in user or not? Do we have to tell JSF about this?
- Is it possible to have a
Trusted Authentication Inceptor (TAI)
which tell WAS that the current user is a valid user?
I found a similar post here Check if session exists JSF
I'm not sure how WAS know that the user is logged in or not. In the code, there is userManager.isLoggedIn(). How does this work unless WAS is aware that user is valid?
Could you please provide your help?