1 | BasicAttribute getBasicAttribute(String name, String value) {↵ | | 1 | BasicAttribute getBasicAttribute(String name, String value) {↵
|
2 | BasicAttribute attr = new BasicAttribute(name, value);↵ | | 2 | BasicAttribute attr = new BasicAttribute(name, value);↵
|
3 | return attr;↵ | | 3 | return attr;↵
|
4 | }↵ | | 4 | }↵
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * Returns a formatted string label describing this sampler↵ | | 6 | * Returns a formatted string label describing this sampler Example output:↵
|
7 | * ↵ | | 7 | * ↵
|
8 | * @return a formatted string label describing this sampler↵ | | 8 | * @return a formatted string label describing this sampler↵
|
9 | */↵ | | 9 | */↵
|
10 | public String getLabel() {↵ | | 10 | public String getLabel() {↵
|
11 | return ("ldap://" + this.getServername() + ":" + getPort() ↵ | | 11 | return ("ldap://" + this.getServername() //$NON-NLS-1$↵
|
| | | 12 | + ":" + getPort() //$NON-NLS-1$↵
|
12 | + "/" + this.getRootdn());↵ | | 13 | + "/" + this.getRootdn()); //$NON-NLS-1$↵
|
13 | } | | 14 | }
|