1 | String getUsername() {↵ | | 1 | String getMethod() {↵
|
2 | return getPropertyAsString(PRINCIPAL);↵ | | 2 | return getPropertyAsString(METHOD);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | ↵
|
5 | * Set the password to login to the jms server↵ | | |
|
6 | * ↵ | | |
|
7 | * @param pwd↵ | | |
|
8 | */↵ | | |
|
9 | public void setPassword(String pwd) {↵ | | 5 | public void setContentEncoding(String value) {↵
|
10 | setProperty(CREDENTIALS, pwd);↵ | | 6 | setProperty(C↵
|
11 | }↵ | | |
|
|
12 | /**↵ | | |
|
13 | * return the password used to login to the jms server↵ | | |
|
14 | * ↵ | | |
|
15 | * @return the password used to login to the jms server↵ | | |
|
16 | */↵ | | |
|
17 | public String getPassword↵ | | 7 | ONTENT_ENCODING, value);↵
|
| | | 8 | }↵
|
|
18 | () {↵ | | 9 | public String getContentEncoding() {↵
|
19 | return getPropertyAsString(CREDENTIALS);↵ | | 10 | return getPropertyAsString(CONTENT_ENCODING);↵
|
20 | } | | 11 | }
|