JBoss Community

Missing user.properties

modified by Clifton Sothoron in JBoss AS 7 Development - View the full document

We have a web application that uses com.sun.security.auth.callback.TextCallbackHandler, javax.security.auth.login.LoginContext and com.sun.security.auth.module.NTLoginModule to do Windows NT security. I've been using it successfully in Tomcat without having to configure Tomcat in any way.  Our app handles the authentication.  When I copy my app over to JBoss 7 I get the error "PB00015: Null Value:Missing users.properties file." when invoking loginContext.login.  How do I suppress this and allow the login to occur? I've tried messing around with jboss-web.xml, jboss.xml, standalone.xml, login-config.xml and my web.xml to no avail.  I bundle my own copy of jaas.jar.  I include the following in web.xml to avoid conflicts.

 

  <context-param>

    <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>

    <param-value>true</param-value>

 

I did the following things.

 

jboss-web.xml

<?xml version="1.0"?> <jboss-web>  

<jboss-web>  

<context-root>rdWeb</context-root>  

</jboss-web> 

 

jboss.xml

<?xml version="1.0"?> <jboss-web>  

<jboss>  

<security-domain>rdWeb</security-domain>  

</jboss>  

 

Thanks in advance,

                                   Clifton Sothoron

Comment by going to Community

Create a new document in JBoss AS 7 Development at Community