This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79943 - Login Configuration, Authentication method DIGEST doesn't work
Summary: Login Configuration, Authentication method DIGEST doesn't work
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: DD Editor (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-11 01:08 UTC by davisn
Modified: 2009-04-22 21:37 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2006-07-11 01:08:59 UTC
<login-config>
   <auth-method>DIGEST</auth-method>
</login-config>

doesn't work with Netbean IDE 5.5

STEPS TO REPRODUCE:
1. Install Netbean IDE 5.5 - build 7/20
2. Install AppServer 9PE SDK
3. Install javaee5tutorial package
4. Start AppServer 9 to add file-realm userGroup user
     From Admin GUI, select Configuration > Security > Realms > file > Manage
Users > New 
     User ID: qe
     Password: qe
     Group List: user
   Save the configuration
4. From IDE, open ..\javaeetutorial5\examples\jaxws\helloservice-basicauth project 
5. Right click at helloservice-basicauth project, select Properties > Run and
enter /hello for Relative URL
6. Open the web.xml file > select Security tab >
     select Digest at Login Configuration section
   Save the change
7. Build and Run the project
BUG:
   After login the file-realm dialog, a blank page was displayed for 
     http://localhost:8080/helloservice/hello URL page
Comment 1 Sherold Dev 2006-07-11 08:25:04 UTC
-> sunappserv
Comment 2 Vince Kraemer 2006-07-29 21:10:11 UTC
What output were you expecting?  It looks like the servlet is a web service...

What is it supposed to do when a regular http GET lands on its doorstep?

Peter: any insights on this one?
Comment 3 Vince Kraemer 2006-07-31 18:19:56 UTC
DIGEST is unsupported by GF...  This is news to me. Opened
https://glassfish.dev.java.net/issues/show_bug.cgi?id=881.
Comment 4 Vince Kraemer 2006-08-02 21:36:00 UTC
It looks like the web app project would need to ask (via
J2eePlatform.isToolSupported???) whether a server supports DIGEST authentication
[which is optional] to solve this completely.

Probably requires new constant on J2eePlatform... DIGEST_AUTHENTICATION.

Note current implementation of J2eePlatformImpl in sjsas returns the correct
value for a query regarding digest authentication [false] today.

GF v2/SJSAS 9.1 will fail deployment for web apps that use digest authentication.
Comment 5 Petr Jiricka 2006-12-21 14:23:24 UTC
Stepan, what do you think about Vince's suggestion? How would the IDE use this
constant - at which point would it check it? I suggest that this could be added
as a check to the global tasklist, which will be a part of the IDE in NB 6.0.
Comment 6 Petr Hejl 2007-09-12 16:19:44 UTC
It seems to me like missing api for the server capabilities - issue 115275.
Comment 7 Petr Hejl 2007-11-01 13:57:14 UTC
Tomas do you think its doable for 6.0? I'm bit conservative as it could lead to (small) changes in server plugins.
Comment 8 Tomas Mysik 2007-11-01 14:11:23 UTC
For 6.0? Unfortunately I don't think so.
Comment 9 David Konecny 2009-04-22 21:37:28 UTC
I think this issue is resolved now - GF fails deploying app with DIGEST authentication. Feel free to reopen if you disagree.