|
|
|
|
|
|
| Author |
Message |
dave.mcneil@bell.remove-t *nix forums beginner
Joined: 07 Jun 2006
Posts: 3
|
Posted: Tue Jul 18, 2006 3:58 pm Post subject:
Tomcat user authentication question.
|
|
|
Hello all,
We are running an OpenVMS 7.3-2 on an Alpha, with CSWS 2.0 and Tomcat
5.5.9. Some of our static html pages require user authentication which
Apache handles by validating their web logon with their VMS userid. An
example from httpd.conf:
<Directory "/apache$documents/dave">
AuthType Basic
AuthAuthoritative On
AuthName "ICSIS Bell-ATS Authentication"
AuthOpenVMSUser On
AuthOpenVMSAuthoritative On
require valid-user
</Directory>
I am trying to implement user authentication with Tomcat (Java
servlets) and I would like to use a similar method where Tomcat
validates their web logon against their VMS userid.
I'm hoping that HP made some OpenVMS specific tags for web.xml for
BASIC authentication, but I haven't found them.
Does anyone know how to accomplish this?
Dave |
|
| Back to top |
|
 |
Rick Barry *nix forums beginner
Joined: 17 Oct 2005
Posts: 6
|
Posted: Wed Jul 19, 2006 9:04 pm Post subject:
Re: Tomcat user authentication question.
|
|
|
CSWS_JAVA (Tomcat) does not yet contain a built-in authentication mechanism
for OpenVMS. You could architect such a mechanism using JAAS and Tomcat's
JAAS Realm plug-in, but you'll need to do a bit of coding using the JNI
interface. We may add this to a future version of CSWS_JAVA. In the
meantime, you need to roll your own.
Rick Barry
OpenVMS System Software Group
Hewlett Packard Company
"Dave McNeil" <dave.mcneil@bell.ca> wrote in message
news:1153238326.433552.109210@m79g2000cwm.googlegroups.com...
| Quote: | Hello all,
We are running an OpenVMS 7.3-2 on an Alpha, with CSWS 2.0 and Tomcat
5.5.9. Some of our static html pages require user authentication which
Apache handles by validating their web logon with their VMS userid. An
example from httpd.conf:
Directory "/apache$documents/dave"
AuthType Basic
AuthAuthoritative On
AuthName "ICSIS Bell-ATS Authentication"
AuthOpenVMSUser On
AuthOpenVMSAuthoritative On
require valid-user
/Directory
I am trying to implement user authentication with Tomcat (Java
servlets) and I would like to use a similar method where Tomcat
validates their web logon against their VMS userid.
I'm hoping that HP made some OpenVMS specific tags for web.xml for
BASIC authentication, but I haven't found them.
Does anyone know how to accomplish this?
Dave
|
|
|
| Back to top |
|
 |
Arne Vajhøj *nix forums addict
Joined: 31 Jul 2005
Posts: 59
|
Posted: Thu Jul 20, 2006 1:58 am Post subject:
Re: Tomcat user authentication question.
|
|
|
Dave McNeil wrote:
| Quote: | We are running an OpenVMS 7.3-2 on an Alpha, with CSWS 2.0 and Tomcat
5.5.9.
I am trying to implement user authentication with Tomcat (Java
servlets) and I would like to use a similar method where Tomcat
validates their web logon against their VMS userid.
I'm hoping that HP made some OpenVMS specific tags for web.xml for
BASIC authentication, but I haven't found them.
|
Write a java class that extends org.apache.catalina.realm.RealmBase
and use JNI to call some C code that do the validation and add
that to server.xml.
Arne |
|
| Back to top |
|
 |
Tom Linden *nix forums Guru
Joined: 06 May 2002
Posts: 841
|
Posted: Thu Jul 20, 2006 12:45 pm Post subject:
Re: Tomcat user authentication question.
|
|
|
On Wed, 19 Jul 2006 14:04:46 -0700, Rick Barry <richard.barry@hp.com>
wrote:
| Quote: | CSWS_JAVA (Tomcat) does not yet contain a built-in authentication
mechanism
for OpenVMS. You could architect such a mechanism using JAAS and Tomcat's
JAAS Realm plug-in, but you'll need to do a bit of coding using the JNI
interface. We may add this to a future version of CSWS_JAVA. In the
meantime, you need to roll your own.
Rick Barry
OpenVMS System Software Group
|
Alternatively, you use a web server designed for VMS, WASD |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Dec 04, 2008 3:16 am | All times are GMT
|
|
Loans | MPAA | Loans | Homeowner Loans | Proxy
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|