[jboss-dev-forums] [JBoss AS 7 Development] - Missing user.properties
Clifton Sothoron
do-not-reply at jboss.com
Tue Apr 9 21:24:05 EDT 2013
Clifton Sothoron [https://community.jboss.org/people/cbsoth00] modified the document:
"Missing user.properties"
To view the document, visit: https://community.jboss.org/docs/DOC-48569
--------------------------------------------------------------
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
[https://community.jboss.org/docs/DOC-48569]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130409/1f4c2705/attachment.html
More information about the jboss-dev-forums
mailing list