After user has logged in by submitting the username/pswd on login page. Control goes to homepage of my application. where I am able to see the login id using request.getUserPrincipal().
There are multiple roles for the logged in user. each role has a different username but same pswd. when the logged in user clicsk the link "change role" I need to update the login id in session id.I am able to change the username in my session to the new user identity.
is there any way to change the value for request.getUserPrincipal() to reflect the new username without asking the user to login again.
I don't know what an 'ATG2006.3' is, but what I am thinking of is server dependent.
The server can decide to authenticate a user, but this code behaves differently in each container. In Websphere you use the SSOAuthenticator, but I'm not sure how it works in other servers.
Neeraj Vij
Ranch Hand
Joined: Nov 25, 2003
Posts: 315
posted
0
Hi,
How can I check, which Authentication is being done on the ATG server.
is it possible to reauthenticate user identity on websphere after user logs in through a form submission on ibm webphere and if yes.. how can we do it.. I will try to do it in the similar way on ATG server..