Where I can define the groups that it can have access my EJBs, therefore when I to declare in ejb-jar.xml.
<assembly-descriptor> <security-role> <role-name>Sibnc</role-name> </security-role> <method-permission> <method> <role-name>Sibnc</role-name> <ejb-name>RelClientePessoaFisicaBean</ejb-name> <method-name>*</method-name> </method> </method-permission> </assembly-descriptor>
Read the JAAS Howto topic in this forum.