Hi Peter!

On Sunday 07 January 2001 17:16, Peter Braswell wrote:
> > 2) You started to use JAAS on client, so why do you
> > switch to
> > non-JAAS now? Non-JAAS is not my area :-)
>
> I'm not sure what you mean here.  The client
> instantiates an object that implements
> CallbackHandler().  I've got a auth.conf file on the
> client side and the deployment descriptor for the bean
> has the XML that you spoke of.
I mean that the server authentication and role mapping can be set in 
two ways: with JAAS and without. 

JAAS way looks like 
<authentication-module>java:/java/other</authentication-module>
<role-mapping-manager>java:/java/other</role-mapping-manager>
You should choose the server login module in conf/default/auth.conf, 
see comments there.
Also see the excellent manual by Edward Kenworthy in
http://www.mail-archive.com/[email protected]/msg07614.html
and my initial description of JAAS stuff in 
http://www.mail-archive.com/[email protected]/msg04170.html
(however note that JNDI names have changed since then).

> > 3) Where did you place those elements?
> > Are they inside "container-configuration" elements?
> > Does your bean reference that
> > "container-configuration"?
> > I recommend you to use EJX for editing jboss.xml.
>
> This is a good point.  I don't think my jboss.xml file
> is set up right.  It doesn't give any error, but
> neither does it seems like its working properly.  I'll
> try EJX....  I'll let you know.
Well, if it is appropriate for you, you can add 
"authentication-module" and 
"role-mapping-manager" to each "container-configuration" in 
standardjboss.xml.
Alternatively, add new container configuration with thin elements 
(their names in EJX slightly differ) and set your bean to use it. 

Regards,
 Oleg

Reply via email to