I have the following section defined in my web.xml to declare the role
<servlet>
<servlet-name>AdminPage</servlet-name>
<jsp-file>/admin.jsp</jsp-file>
<security-role-ref>
<role-name>admin</role-name>
<role-link>managers</role-link>
</security-role-ref>
</servlet>
Is there something else I'm missing? why would the method work when
forwarding from a servlet?
Thanks Jonathon.
Marko.
.
Jonathon Lee <le...@zilliant.com> wrote in message
news:8ff26i$mqk$1...@newsgroups.bea.com...
you should have a section in your web.xml with:
<security-role>
<role-name>managers</role-name>
</security-role>
and then you use either the deployer tool or weblogic.xml to map
that role to real princples like this :
<security-role-assignment>
<role-name>managers</role-name>
<principal-name>bob</principal-name>
<principal-name>foobar</principal-name>
</security-role-assignment>
this is basically how it works with ejb and you'd think it would be the
same,
but I've noticed that it only seems to work correctly if the role name is
the same
as the principle-name.
Marko Milicevic <mmili...@isolutionscorp.com> wrote in message
news:8fh52d$n7l$1...@newsgroups.bea.com...
Thanks for the info Jonathon.
Marko.
.
Jonathon Lee <le...@zilliant.com> wrote in message
news:8fhis8$1be$1...@newsgroups.bea.com...