1 | String getSuccess(){↵ | | 1 | String getDomain() {↵
|
2 | return getPropertyAsString(SUCCESS);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
4 | ↵ | | |
|
5 | /**↵ | | |
|
6 | * set the success message↵ | | |
|
7 | * @param success↵ | | |
|
8 | */↵ | | |
|
9 | public↵ | | 3 | DOMAIN);↵
|
| | | 4 | }↵
|
|
10 | void setSuccess(String success){↵ | | 5 | public synchronized void setDomain(String ↵
|
11 | setProperty(SUCCESS,success);↵ | | |
|
12 | }↵ | | |
|
13 | ↵ | | |
|
14 | /**↵ | | |
|
15 | * get the success code defined by the user↵ | | |
|
16 | */↵ | | |
|
17 | public String getSuccessCode↵ | | 6 | domain) {↵
|
| | | 7 | setProperty(DOMAIN, domain);↵
|
| | | 8 | }↵
|
|
18 | (){↵ | | 9 | public synchronized String getRealm() {↵
|
19 | return getPropertyAsString(SUCCESSCODE);↵ | | 10 | return getPropertyAsString(↵
|
20 | }↵ | | |
|
|
21 | /**↵ | | |
|
22 | * set the succes code. the success code should↵ | | |
|
23 | * be unique.↵ | | |
|
24 | * @param code↵ | | |
|
25 | */↵ | | |
|
26 | public void setSuccessCode(String code){↵ | | |
|
27 | setProperty(SUCCESSCODE,code);↵ | | |
|
28 | ↵ | | 11 | REALM);↵
|
| | | 12 | }↵
|
|
| | | 13 | public synchronized void setRealm(String realm) {↵
|
| | | 14 | setProperty(REALM, realm);↵
|
29 | } | | 15 | }
|