Please help me........
I have a windows network (samba domain controller which intern uses the flat file system
for datastore), I wanted my j2ee web application to authenticate using NegotiateKerberos.
so i followed
http://wiki.jboss.org/wiki/Wiki.jsp?page=NegotiateKerberos link to setup
your test application but it is not working. when i request for the index.html, i get
[org.jboss.web.tomcat.security.HttpServletRequestResponseValve] Realm returned: null in
the jboss server.log....
Following configurations i have done
Windows network domain name is LK
Samba domain controler ip 192.168.1.7
/conf/login-config.xml
<!-- SPNEGO test -->
<application-policy name = "SPNEGO">
<login-module
code="org.jboss.security.auth.NegotiateLoginModule"
flag = "required">
<module-option
name="loadBalance">false</module-option>
<module-option
name="domainController">192.168.1.7</module-option>
<module-option
name="defaultDomain">LK</module-option>
</login-module>
</application-policy>
/WEB-INF/web.xml
<login-config>
<auth-method>Negotiate</auth-method>
<realm-name>SPNEGO</realm-name>
</login-config>
<security-role>
<role-name>LK</role-name>
</security-role>
WEB-INF/jboss-web.xml
<jboss-web>
<security-domain>java:/jaas/SPNEGO</security-domain>
</jboss-web>
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979584#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...