1 | String getClassname()↵ | | 1 | String getUsername()↵
|
2 | {↵ | | |
|
3 | ↵ | | 2 | {↵
|
4 | return getPropertyAsString(CLASSNAME);↵ | | 3 | return getPropertyAsString(↵
|
5 | }↵ | | |
|
6 | ↵ | | |
|
7 | ↵ | | 4 | PRINCIPAL);↵
|
| | | 5 | }↵
|
|
8 | /**↵ | | 6 | /**↵
|
9 | * Set the string label used to create an instance of the↵ | | 7 | * Set the ↵
|
10 | * test with the string constructor.↵ | | |
|
11 | * @param constr↵ | | |
|
12 | ↵ | | 8 | password to login to the jms server↵
|
| | | 9 | * ↵
|
| | | 10 | * @param pwd↵
|
13 | */↵ | | 11 | */↵
|
14 | public void setConstructorString(String constr)↵ | | 12 | public void set↵
|
15 | {↵ | | |
|
16 | setProperty(CONSTRUCTORSTRING,constr);↵ | | |
|
17 | }↵ | | |
|
18 | ↵ | | |
|
19 | /**↵ | | |
|
20 | * get the string passed to the string constructor↵ | | |
|
21 | ↵ | | 13 | Password(String pwd) {↵
|
| | | 14 | setProperty(CREDENTIALS, pwd);↵
|
| | | 15 | }↵
|
|
| | | 16 | /**↵
|
| | | 17 | * return the password used to login to the jms server↵
|
| | | 18 | * ↵
|
| | | 19 | * @return the password used to login to the jms server↵
|
22 | */↵ | | 20 | */↵
|
23 | public String getConstructorString()↵ | | 21 | public String get↵
|
24 | {↵ | | |
|
25 | ↵ | | 22 | Password() {↵
|
26 | return getPropertyAsString(CONSTRUCTORSTRING);↵ | | 23 | return getPropertyAsString(C↵
|
27 | | | 24 | REDENTIALS);↵
|
| | | 25 |
|