Hi!
RunAsLoginModule correctly sets a role association for the time
other LoginModules are executed but it doesn't set a principal.
However, SecurityInterceptor does require that you have a non-null
principal.
Thus, when calling a secured EJB from a LoginModule you get:
---
EJBException, causedBy:
java.lang.SecurityException: Authentication exception, principal=null
at
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation
---
Should I set a principal by myself in some other LoginModule or is
the SecurityInterceptor or RunAsLoginModule broken? Any ideas?
Thanks,
Panu
--
Panu H�llfors, [EMAIL PROTECTED]|CS Student, Helsinki University of Technology
http://panu.hallfors.com | Chief Software Architect, Viloke Oy
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user