NT Service and Home Directory

2003-11-19 Thread Graham Lounder
Hey all,

I'm running tomcat 4.1.29 as a service on a windows xp machine.  My webapp
uses some CORBA stuff and needs a jacorb.properties file located in my home
directory.  I've tried setting up the service to run using my user account
but it can't find the properties file in my home directory.  Is there anyway
to setup the service to run as if I was logged into the machine and ran
'catalina run'??

Cheers,
Graham


Graham Lounder - Java Developer
CARIS Spatial Components Division
[EMAIL PROTECTED]
Phone:  (506) 458-8533
Fax:(506) 459-3849 

NO BINDING CONTRACT WILL RESULT FROM THIS EMAIL UNTIL SUCH TIME
AS A WRITTEN DOCUMENT IS SIGNED ON BEHALF OF THE COMPANY.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Digested Passwords and Oracle 8.1.7

2002-10-23 Thread Graham Lounder
Thanks everyone for your answers.  I've decided to go with the *try and make
a connection* combined with a filter to do my authentication.  I may also
try the Realm again by putting the Oracle Encrypt Function around my
password field in the server.xml.  I'm not sure if this will work or not.

The reason we are using Oracle Logins for each user is because the main
application is all written in Oracle Stored Procedures (the stored
procedures write html files, ugh).  My app is an upgrade from a legacy app
which has to integrate with the new app as much as possible.

Thanks again,
Graham

-Original Message-
From: Ralph Einfeldt [mailto:ralph.einfeldt;uptime-isc.de]
Sent: October 23, 2002 5:17 AM
To: Tomcat Users List
Subject: AW: Digested Passwords and Oracle 8.1.7


That solution is not recommended:

- Connecting for each user counteracts
  the use of connection pools. For most
  databases connecting to a db takes much
  more time than performing a select on a
  given connection.

- To implement this you have to implement your
  own realm, as the db realm that is delivered
  with tomcat assumes that user, password and
  roles are store in tables and are accessed
  through a unique database user for all requests.

- Each user needs an own database account.

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:jattwood;hgmp.mrc.ac.uk]
 Gesendet: Mittwoch, 23. Oktober 2002 09:46
 An: [EMAIL PROTECTED]
 Betreff: RE: Digested Passwords and Oracle 8.1.7

 You could get Oracle to do the work for you by trying to connect
 to your database with the user's login name and password. If yu
 succeed then the password was valid, otherwise it isn't. That way
 you don't need to know the encryption algorithm.


--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Digested Passwords and Oracle 8.1.7

2002-10-22 Thread Graham Lounder
Hey all!

I was wondering if any has ever tried to use a Tomcat Realm directly to
Oracle's Username/Password table.

I found the table in SYSTEM.DBA_USERS which has the username and encrypted
password.  The problem is, I have no way of digesting the password.  Does
anyone know the algorithm Oracle uses to encrypted their passwords?  I've
checked MD5 and SHA but they don't seem to be it.  I tried MD2 but it Tomcat
doesn't seem to like it.

Any Ideas?

Thanks in advance,
Graham


  Graham Lounder
  Java Developer
  Spatial Components Division
  CARIS
  264 Rookwood Ave
  Fredericton NB E3B-2M2
  Office 506 462-4263
  Fax506 459-3849
  [EMAIL PROTECTED]
  http://www.spatialcomponents.com



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Digested Passwords and Oracle 8.1.7

2002-10-22 Thread Graham Lounder
I need the algorithm so I can encrypt a password.  The Tomcat Realm would
then compare the encrypted password to the encrypted password in the
database.  I don't need to decrypt the password.

Graham

-Original Message-
From: Wagoner, Mark [mailto:MWagoner;wild-flavors.com]
Sent: October 22, 2002 9:32 AM
To: 'Tomcat Users List'
Subject: RE: Digested Passwords and Oracle 8.1.7


I don't think you are supposed to be able decrypt the passwords.  In fact, I
would hope that you can't or Oracle would have a big problem.

-Original Message-
From: Graham Lounder [mailto:lounder;caris.com]
Sent: Tuesday, October 22, 2002 8:28 AM
To: [EMAIL PROTECTED]
Subject: Digested Passwords and Oracle 8.1.7


Hey all!

I was wondering if any has ever tried to use a Tomcat Realm directly to
Oracle's Username/Password table.

I found the table in SYSTEM.DBA_USERS which has the username and encrypted
password.  The problem is, I have no way of digesting the password.  Does
anyone know the algorithm Oracle uses to encrypted their passwords?  I've
checked MD5 and SHA but they don't seem to be it.  I tried MD2 but it Tomcat
doesn't seem to like it.

Any Ideas?

Thanks in advance,
Graham


  Graham Lounder
  Java Developer
  Spatial Components Division
  CARIS
  264 Rookwood Ave
  Fredericton NB E3B-2M2
  Office 506 462-4263
  Fax506 459-3849
  [EMAIL PROTECTED]
  http://www.spatialcomponents.com



--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org

--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org