This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Servlets and the fly likes Switching security contexts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Switching security contexts" Watch "Switching security contexts" New topic
Author

Switching security contexts

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17160
    
  27

Does anyone know how to change the Principal on a Servlet's security context programmatically?
I'm creating a new signon for a user and I want to automatically sign him/her on when the account security has been setup up.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Switching security contexts
 
It's not a secret anymore!