You should look in the Orion javadocs for DataSourceUserManager. Here's
an example of what to put in the orion-application.xml:
<user-manager class="com.evermind.sql.DataSourceUserManager">
<property name="table" value="Member" />
<property name="passwordField" value="password" />
<property name="defaultGroups" value="authenticated,god" />
<property name="usernameField" value="name" />
<property name="dataSource" value="jdbc/SimilarityCoreDS" />
<property name="staleness" value="0" />
</user-manager>
Note that you will also need to define your groups in principals.xml
(either the deployment version or the global version).
Good luck,
Jeff
-----Original Message-----
From: Roland Dong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 12:07 AM
To: Orion-Interest
Subject: RE: jsp form-based authentication
Has anyone responded to this message? I am also interested in that...
Roland
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Vaskin
Kissoyan
Sent: Friday, February 23, 2001 10:46 AM
To: Orion-Interest
Subject: jsp form-based authentication
I need a good example of looking up username/password in a database, how
do you override the security so that it checks a database instead of
checking the internal web.xml file and principals.xml?