|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
how to read user/pass in javacompute set by mqsisetdbparms |
« View previous topic :: View next topic » |
Author |
Message
|
lium |
Posted: Mon Feb 14, 2011 8:44 am Post subject: how to read user/pass in javacompute set by mqsisetdbparms |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Feb 14, 2011 8:54 am Post subject: |
|
|
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 |
|
 |
lium |
Posted: Mon Feb 14, 2011 9:04 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Feb 14, 2011 9:14 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|