Hi all, I've been studying the JEE5 tutorial and in the chapter 6 I saw that there are some samples of adding security to an application.
From the tutorial:
". <JAVAEE_HOME>/samples/security/ldaprealm/apps/dynamicgroup/docs/index.html
The LDAP Dynamic Group Realm sample application consists of an enterprise bean and an application client. The methods of the enterprise bean have been associated with either the Administrator role or the Secret role in the enterprise bean deployment descriptor. The idea is to associate the Administrator role with a dynamic LDAP group, called ldapdynamicgroup. Then the application client verifies that user names belonging to ldapdynamicgroup have access to methods of the EJB that have been associated with the Administrator role, while access to methods not associated with that role will be denied.
. <JAVAEE_HOME>/samples/security/realms/apps/rdbms/docs/index.html
This sample application demonstrates using a custom security realm. You can use any JDBC-compliant relational database server. "
Well I looked for these samples but I didn't find any.
Could anyone help me to find them, mainly the second one?
[Message sent by forum member 'bagrehc' (bagrehc)]
http://forums.java.net/jive/thread.jspa?messageID=215154