users@glassfish.java.net

Re: HTTP Digest Auth support

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 01 Jul 2010 15:06:45 +0200

Maybe the following info can help:

   http://docs.sun.com/app/docs/doc/820-7692/ggkuk?l=en&a=view&q=Digest+Authentication

   http://blogs.sun.com/foo/entry/mort_learns_jdbc_realm_authentication

   http://forums.java.net/jive/message.jspa?messageID=321182

What seems to be lacking, at least i cannot find anything, is a
tutorial and/or sample on this e.g. security-based NetBeans samples
and tooling would be most useful.

Paul.

On Jul 1, 2010, at 1:56 PM, Pavel Bucek wrote:

>
> Actually I have a problem..
>
> I have configured BASIC auth without problems and it works (users
> are set in my custom realm). I thought that switching to DIGEST auth
> would be as easy as changing
>
> <login-config>
> <auth-method>BASIC</auth-method>
> <!-- realm name used in GlassFish -->
> <realm-name>myRealm</realm-name>
> </login-config>
>
> to
>
> <login-config>
> <auth-method>DIGEST</auth-method>
> <!-- realm name used in GlassFish -->
> <realm-name>myRealm</realm-name>
> </login-config>
>
> in sun-web.xml, but it didn't work (returns 401 all the times).
>
> Do I need to do something else than changing auth-method?
>
> Thanks,
> Pavel
>
>
> On 7/1/10 12:00 PM, Pavel Bucek wrote:
>> Is there any sample configuration/howto document?
>>
>> Thanks,
>> Pavel
>>
>> On 6/25/10 6:53 PM, Shing Wai Chan wrote:
>>> The feature mentioned in the url below is in GlassFish v3 now.
>>> Shing Wai Chan
>>>
>>> On 6/25/2010 9:20 AM, Pavel Bucek wrote:
>>>> Hello,
>>>>
>>>> is digest authentication supported? I found only this link [1]
>>>> which states that "not yet". If that is still actual information,
>>>> is there any estimate on it?
>>>>
>>>> Thanks,
>>>> Pavel
>>>>
>>>> [1] http://wiki.glassfish.java.net/Wiki.jsp?page=FaqDigestAuth
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>