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.
<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
-> sunappserv
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?
DIGEST is unsupported by GF... This is news to me. Opened https://glassfish.dev.java.net/issues/show_bug.cgi?id=881.
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.
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.
It seems to me like missing api for the server capabilities - issue 115275.
Tomas do you think its doable for 6.0? I'm bit conservative as it could lead to (small) changes in server plugins.
For 6.0? Unfortunately I don't think so.
I think this issue is resolved now - GF fails deploying app with DIGEST authentication. Feel free to reopen if you disagree.