I run Jboss-2.2.2-Tomcat-3.2.2 combo.
I do have user(saman) set up to access certain methods and beans. Still
I get lots of these lines.
[EmbeddedTomcatSX] User: johnH is authenticated
[EmbeddedTomcatSX] User: johnH is authorized
[EmbeddedTomcatSX] User: johnH is NOT authorized, requiredRoles=[admin]
[EmbeddedTomcatSX] User: johnH is NOT authorized, requiredRoles=[admin]
johnH - is a employer:
on my principals table
principalid password
johnH johnH
roles
principalid role
johnH employer
my ejb-jar: looks like this:
<method-permission>
<role-name>employer</role-name>
<method>
<ejb-name>Employer</ejb-name>
<method-name>getData</method-name>
</method>
<method>
<ejb-name>Employer</ejb-name>
<method-name>setData</method-name>
</method>
<method>
<ejb-name>Employer</ejb-name>
<method-name>create</method-name>
</method>
<method>
<ejb-name>Employer</ejb-name>
<method-name>findByUserLogin</method-name>
</method>
<method>
<ejb-name>Employer</ejb-name>
<method-name>findByPrimaryKey</method-name>
</method>
<method>
<ejb-name>EmployerHelper</ejb-name>
<method-name>create</method-name>
</method>
thanks for any insight.
anil
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user