Security in JDG - Embedded mode

Simple webapp demonstrating how authentication and authorization works in embedded mode
Update to use Security.doAs