|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.util.connector.DNStandardiser
public class DNStandardiser
| Constructor Summary | |
|---|---|
DNStandardiser()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
standardise(org.springframework.ldap.core.DistinguishedName dn,
boolean forceProperStandard)
|
static java.lang.String |
standardise(java.lang.String dn,
boolean forceProperStandard)
Converts a DN string into a "standard" DN string representation consummable by caches. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DNStandardiser()
| Method Detail |
|---|
public static java.lang.String standardise(java.lang.String dn,
boolean forceProperStandard)
forceProperStandard
is false, then the compact (spaceless)
comma delimited DNs are transformed to lower case.
This method assumes that the DNs are case-insensitive.
If it is not known whether the directory server
will return spaceless or spaced commas, we need
to use the full DN standardisation. Set
forceProperStandard to true
for the significantly slower, 100% effective,
standardisation. This method also assumes nothing
about the case of DNs.
dn - original DN.forceProperStandard - true if you
want to enforce the slow but effective standardisation process.
public static java.lang.String standardise(org.springframework.ldap.core.DistinguishedName dn,
boolean forceProperStandard)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||