All
I have exhausted my search capability and need some help. I have configured and re-configured a GlassFish jdbcRealm and it still does not work. It does not appear to be using the realm at all and I don't know why. I am using GlassFish 2.1.1 and I am trying to do BASIC authentication for my web service.
Here is my web.xml snippet:
<security-constraint>
<web-resource-collection>
<web-resource-name>ARM</web-resource-name>
<url-pattern>/ARM/*</url-pattern>
<http-method>POST</http-method>
<http-method>GET</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>jdbc</realm-name>
</login-config>
I recently upgraded to GlassFish 2.1.1. I was using Sun Application Server 8.2 and had created a custom realm for authenticating against the database and it worked fine. But now GlassFish 2.1.1 has the jdbcRealm built in so I am trying to use that instead to no avail. I have configured the realm with all the required configuration properties. Is there anything else I need to do or that I am missing?
Help!
Brenda
[Message sent by forum member 'bcoulson220' ]
http://forums.java.net/jive/thread.jspa?messageID=372557