Package com.javahollic.jira.emh.api
Interface IJEMHLdapVelocityContextUtil
-
public interface IJEMHLdapVelocityContextUtil
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
expandDistributionGroupAddress(String groupEmailAddrStr)
Expose ability to get dist group member recipientsMap<String,List<Object>>
getUserAttributes(String fullLdapFilter, String[] requiredReturnAtts)
Map<String,List<Object>>
getUserAttributes(String fullLdapFilter, List<String> requiredReturnAtts)
LDAPUser
getUserDetails(String ldapUsername)
LDAPUser
getUserDetailsByEmailAddress(String emailAddress)
void
initWithConfig(LdapDetailsDTO dto)
boolean
isSetup()
Map<String,Map<String,List<Object>>>
search(String fullLdapFilter, String[] requiredReturnAtts, int maxResults)
List<LDAPUser>
searchWildcarded(String partialLdapFilter)
-
-
-
Method Detail
-
isSetup
boolean isSetup()
-
initWithConfig
void initWithConfig(LdapDetailsDTO dto)
-
getUserAttributes
Map<String,List<Object>> getUserAttributes(String fullLdapFilter, String[] requiredReturnAtts)
- Parameters:
fullLdapFilter
- for the resultrequiredReturnAtts
- that should be retrieved, can be 'null' to return all- Returns:
- map of attributes
-
getUserAttributes
Map<String,List<Object>> getUserAttributes(String fullLdapFilter, List<String> requiredReturnAtts)
-
search
Map<String,Map<String,List<Object>>> search(String fullLdapFilter, String[] requiredReturnAtts, int maxResults)
-
expandDistributionGroupAddress
List<String> expandDistributionGroupAddress(String groupEmailAddrStr)
Expose ability to get dist group member recipients- Parameters:
groupEmailAddrStr
- the group address to expand- Returns:
- a set of email address of the members of the group (expanded on attribute set within LDAP config > Expand attribute)
-
-