[jboss-user] [Security] - Re: NullPointerException @ DatabaseServerLoginModule.java:14

kagato11 do-not-reply at jboss.com
Tue Sep 29 06:39:10 EDT 2009


Hi,
I've the same problem as mactex. Struggling for 3 days with:
 javax.security.auth.login.LoginException: java.lang.NullPointerException

I try to use database as user repository in Drools 4 BRMS or Drools 5 Guvnor. Got similar configuration as mactex except that I had to point policy from login-config.xml in the components.xml file of the guvnor/brms:
	<security:identity authenticate-method="#{authenticator.authenticate}" jaas-config-name="oracleDS"/>

conn = ds.getConnection(); returns null. Please can anyone help us?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257611#4257611

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257611



More information about the jboss-user mailing list