my dog learned polymorphism*
The moose likes Security and the fly likes How do I set the user for this session? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "How do I set the user for this session?" Watch "How do I set the user for this session?" New topic
Author

How do I set the user for this session?

Sean Sell
Greenhorn

Joined: Dec 12, 2006
Posts: 9
I am in the process of testing an authentication algorithm for a new Adobe Flex application that will be backending to a Weblogic 9.2 pageflow application.

I added authentication via JAAS to the pageflow but I was looking for a way to set the user in the session within my controller (after authentication). This way the existing pageflow should continue to work by referencing the user as:

this._remoteUser = this.getRequest().getRemoteUser();

TIA
 
Don't get me started about those stupid light bulbs.
 
subject: How do I set the user for this session?