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.
Summary: | Basic access manager tutorial does not work | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Petr Jiricka <pjiricka> |
Component: | Identity | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | ERGONOMICS, REGRESSION |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 161449 | ||
Bug Blocks: | |||
Attachments: |
Servers node will be enhanced with new, easy to use triggers
Implementation (including API changes reviewed as #161449) |
Description
Petr Jiricka
2009-02-18 17:44:14 UTC
Already does not work in NetBeans 6.5 - there is no "Sun Java System Access Managers" node that the document refers to. Revision 1.56 of the document (from Nov 19, 2008) updates the applicable NB versions to also include NB 6.5 - but in fact it does not work with 6.5. See: http://www.netbeans.org/source/browse/www/www/kb/60/javaee/identity-amsecurity.html Due to changes,caused by incorporating of Ergonomics,the tutorial should be definitely updated.I don't see however, that docs will have resources to do this soon,so I'll write down the changes myself and try to persuade some docs guy to update it before next release. In 6.5 this should still work,unless some patch has broken the functionality (it worked for fcs and then available version of Java EE SDK). I've tried lates Java EE SDK in latest NB build and it don't work.I'll file a separate issue for this and check 6.5 also. I tried the latest "GlassFish Java EE + Tools" bundle from http://java.sun.com/javaee/downloads/index.jsp, and it does not work. This bundle includes NetBeans 6.5, so I would expect it should work out of the box. Sorry, my fault, things _do_ work correctly in NB 6.5. I did not realize that the Access Manager node is now a _subnode_ of the GlassFish node, rather than a separate top level node. Back to NB 7.0 with ergonnomics - I made it work, but only with an ugly workaround: First part of the workaround: Go to the New Web Application project wizard. On the next panel, it prompts you to activate the web application features, which also activates the GlassFish plugin. When you then cancel the wizard, you can see the GF node in the Services tab and start it. Still, the Access Manager node does not appear under the Services tab. Second part of the workaround: Go to Tools -> Plugins -> Installed and search for "Identity". Activate the Identity module and restart the IDE. After starting GlassFish, you will see the Access Manager node under the GF node. Created attachment 79066 [details]
Servers node will be enhanced with new, easy to use triggers
Created attachment 79067 [details]
Implementation (including API changes reviewed as #161449)
As soon as isssue 161449 is approved, I'll integrate the http://www.netbeans.org/nonav/issues/showattachment.cgi/79067/X.diff patch and extend the tutorial with a note about one additional step in 6.7. What additional step? Additional step to make sure identity support is enabled. Code available in: ergonomics#b03a19231b2e Website updated as Checking in identity-amsecurity.html; /cvs/testwww/www/kb/60/javaee/identity-amsecurity.html,v <-- identity-amsecurity.html new revision: 1.23; previous revision: 1.22 Integrated into 'main-golden', will be available in build *200904040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b03a19231b2e User: Jaroslav Tulach <jtulach@netbeans.org> Log: #158765: Support in ergonomics for recognizing Services/Servers node actions and providing proxies for them including static analysis and dynamic verification |