You will need to do some digging in the archives, but Orion has various
usermanagers to choose from, or you can write your own.
Default login store is the principal.xml. EJBUser is a cmp entity bean which
can use your databank. I don't believe that they have LDAP user manager up
and running, but you can write your own user manager.
We use the EJBUser, since it was so bloody convienent. If you include the
reference in you application ejb-jar.xml, and you use the usermanager api,
you are off to the races. Here is entity bean reference for your application
ejb-jar.xml file to get you started. The petstore example also has a Orion
security adapter which uses the usermanager.
Regards,
elephanwalker
<entity>
<display-name>EJBUser</display-name>
<description>EJBUser management....</description>
<ejb-name>com.evermind.ejb.EJBUser</ejb-name>
<home>com.evermind.ejb.EJBUserHome</home>
<remote>com.evermind.ejb.EJBUser</remote>
<ejb-class>com.evermind.ejb.EJBUserBean</ejb-class>
<persistence-type>Container</persistence-type>
<primkey-class>java.lang.String</primkey-class>
<reentrant>False</reentrant>
<cmp-field>
<field-name>username</field-name>
</cmp-field>
<cmp-field>
<field-name>password</field-name>
</cmp-field>
<cmp-field>
<field-name>description</field-name>
</cmp-field>
<cmp-field>
<field-name>locale</field-name>
</cmp-field>
<cmp-field>
<field-name>certificateIssuerDN</field-name>
</cmp-field>
<cmp-field>
<field-name>certificateSerial</field-name>
</cmp-field>
<cmp-field>
<field-name>groups</field-name>
</cmp-field>
<primkey-field>username</primkey-field>
</entity>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Romen Law
Sent: Wednesday, March 07, 2001 3:02 PM
To: Orion-Interest
Subject: security realm in orion
Importance: High
ello,
Does anyone know what security realms orion supports other than the
pricipals.xml file. I want to store users, groups and ACLs (dynamic change
of ACL is important to me) in a LDAP or Relational DB, much like what
Weblogic can do. Is this possible in Orion? What extra work do I have to do
to achieve this?
cheers
romen
IT Architect, Business And Data Services
IBM GSA
TEL: 612-84484716
FAX: 612-84484008
TIE: 84716