How can I map a user's principal in JBoss EAP 6?
Issue
I have a servlet into which I have injected an EJB. I login to my servlet and authenticate using the default "other" security-domain as say, "im_a_user". In my EJB however, I want to map "im_a_user" to my application user name - say, "im_a_user1". Can you please guide me on this?
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
