Hi,
You'll
also have to include a line deploying orions EJBUser in you
orion-application.xml like this:
<ejb-module remote="false"
path="demo/ejb/usermanager" />
Now
you can take out the <principals .../> tag.
Further you need to specify a role to group mapping in
orion-web.xml (adjusted to your own roles and groups):
<security-role-mapping
name="administrator">
<group name="administrators"/> </security-role-mapping> Something that confused me a number of times is that
orion unpacks your ear file, but it doesn't always refresh this copy correctly
after you update your ear. This happened especially with
orion/orion-application.jar
I
think this were all the steps I needed, but let me know if there are any more
problems. I've been struggling with this one for quite some time
too.
Marcel
|
- How to get RoleManager / setup UserManager John Pletka
- RE: How to get RoleManager / setup UserManager Marcel Schutte
- Marcel Schutte