users@glassfish.java.net

Re: HTTP Digest Auth support

From: Pavel Bucek <Pavel.Bucek_at_Sun.COM>
Date: Thu, 01 Jul 2010 13:56:21 +0200

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
>