Posted by kumarjayanti
on March 25, 2010 at 4:43 AM PDT
Secure Applications with GlassFish V3 Embedded Mode
Embedded GlassFish v3 is a delivery vehicle of GFv3 so that applications and tools can use GFv3 just as a library, inside their JVM. More details on this can be found on the separate project page that has been created for Embedded GlassFish .
One would thus expect that even secure applications which use security annotations on an EJB or security-constraints in a web application to work on the Embedded Server. My team member Nithya has created two posts which show
1. how to run an EJB App that uses security annotations such as @RolesAllowed in the Embedded Server.
2. how to run a Web App that uses security-constraints and BASIC authentication in the Embedded Server.