Interface CrowdLdapName
- All Superinterfaces:
Comparable<Object>
- All Known Implementing Classes:
ImmutableLdapName
This interface represents the subset of LdapName functionality that is expected to be used by the Crowd code base. There should be no direct reference/use of LdapName outside this package.
The underlying implementation is immutable and also provides the expected implementations of toString(), hashCode() and equals().
This interface should always be used instead of LdapName. Instances should be obtained via CrowdLdapNameFactory.
It is notable that this interface does not extend Name. This approach is used to ensure that the set of mutator methods from the Name interface (add(), etc) are explicitly not available (and not accidentally used) through the Crowd code. At the point where a Name is required (for passing to external library code), the toImmutableLdapName() method should be called.
- Since:
- 5.3.0
- See Also:
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
size
int size() -
isEmpty
boolean isEmpty() -
getAll
Enumeration<String> getAll() -
get
-
toImmutableLdapName
Name toImmutableLdapName() -
getRdns
-