Re: [JBoss-dev] OracleLoginModule

2003-02-06 Thread Stefano Maestri
Well I did it. I try to explain briefly what I did. I extended UsernamePasswordLoginModule, making user/password test and Roles recovery with a special connection made with DriverManager. Then I added code to make this LoginModule to be a LoginModule that knows it is working with a ManagedConnecti

Re: [JBoss-dev] OracleLoginModule

2003-02-04 Thread Stefano Maestri
More clear now. I'm sorry to took your time. So, I took a look, and I think I could do something like the CallerIdentityLoginModule adding a special connection from DriverManager to authenticate user over Oracle and get Roles. I'm going to try. Thanks alot for the support. I'll let ypu know how

Re: [JBoss-dev] OracleLoginModule

2003-02-04 Thread David Jencks
Well, I'm working on modification of the source. There some hack (I already tryied them and they work) to check the password and go on, but I'm trying to understand I could do something better implementing on JBoss the modified DES algorithm used by Oracle to make password check in a cleaner for

Re: [JBoss-dev] OracleLoginModule

2003-02-04 Thread Stefano Maestri
Il lun, 2003-02-03 alle 18:59, David Jencks ha scritto: q > > As I said it works only in ByApplication criteria > > > 0C0C,2121,A8A8Are you calling > ds.getConnection() or > > ds.getConnection(user, pw)? > > > the last one. > > > > If you call ds.getConnection(user, pw) you MUST NOT prov

Re: [JBoss-dev] OracleLoginModule

2003-02-03 Thread David Jencks
On Monday, February 3, 2003, at 12:01 PM, Stefano Maestri wrote: Il lun, 2003-02-03 alle 16:03, David Jencks ha scritto: I'm very interested in this login module. Can you supply it as a "patch" in the sourceforge tracker? Otherwise I may lose track of it before I can review and commit it. I'

Re: [JBoss-dev] OracleLoginModule

2003-02-03 Thread Stefano Maestri
Il lun, 2003-02-03 alle 16:03, David Jencks ha scritto: I'm very interested in this login module. Can you supply it as a "patch" in the sourceforge tracker? Otherwise I may lose track of it before I can review and commit it. I'd glad to do it when it will work in ByContainer Mode Offhand

Re: [JBoss-dev] OracleLoginModule

2003-02-03 Thread Luke Taylor
Sonnek, Ryan wrote: out of curiosity, could you say how you did this? i'm assuming that you're authenticating to the DBA_USERS and DBA_USER_ROLES tables, and this is something that i tried a while back. i got stuck being able to hash my login modules password to match oracles. there was no

RE: [JBoss-dev] OracleLoginModule

2003-02-03 Thread Stefano Maestri
m: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 9:04 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] OracleLoginModule I'm very interested in this login module. Can you supply it as a "patch&qu

RE: [JBoss-dev] OracleLoginModule

2003-02-03 Thread Sonnek, Ryan
, February 03, 2003 9:04 AMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-dev] OracleLoginModule I'm very interested in this login module. Can you supply it as a "patch" in the sourceforge tracker? Otherwise I may lose track of it before I can review and commit it. Offhan

Re: [JBoss-dev] OracleLoginModule

2003-02-03 Thread David Jencks
I'm very interested in this login module. Can you supply it as a "patch" in the sourceforge tracker? Otherwise I may lose track of it before I can review and commit it. Offhand it seems to me that the LoginModule should only work if the criteria was ByContainer. Are you calling ds.getConnection