Please sign in to comment.
Adding example of how to get caller's principal from an EJB
- Loading branch information...
Showing with 750 additions and 0 deletions.
|@@ -0,0 +1,4 @@|
|+Ant-Version: Apache Ant 1.8.2|
|+Created-By: 1.6.0_37-b06-434-11M3909 (Apple Inc.)|
|@@ -0,0 +1,3 @@|
|+### Example of how to get caller's principal in an EJB|
|+This EJB has one method that simply returns the caller's `Principal` via `EJBContext.getCallerPrincipal()`. It's also exposed as a webservice using basic HTTP authentication. The EJB uses the `other` security domain, so you can use the `add-user.sh` script to control access to the EJB.|
Oops, something went wrong.