Class Controls
- java.lang.Object
-
- org.forgerock.opendj.ldap.controls.Controls
-
public final class Controls extends Object
Utility class to resolve controls OID from aliases.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getControlOidForAlias(String alias)
Returns the control OID associated with the provided control "friendly name" alias or the provided alias if no OID has been found.static boolean
isControlAlias(String alias)
Returnstrue
if the provided alias is a known user friendly name of a control.
-
-
-
Method Detail
-
getControlOidForAlias
public static String getControlOidForAlias(String alias)
Returns the control OID associated with the provided control "friendly name" alias or the provided alias if no OID has been found.- Parameters:
alias
- Friendly name alias to resolve- Returns:
- The control OID associated with the provided control "friendly name" alias or the provided alias if no OID has been found.
-
isControlAlias
public static boolean isControlAlias(String alias)
Returnstrue
if the provided alias is a known user friendly name of a control.- Parameters:
alias
- Friendly name alias to resolve- Returns:
true
if the provided alias is a known user friendly name of a control.
-
-