You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Cesar <ce...@uol.com.br> on 2003/06/27 15:54:29 UTC
Password DataBase
Hi
Somebody knows as to work with encryp password from Data Base in ojb?
[ ]´s
Re: Password DataBase
Posted by "David C. Hicks" <dh...@i-hicks.org>.
I added a password encryption capability to a security framework back in
the fall using OJB as my persistence mechanism. OJB itself had nothing
to do with the encryption, though - only as persistence. I simply used
a Blowfish implementation to encrypt the passwords and then had OJB
store that data in a VARBINARY type field (I used Oracle's RAW type).
You have to leave enough room in your receiving field to hold any
padding bytes that your encryption algorithm may add. Otherwise, it's
very straightforward.
Cesar wrote:
> Hi
>
>Somebody knows as to work with encryp password from Data Base in ojb?
>
>[ ]´s
>
>
>
>
Re: Password DataBase
Posted by "David C. Hicks" <dh...@i-hicks.org>.
If you don't already know the password, you'll need your administrator
to change it for you. OJB isn't going to help you in this regard
because most database vendors don't publish their encryption keys.
Cesar wrote:
>Hi Thomas
>My question is about the password to conect to DataBase.
>
>----- Original Message -----
>From: "Thomas Mahler" <th...@web.de>
>To: "OJB Users List" <oj...@db.apache.org>
>Sent: Friday, June 27, 2003 3:21 PM
>Subject: Re: Password DataBase
>
>
>Hi Cesar,
>
>de-/encryption between application and database can be done by a
>FieldConversion.
>FieldConversions are explained in jdbc-types.html.
>
>in java2Sql(..) you'll implement the encryption
>and in sql2Java you'll implement decryption.
>
>cheers,
>Thomas
>
>
>Cesar wrote:
>
>
>> Hi
>>
>>Somebody knows as to work with encryp password from Data Base in ojb?
>>
>>[ ]´s
>>
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>
Re: Password DataBase
Posted by Cesar <ce...@uol.com.br>.
Hi Thomas
My question is about the password to conect to DataBase.
----- Original Message -----
From: "Thomas Mahler" <th...@web.de>
To: "OJB Users List" <oj...@db.apache.org>
Sent: Friday, June 27, 2003 3:21 PM
Subject: Re: Password DataBase
Hi Cesar,
de-/encryption between application and database can be done by a
FieldConversion.
FieldConversions are explained in jdbc-types.html.
in java2Sql(..) you'll implement the encryption
and in sql2Java you'll implement decryption.
cheers,
Thomas
Cesar wrote:
> Hi
>
> Somebody knows as to work with encryp password from Data Base in ojb?
>
> [ ]´s
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Password DataBase
Posted by Thomas Mahler <th...@web.de>.
Hi Cesar,
de-/encryption between application and database can be done by a
FieldConversion.
FieldConversions are explained in jdbc-types.html.
in java2Sql(..) you'll implement the encryption
and in sql2Java you'll implement decryption.
cheers,
Thomas
Cesar wrote:
> Hi
>
> Somebody knows as to work with encryp password from Data Base in ojb?
>
> [ ]´s
>
>