1 | void setRegex(String regex) {↵ | | 1 | void setUsername(String user) {↵
|
2 | setProperty(REGEX, regex);↵ | | 2 | setProperty(↵
|
3 | }↵ | | |
|
| | | 3 | PRINCIPAL, user);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * return the username used to login to the jms server↵
|
| | | 7 | * ↵
|
| | | 8 | * @return the username used to login to the jms server↵
|
| | | 9 | */↵
|
4 | public String getRegex() {↵ | | 10 | public String getUsername() {↵
|
5 | return getPropertyAsString(REGEX);↵ | | 11 | return getPropertyAsString(PRINCIPAL);↵
|
6 | }↵ | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * Set the password to login to the jms server↵
|
| | | 15 | * ↵
|
| | | 16 | * @param pwd↵
|
| | | 17 | */↵
|
7 | public void setRefName(String refName) {↵ | | 18 | public void setPassword(String pwd) {↵
|
8 | setProperty(REFNAME, refName);↵ | | 19 | setProperty(CREDENTIALS, pwd);↵
|
9 | | | 20 |
|