niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » VMS
Tomcat user authentication question.
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
dave.mcneil@bell.remove-t
*nix forums beginner


Joined: 07 Jun 2006
Posts: 3

PostPosted: Tue Jul 18, 2006 3:58 pm    Post subject: Tomcat user authentication question. Reply with 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
Rick Barry
*nix forums beginner


Joined: 17 Oct 2005
Posts: 6

PostPosted: Wed Jul 19, 2006 9:04 pm    Post subject: Re: Tomcat user authentication question. Reply with 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
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

PostPosted: Thu Jul 20, 2006 1:58 am    Post subject: Re: Tomcat user authentication question. Reply with quote

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

PostPosted: Thu Jul 20, 2006 12:45 pm    Post subject: Re: Tomcat user authentication question. Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 3:16 am | All times are GMT
navigation Forum index » Not Unix » VMS
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix fatal authentication errors! JamesMaxwell Postfix 0 Tue Oct 28, 2008 3:37 pm
No new posts postfix smtp authentication using mysql stored user/pass rtresidd Postfix 0 Fri Oct 03, 2008 5:58 am
No new posts Newbie question: How to forward a domain to a mailbox? leei Postfix 0 Fri Aug 24, 2007 4:55 pm
No new posts Winbind problems for ADS authentication nlinley networking 1 Tue Sep 19, 2006 9:22 am
No new posts User Environment - export PATH variable paalepu AIX 0 Tue Sep 12, 2006 8:12 pm

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
[ Time: 0.2264s ][ Queries: 16 (0.1452s) ][ GZIP on - Debug on ]