1 | String getPort() {↵ | | 1 | String getTopic() {↵
|
2 | return getPropertyAsString(PORT);↵ | | 2 | return getPropertyAsString(TOPIC);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Sets the Rootdn attribute of the LDAPSampler object.↵ | | 5 | * set the ↵
|
6 | * ↵ | | |
|
7 | * @param newRootdn↵ | | |
|
8 | * the new rootdn value↵ | | 6 | username to login into the jms server if needed↵
|
| | | 7 | * ↵
|
| | | 8 | * @param user↵
|
9 | */↵ | | 9 | */↵
|
10 | public void setRootdn(String newRootdn) {↵ | | 10 | public void setUsername(String user) {↵
|
11 | this.setProperty(ROOTDN, newRootdn);↵ | | 11 | setProperty(PRINCIPAL, user);↵
|
12 | }↵ | | 12 | }↵
|
|
13 | /**↵ | | 13 | /**↵
|
14 | * Gets the Rootdn attribute of the LDAPSampler object.↵ | | 14 | * return the ↵
|
15 | * ↵ | | |
|
16 | * @return the Rootdn value↵ | | 15 | username used to login to the jms server↵
|
| | | 16 | * ↵
|
| | | 17 | * @return the username used to login to the jms server↵
|
17 | */↵ | | 18 | */↵
|
18 | public String getRootdn() {↵ | | 19 | public String getUsername() {↵
|
19 | return getPropertyAsString(ROOTDN);↵ | | 20 | return getPropertyAsString(PRINCIPAL);↵
|
20 | | | 21 |
|