1. Go to the knowledge base website: http://www.netbeans.org/kb/index.html
2. Go to "EJB and Web Service Applications": http://www.netbeans.org/kb/trails/java-ee.html
3. Go to "Securing Web Services Using the SAML or UserNameToken Profiles":
This is a 6.0 tutorial, but appears to be still relevant
4. Follow the steps in the tutorial. Step 6 in the setup chapter says: "In the Services tab, select the Servers node.
right-click the Servers node and choose Add Server from the pop-up menu.. The Add Server Instance dialog opens."
=> This step can not be completed, because in the Ergonomics IDE, the Servers node is missing.
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:
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
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:
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)
User: Jaroslav Tulach <firstname.lastname@example.org>
Log: #158765: Support in ergonomics for recognizing Services/Servers node actions and providing proxies for them including static analysis and dynamic verification