I tried <parameter> but got the same error: "Unknown user-manager subtag:
paramter".  I am running 0.9.1b - maybe that's the problem.  How can I
download a newer beta? (i.e. 9.1g/ 9.2, etc?)

After looking into the news application, I see how to get orion to read the
form page, and that part is working great.  Now, if I can only get the
<user-manager> to configure properly...:P

Thanks for our help,
Jeremy Pierson

-----Original Message-----
From: Noah Nordrum [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 25, 2000 2:18 AM
To: Jeremy Pierson
Subject: Re: User Authentication and Session Beans


<parameter>
aparently its updated in the docs, but not in the PUBLISHED docs :)

I looked at the DTD to figure this one out :)
Login via HTML form, is easily one of my favorite features in Orion(yeah, I
know, but it's just SO COOL!!).
add this to your web.xml, and modify as needed:

 <security-constraint>
  <web-resource-collection>
   <web-resource-name>Secure Location</web-resource-name>
   <url-pattern>/my/*</url-pattern>
   <url-pattern>/account/*</url-pattern>
   <http-method>*</http-method>
  </web-resource-collection>
  <auth-constraint>
   <role-name>users</role-name>
  </auth-constraint>
 </security-constraint>

 <login-config>
  <auth-method>FORM</auth-method>
  <form-login-config>
   <form-login-page>/login.jsp</form-login-page>
   <form-error-page>/login-error.jsp</form-error-page>
  </form-login-config>
 </login-config>


Have fun,

Noah Nordrum
[EMAIL PROTECTED]
Hyperride Technologies

Reply via email to