File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Switching security contexts" Watch "Switching security contexts" New topic

Switching security contexts

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

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:
subject: Switching security contexts
It's not a secret anymore!