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 » how to read user/pass in javacompute set by mqsisetdbparms

Post new topic  Reply to topic
 how to read user/pass in javacompute set by mqsisetdbparms « View previous topic :: View next topic » 
Author Message
lium
PostPosted: Mon Feb 14, 2011 8:44 am    Post subject: how to read user/pass in javacompute set by mqsisetdbparms Reply with quote

Disciple

Joined: 17 Jul 2002
Posts: 184

For some reason, I have to use JavaMail to send email to Gmail Server.
I have to put the user/password somewhere.
I used the following command to setup a smtp identity:
mqsisetdbparms MyBroker -n smtp::smtpIdentity -u userid -p password

Question, how can I read the user/pass in the java compute node?


Great Thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 14, 2011 8:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's likely not for "some reason", it's likely because you can't get an SSL connection.

There isn't a published API, that I am aware of, that will let you access the values stored by mqsisetdbparms.
Back to top
View user's profile Send private message
lium
PostPosted: Mon Feb 14, 2011 9:04 am    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2002
Posts: 184

Thanks, MQJeff

Yeah, the reason is the EmailOutput does not support TLS/SSL.
I don't know if it support multiple attachment, but don't care about that now.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 14, 2011 9:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

EmailOutput supports the MIME message domain, which allows you to build any valid MIME document, including a multiple attachment email.

You might be able to configure a local SSL tunnel to connect from a port on the Broker machine to the Gmail server, and achieve SSL that way - thus the EmailOutput node would think it was talking plain TCP, and the tunnel would forward over SSL to Gmail.

Maybe.

Storing the password, however, is not handle-able that way.
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 » how to read user/pass in javacompute set by mqsisetdbparms
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.