Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
8.1.0.CR1, 10.0.0.Final, 15.0.0.Final
-
None
Description
The Websocket is protected by the web.xml. The session object of the callback object correctly returns the principal.
When an EJB is called the callerPrincipal is always anonymous.
@Resource
private SessionContext ctx;
Principal callerPrincipal = ctx.getCallerPrincipal();
Running thread here:
https://community.jboss.org/thread/240617
Shouldn't the principal be propagated to the EJB container when a websocket callback method triggered?