Hi,
maybe this is a silly question, but I'm struggeling to get role-principal
mapping to work.

In glassfish-web you can put:
<security-role-mapping>
    <role-name>TestGroup</role-name>
    <principal-name>internal-user</principal-name>
  </security-role-mapping>

Im running TomEE with ProperitesLogin/JAAS.

If I have a Sceduler using @Runas("TestGroup") I will get the
"internal-user" as sessionContext.getCallerPrincipal().getName()
In tomee 1.6.0-SNAPSHOT sessionContext.getCallerPrincipal().getName()
returns "TestGroup"

Is it possible to map role-principal in tomee?

best regards,
hw



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Tomee-and-security-role-mapping-tp4663567.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to