1 | String getDefaultValue() {↵ | | 1 | String getUsername() {↵
|
2 | return getPropertyAsString(DEFAULT);↵ | | 2 | return getPropertyAsString(PRINCIPAL);↵
|
3 | }↵ | | 3 | }↵
|
|
| | | 4 | /**↵
|
| | | 5 | * Set the password to login to the jms server↵
|
| | | 6 | * ↵
|
| | | 7 | * @param pwd↵
|
| | | 8 | */↵
|
4 | public void setTemplate(String template) {↵ | | 9 | public void set↵
|
5 | setProperty(TEMPLATE, template);↵ | | |
|
6 | }↵ | | |
|
| | | 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 | */↵
|
7 | public String getTemplate() {↵ | | 18 | public String getPassword() {↵
|
8 | return getPropertyAsString(TEMPLATE);↵ | | 19 | return getPropertyAsString(CREDENTIALS);↵
|
9 | | | 20 |
|