|
To do so, You could define the method permission
for the bean EchoWorld in the file jboss.xml as following: <method-permission> ������������� <uncheck/> ������������� <ejb-name>EchoWorld</ejb-name> ������������� <method>*</method> </method-permission> But the login modules still need to be configured to authenticate
an anonymous user, so you need to define the unauthenticated-principal in the
login-config.xml for your security domain. For
example: <application-policy name = "Test"> � ��</login-module> </authentication> You
should also define this in jboss.xml: <security-domain>java:/jaas/Test</security-domain> <unauthenticated-principal>nobody</unauthenticated-principal> �� Quan -----Original
Message----- Hi all , I have
set up a security domain in login-config.xml as
<application-policy name = "Test"> To apply
this to EJB my jboss.xml looks like this <?xml
version="1.0" encoding="UTF-8"?> <jboss>
<enterprise-beans> But I
have some EJB's which should not be in this Security domain . Any
pointers , help is appreciated .. Nimish
|
Title: JAAS,Setting alternate Security domain
- [JBoss-user] JAAS,Setting alternate ... Nimish Chourey , Tidel Park - Chennai
- Re: [JBoss-user] JAAS,Setting a... Scott M Stark
- Pham Thanh Quan
