what you should do is implement UserManager with native code that access OS
security credentials.

In windows, you should implement UserManager and, using JNI or JIntegra,
call ADSI methods to retrieve OS users/groups.

HTH

JP

> -----Original Message-----
> From: Christian Sell [mailto:[EMAIL PROTECTED]]
> Sent: Jueves, 01 de Febrero de 2001 10:34
> To: Orion-Interest
> Subject: Re: Security...
> 
> 
> > Hi,
> >
> > My question also relates to security.
> > How can we map OS level usergroups to J2EE security roles? 
> In the XML
> > descriptors, we can only map roles to methods, EJBs, etc. 
> But how to map
> > real users to roles? (Please let me know your answers for 
> both Windows and
> > Solaris platforms!)
> >
> > Thanks,
> >
> > Tibor
> 
> user to role mapping is done in XML descriptors as well. 
> Heres an excerpt
> from my orion-application.xml:
> 
>  <security-role-mapping name="admins">
>   <group name="admins" />
>  </security-role-mapping>
>  <security-role-mapping name="cse">
>   <user name="cse" />
>  </security-role-mapping>
> 
> in this case, the role names and the user/group names are 
> identical. The
> group/user is the entity that is verified by the user 
> management, which can
> be configured in the same file with the <user-manager> 
> element. The default
> user management goes to the file principals.xml.
> 
> HTH
> 
> 

Reply via email to