The msg means you have a security-role-ref with a role-name that
does not include a role-link that points to the role
<security-role-ref>
<role-name>admin</role-name>
</security-role-ref>
Needs to be:
<security-role-ref>
<role-name>admin</role-name>
<role-link>admin</role-link>
</security-role-ref>
EJB 1.1 Spec:
15.3.3 Linking security role references to security roles
If the Application Assembler defines the security-role elements in the deployment
descriptor, he
or she is also responsible for linking all the security role references declared in
the security-
role-ref elements to the security roles defined in the security-role elements.
The Application Assembler links each security role reference to a security role using
the role-link
element. The value of the role-link element must be the name of one of the security
roles defined in
a security-role element.
A role-link element must be used even if the value of role-name is the same as the
value of the
role-link reference.
----- Original Message -----
From: "Pelle Poluha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 13, 2001 4:55 AM
Subject: [JBoss-user] WARNING: no match found for security role...
> Hello!
>
> I have an entity bean checking a user's role. Everytime I do this I get this
> message:
> [User] WARNING: no match found for security role admin in the deployment
> descrip
> tor.
>
> I got the same message from a session bean earlier, but then I added the
> role name in the ejb-jar.xml (as below). I've done the same thing for my
> entity bean (called User) but I still get the message.
>
> <assembly-descriptor>
> <security-role>
> <role-name>admin</role-name>
>
> Any ideas?
>
> Regards,
> Pelle Poluha
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user