ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Encrypt and decrypt passwords in Properties file for JavaCN

Post new topic  Reply to topic
 Encrypt and decrypt passwords in Properties file for JavaCN « View previous topic :: View next topic » 
Author Message
EricCox
PostPosted: Fri Jan 24, 2014 3:17 pm    Post subject: Encrypt and decrypt passwords in Properties file for JavaCN Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

To all,

We need to build message flows which use Java Compute Nodes with external properties files. What is suggested method for encrypting and decrypting passwords in the properties files so that the sensitive uname/pwd is not exposed in clear text yet is available/able to be pulled into the JCN and used for authentication?

Thanks,
EMC
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jan 25, 2014 3:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Eric,

Use the configurable setup in broker
username= identity:username
password = identity:passsword

and setmqsidbparms -n identity -u user -p password.

This automatically encrypts the password...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Sat Jan 25, 2014 4:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

FJ - mqsisetdbparms values are obfuscated but not encrypted. It's also not clear, off the top of my head, that you can access them from a JCN as usable values. i.e. that there's a Java method that will return a username/password from an identity.

So I don't know that either of those things help.

If EricCox is trying to set the username/password for any of the predefined nodes that can use setdbparms values, then yes you're correct that he should use that instead of manually supplying the credentials.

Otherwise you need to "normal" java methods to encrypt and decrypt data that is stored in files.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Encrypt and decrypt passwords in Properties file for JavaCN
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.