What is the replacement for SecurityAssociation.setPrincipal() on JBoss EAP 6.x
Issue
- In EAP 5, we had code calling SecurityAssociation.setPrincipal(new SimplePrincipal("quartz_user"));
We used this in cases where a Quartz triggered background thread called a SLSB that used the principal for audit information. Most places I've found in forums was using SecurityClient.
We don't want to do this as we don't want to deal with technical users in our user repository. We basically just want to set the Caller Principal without logging in.
Environment
- Red Hat 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.
