-
Bug
-
Resolution: Can't Do
-
Major
-
None
-
None
-
None
Impossible to login to webapps using container-managed security.
Realm specified in tomcat's deployment descriptor, referring to realm in conf/login-config.xml causes NPE in loading of security manager:
Caused by: javax.naming.NamingException: Failed to create sec mgr:null
at org.jboss.security.plugins.JaasSecurityManagerService.newSecurityDomainCtx(JaasSecurityManagerService.java:547)
This probably happens on line 534. If the securityMgrClass variable is not set by setSecurityManagerClassName()
I have done a few hours of debugging and it is not my login-config.xml or JAAS classes. Please see the forum thread for the login-config.xml I use and some of the logging output.