[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2005-01-14 Thread [EMAIL PROTECTED]
Changed for 4.0.1, the command line is as follows:

$ java -cp 
"lib/jboss-jmx.jar;lib/jboss-common.jar;server/default/lib/jboss-jca.jar;server/default/lib/jbosssx.jar"
 
org.jboss.resource.security.SecureIdentityLoginModule password
Encoded password: 5dfc52b51bd35553df8592078de921bc


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862133#3862133

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862133


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-07-07 Thread agent82_a
"burrifro" wrote : 
  | So what is sent to the database, the hashed password? How does the database know 
it is the hash?
  | 
It's an encrypted form of the password, not the hashed of the password. The encrypted 
form of the password will be decrypted before sending it to the database.  
If it is a hashed password, then there's no way to convert that hash value to the 
original password.

correct me if i'm wrong.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841304#3841304

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841304


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-07-07 Thread agent82_a
It's an encrypted form of the password, not the hashed of the password. The encrypted 
form of the password will be decrypted before sending it to the database.  
If it is a hashed password, then there's no way to convert that hash value to the 
original password.

correct me if i'm wrong.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841303#3841303

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841303


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-06-24 Thread burrifro
I keep getting the following error message.  Does anyone know this means?

2004-06-24 16:14:02,031 ERROR 
[org.jboss.resource.security.AbstractPasswordCredentialLoginModule] The 
ConnectionManager mbean: jboss.jca:servce=LocalTxCM,name=OracleDB specified in a 
ConfiguredIdentityLoginModule could not be found. ConnectionFactory will be unusable!
2004-06-24 16:14:02,031 INFO  [STDOUT] java.lang.SecurityException: Invalid 
authentication attempt, principal=null

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839891#3839891

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839891


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-06-23 Thread burrifro
So what is sent to the database, the hashed password?  How does the database know it 
is the hash?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839746#3839746

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839746


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-06-15 Thread nuwunuwu
Can not generate encoded password using  IndentityLoginModule.

I included jce.jar and jboss-jaas.jar, otherwise there was another exception.

F:\jboss-3.2.4RC1>java -cp C:\j2sdk1.4.1_03\jre\lib\jce.jar;F:\jboss-3.2.4RC1\cl
ient\jboss-jaas.jar;lib\jboss-jmx.jar;lib\jboss-common.jar;server\default\deploy
\jboss-jca.jar;server\default\lib\jbosssx.jar org.jboss.resource.security.Secure
IdentityLoginModule password
Exception in thread "main" java.lang.NoSuchMethodError
at javax.crypto.SunJCE_b.(DashoA6275)
at javax.crypto.Cipher.a(DashoA6275)
at javax.crypto.Cipher.getInstance(DashoA6275)
at org.jboss.resource.security.SecureIdentityLoginModule.encode(SecureId
entityLoginModule.java:131)
at org.jboss.resource.security.SecureIdentityLoginModule.main(SecureIden
tityLoginModule.java:161)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838908#3838908

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838908


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-04-14 Thread emmaueze
everything seem to be fine now.  I added the authentication tag to login-config.xml 
and it works. so everything now looks like this:




theuser
3f1eade193525626
jboss.jca:service=LocalTxCM,name=MYDATASRC





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830586#3830586

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830586


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-04-12 Thread cylim
Hi emmaueze,

I having the same problem as you. Have you found any solution for this issue?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830259#3830259

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830259


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-04-07 Thread emmaueze
I have got JBoss-3.2.4RC1 and succeeded in generating the encryted password but Jboss 
keep throwing the following exception each time I try to access a page that makes a DB 
connection via JNDI :
java.lang.SecurityException: Invalid authentication attempt, principal=null

I added the following lines to login-config.xml:

 
 theuser
 3f1eade193525626
 jboss.jca:service=LocalTxCM,name=MYDATASRC
  
   



I also added the following line to mssql-ds.xml
MsqlDbRealm

I'm connecting to an MSSQL 2000 DB.  Everything is normally alright when I supply my 
DB username and password directly in mssql-ds.xml

How do I get the encrypted DB factory password to work?

Thanks
Emmanuel

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829644#3829644

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829644


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-03-30 Thread [EMAIL PROTECTED]
It is in jboss-3.2.4RC1

Regards,
Adrian

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828229#3828229

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828229


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-03-30 Thread emmaueze
I ran it but it threw the following Exception :

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/jboss/resource/security/SecureIdentityLoginModule 

I'm running Jboss-3.2.3.

Thanks
Emmanuel

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828182#3828182

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828182


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-03-30 Thread [EMAIL PROTECTED]
Get the SecureIdentityLoginModule code and look at the main method.


  | [EMAIL PROTECTED] jboss-3.2.4RC2]$ java -cp 
'lib/jboss-jmx.jar;lib/jboss-common.jar;server/default/deploy/jboss-jca.sar;server/default/lib/jbosssx.jar'
  |   org.jboss.resource.security.SecureIdentityLoginModule password
  | Encoded password: 5dfc52b51bd35553df8592078de921bc
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828180#3828180

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828180


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-03-30 Thread emmaueze
How do I generate the ecrypted password to use in conf/login-config.xml file?

Thanks
Emmanuel

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828171#3828171

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828171


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user