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 ------------------------------------------------------------------------------