Hi Romain , Thanks for the reply we are not using JAASRealm we are using custom way. I found a way to get username in ejbcontext who is logged in .
I used TomcatSecurityService to get it done. TomcatSecurityService ss = (TomcatSecurityService) SystemInstance.get().getComponent(SecurityService.class); ss.enterWebApp(realm, principal, login); If i do this I can able to get user in EJBContext . Is there any implications by doing so? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Bind-login-user-to-EJBContext-using-security-filter-using-java-comp-EJBContext-tp4676793p4676812.html Sent from the TomEE Dev mailing list archive at Nabble.com.
