[jboss-user] [Security & JAAS/JBoss] - Re: DatabaseLoginServerModule implementing problems

Wolfgang Knauf do-not-reply at jboss.com
Mon Apr 27 03:01:48 EDT 2009


Hi,

there is a typo in your users query:
anonymous wrote :  select passwd from users username where username=?

Your "jboss-web.xml" uses an incredibly old dtd, better use a newer one:
<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss-web PUBLIC
  |     "-//JBoss//DTD Web Application 5.0//EN"
  |     "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
  | 
  | <jboss-web>
  | 	<security-domain>...</security-domain>
  | </jboss-web>

If this does not help: activate logging of the security layer. See the sticky post "FAQ ..." in this forum, question 3.

By the way, as you are from Germany: http://www.informatik.fh-wiesbaden.de/~knauf/KomponentenArchitekturen2008/security/index.html

Best regards

Wolfgang


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

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



More information about the jboss-user mailing list