1 | String getVarName() {↵ | | 1 | String getUsername() {↵
|
2 | return getPropertyAsString(VAR_NAME);↵ | | 2 | return getPropertyAsString(PRINCIPAL);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | ↵ | | 4 | /**↵
|
| | | 5 | * Set the password to login to the jms server↵
|
| | | 6 | * ↵
|
| | | 7 | * @param pwd↵
|
| | | 8 | */↵
|
5 | public void setFormat(String format) {↵ | | 9 | public void set↵
|
6 | setProperty(FORMAT, format);↵ | | |
|
7 | }↵ | | |
|
|
8 | public String getFormat() {↵ | | |
|
9 | ↵ | | 10 | Password(String pwd) {↵
|
| | | 11 | setProperty(CREDENTIALS, pwd);↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * return the password used to login to the jms server↵
|
| | | 15 | * ↵
|
| | | 16 | * @return the password used to login to the jms server↵
|
| | | 17 | */↵
|
| | | 18 | public String getPassword() {↵
|
10 | return getPropertyAsString(FORMAT);↵ | | 19 | return getPropertyAsString(↵
|
11 | | | 20 | CREDENTIALS);↵
|
| | | 21 |
|