Re: Connecting to a JMS using Jython and PLAIN passwords

Jeff Emanuel <[email protected]>
Newsgroups gmane.comp.lang.jython.user
Message-ID <[email protected]>
The code in the quote belows uses strings with your field names as keys, not the field values.
Omit the apostrophes:

environment[Context.SECURITY_PRINCIPAL] = self.user
environment[Context.SECURITY_CREDENTIALS] = self.password




On 5/27/2015 11:23 AM, HADDLETON, Robert W (Bob) wrote:
> >environment['Context.SECURITY_PRINCIPAL'] = self.user
> >environment['Context.SECURITY_CREDENTIALS'] = self.password


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.