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

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 fixedcolorparam0C0C,2121,A8A8/parambiggerAre you calling ds.getConnection() or ds.getConnection(user, pw)? /bigger/color/fixed the last one. /excerpt If you call

Re: [JBoss-dev] OracleLoginModule

2003-02-04 Thread David Jencks
snip 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

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

[JBoss-dev] OracleLoginModule

2003-02-03 Thread Stefano Maestri
Hi guys, I wrote a login module specific for Oracle DataBase, that try to authenticate a user on Oracle DataSource and map Oracle Role on J2ee Role. I think it could be very interesting for guys that have jboss and Oracle together, because you could manage roles and user just in one

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

RE: [JBoss-dev] OracleLoginModule

2003-02-03 Thread Sonnek, Ryan
, 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. Offhand it s

RE: [JBoss-dev] OracleLoginModule

2003-02-03 Thread Stefano Maestri
[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 in the sourceforge tracker? Otherwise I may

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
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 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.