[JBoss-user] [Security & JAAS/JBoss] - Re: how to secure passwords in login-config.xml ?

2004-08-31 Thread AndrejsOpsis
Everything works fine with config  ( may be it bacause of CASE for keys username, 
password, and  jboss.jca:service=TxCM not XaTxCM   I don't know I absolute newbie 
sorry)  :


  |
  |   
  |sysdba
  |667f11fbdfef90b6d7b145018f031a36
  |jboss.jca:service=TxCM,name=IBAuthDS1
  |true
  |  
  |
  | 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: how to secure passwords in login-config.xml ?

2004-08-26 Thread AndrejsOpsis
I studied docs and your link about securing datasource passwords.
Tried to make as written, but it doesn't works in my situation.

IDEA: Client is authentificated using  DB via "DatabaseServerLoginModule"
  Client sends plain password but on server it is hashed in compared
  with passwd field value that also is hashed
  I need hide password in -ds.xml.
  Client App logins to server using Security domain "IBAuthDomain"
  user name and password is stored in DB in hashed view.
This configs works fine while 
   datasource  not using IBSimpleDomain
   but use sysdba masterkey in -ds.xml.

If I 
   comment in -ds.xml 
 sysdba
  |  masterkey

uncomment 
  

   Error occures because principal = null


Whats wrong ?
Thanks.


FILE: D:\JAVA\jboss-3.2.5\server\all\conf\login-config.xml 
  | 
  | #
  | 
  | 
  |
  |   
  |   sysdba
  |   667f11fbdfef90b6d7b145018f031a36
  |   jboss.jca:servce=LocalTxCM,name=IBAuthDS1
  |true
  |  
  |
  | 
  | 
  | 
  | 
  |
  |
  |  MD5
  |  base64
  |  java:/IBAuthDS1
  |  select USER_PASS from USERS u 
where u.USER_NAME=?
  |  
  |SELECT ROLE_NAME, 'Roles'
  |FROM USERS U, USERS_GROUPS UG, GROUPS G,
  |GROUPS_ROLES GP, ROLES R
  |WHERE U.USER_ID = UG.USER_ID AND UG.GROUP_ID = G.GROUP_ID AND
  |  G.GROUP_ID = GP.GROUP_ID AND GP.ROLE_ID = R.ROLE_ID
  |  AND U.USER_NAME = ?
  |  
  |  true
  |
  |
  | 
  | 
  | 
  | 
  | #
  | 
  | FILE: D:\JAVA\jboss-3.2.5\server\all\deploy\ibauth-ds.xml 
  | 
  | #
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  |  IBAuthDS1
  |  
  |  Firebird Database Connector
  |  localhost/3050:D:/JWORK/db/jfina.fdb
  |sysdba
  |masterkey
  | 
  |  5
  |
  | 
  | 

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - how to secure passwords in login-config.xml ?

2004-08-23 Thread AndrejsOpsis
the file login-config.xml contains plain password masterkey:
===



sysdba
sysdba
 masterkey 
jboss.jca:service=XaTxCM,name=FirebirdDS




=
how to secure passwords in login-config.xml ? 

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - [Security & JAAS/JBoss] how to secure passwords in login-co

2004-08-23 Thread AndrejsOpsis
the file login-config.xml contains plain password masterkey:
===

   
  
 sysdba
 sysdba
 masterkey
 jboss.jca:service=XaTxCM,name=FirebirdDS
  
   


=
how to secure passwords in login-config.xml ?


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user