Class SyncopeJexlFunctions
java.lang.Object
org.apache.syncope.core.provisioning.api.jexl.SyncopeJexlFunctions
Utility functions for usage with JEXL engine.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconnObjAttrValues
(ConnectorObject connObj, String name) Extracts the values of the attribute with given name from the given connector object, or empty list if not found.fullPath2Dn
(String fullPath, String attr) Converts realm's full path into the equivalent DN.fullPath2Dn
(String fullPath, String attr, String prefix) Converts realm's full path into the equivalent DN.
-
Constructor Details
-
SyncopeJexlFunctions
public SyncopeJexlFunctions()
-
-
Method Details
-
fullPath2Dn
Converts realm's full path into the equivalent DN. Example:/a/b/c
becomesou=c,ou=b,ou=a
.- Parameters:
fullPath
- realm's full pathattr
- attribute name for DN- Returns:
- DN equivalent of the provided full path
-
fullPath2Dn
Converts realm's full path into the equivalent DN. Example:/a/b/c
becomes,ou=c,ou=b,ou=a
, whenprefix
is","
- Parameters:
fullPath
- realm's full pathattr
- attribute name for DNprefix
- result's prefix- Returns:
- DN equivalent of the provided full path
-
connObjAttrValues
Extracts the values of the attribute with given name from the given connector object, or empty list if not found.- Parameters:
connObj
- connector objectname
- attribute name- Returns:
- the values of the attribute with given name from the given connector object, or empty list if not found
-