users@glassfish.java.net

Re: Single sign-on

From: <glassfish_at_javadesktop.org>
Date: Tue, 13 Oct 2009 15:25:26 PDT

Ok, I've add the security constraint. So now this is what my web.xml file looks like in regards to the single sign-on

<security-constraint>
        <display-name>LoginConstraint</display-name>
        <web-resource-collection>
            <web-resource-name>webCal</web-resource-name>
            <description/>
            <url-pattern>/*</url-pattern>
            <http-method>GET</http-method>
            <http-method>POST</http-method>
            <http-method>HEAD</http-method>
            <http-method>PUT</http-method>
            <http-method>OPTIONS</http-method>
            <http-method>TRACE</http-method>
            <http-method>DELETE</http-method>
        </web-resource-collection>
        </security-constraint>
    <login-config>
        <auth-method>BASIC</auth-method>
        <realm-name>LdapRealm</realm-name>
        </login-config>

It stills doesn't prompt me for a user id/password.
[Message sent by forum member 'madmac' (jeff.mcguire_at_stanct.org)]

http://forums.java.net/jive/thread.jspa?messageID=367823