public class AMCommonUtils extends Object implements AMConstants
com.iplanet.am.sdk
package.Modifier and Type | Field and Description |
---|---|
protected static Map |
creationtemplateMap
Deprecated.
|
protected static boolean |
integrateLocale
Deprecated.
|
protected static Map |
statusAttributeMap
Deprecated.
|
protected static Map |
supportedEntitiesBasedOnName
Deprecated.
|
protected static Map |
supportedEntitiesBasedOnType
Deprecated.
|
protected static Map |
supportedNames
Deprecated.
|
protected static Map |
supportedTypes
Deprecated.
|
ADD_MEMBER, ADMIN_GROUPS_ENABLED_ATTR, ADMIN_ROLE_ATTR, ADMINISTRATION_SERVICE, CACHE_ENABLED_DISABLED_KEY, CACHE_MAX_SIZE_KEY, COMPLIANCE_SPECIAL_FILTER_ATTR, COMPLIANCE_USER_DELETION_ATTR, CONTAINER_DEFAULT_TEMPLATE_ROLE, CONTAINER_SUPPORTED_TYPES_ATTRIBUTE, DCT_ATTRIBUTE_LIST_ATTR, DCT_ENABLED_ATTR, DOMAIN_ADMINISTRATORS, DOMAIN_HELP_DESK_ADMINISTRATORS, EMAIL_ATTRIBUTE, FILTER_ATTR_NAME, INET_ADMIN_OBJECT_CLASS, INET_DOMAIN_STATUS_ATTR, INET_DOMAIN_STATUS_ATTRIBUTE, INVALID_USERID_CHARACTERS, OTHER_COSATTR_TYPE, POLICY_COSATTR_TYPE, POLICY_SUFFIX, PRE_POST_PROCESSING_MODULES_ATTR, REMOVE_ATTRIBUTE, REMOVE_MEMBER, REQUIRED_SERVICES_ATTR, ROLE_MANAGED_CONTAINER_DN_ATTRIBUTE, SCOPE_BASE, SCOPE_ONE, SCOPE_SUB, SERVICE_STATUS_ATTRIBUTE, STATIC_GROUP_DN_ATTRIBUTE, SUBSCRIBABLE_ATTRIBUTE, UNIQUE_ATTRIBUTE_LIST_ATTRIBUTE, UNIQUE_MEMBER_ATTRIBUTE, USER_CREATE_NOTIFICATION_LIST, USER_DELETE_NOTIFICATION_LIST, USER_ENCRYPTED_PASSWORD_ATTRIBUTE, USER_ENTRY_PROCESSING_IMPL, USER_MODIFY_NOTIFICATION_LIST, USER_PASSWORD_ATTRIBUTE, USER_SEARCH_RETURN_ATTR, USERID_PASSWORD_VALIDATION_CLASS
Constructor and Description |
---|
AMCommonUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static Map |
attrSetToMap(AttrSet attrSet)
Deprecated.
|
protected static Map |
attrSetToMap(AttrSet attrSet,
boolean fetchByteValues)
Deprecated.
Method to convert a AttrSet object to Map.
|
protected static AttrSet |
combineAttrSets(AttrSet attrSet1,
AttrSet attrSet2)
Deprecated.
Combines 2 AttrSets and returns the result set.
|
static Set |
combineOCs(Set one,
Set two)
Deprecated.
Combines two sets which contains objectclass values of an entry in a case
insensitive manner.
|
protected static String |
getPrincipalDN(SSOToken token)
Deprecated.
Gets the principal DN String in RFC lowercase format from the SSOToken
|
protected static Set |
getSetCopy(Set values)
Deprecated.
|
protected static Set |
getSupportedEntityTypes()
Deprecated.
Returns a Set of supported entity types
|
protected static String |
getUserLocale(SSOToken token)
Deprecated.
Method to get the user locale.
|
protected static boolean |
isExternalGetAttributesEnabled(String orgDN)
Deprecated.
Method to check if the CallBack plugins are enabled for reading external
attributes.
|
protected static boolean |
isObjectClassPresent(Set objectClasses,
String objectClass)
Deprecated.
Method to compare all the object classes in the Set with the specfied
object class.
|
protected static String |
mapByteToString(Map map)
Deprecated.
|
protected static String |
mapSetToString(Map map)
Deprecated.
|
protected static AttrSet |
mapToAttrSet(Map map)
Deprecated.
Method to convert a Map to AttrSet.
|
protected static AttrSet |
mapToAttrSet(Map map,
boolean byteValues)
Deprecated.
Method to convert a Map to AttrSet.
|
protected static Map |
mergeMaps(Map mapA,
Map mapB)
Deprecated.
Merge the values in two maps and return the result map.
|
protected static boolean |
populateManagedObjects()
Deprecated.
|
protected static void |
populateManagedObjectsWithDefaults()
Deprecated.
|
static Map |
removeEmptyValues(Map attrMap)
Deprecated.
Removes Empty sets from attribute-value maps.
|
protected static Set |
stringArrayToSet(String[] strs)
Deprecated.
Method to convert a String array to a set
|
static Set |
updateAndGetRemovableOCs(Set origSet,
Set removeOCs)
Deprecated.
Method which removes the specified object class from original set and
returns the set of object classes that were removed.
|
protected static Map supportedTypes
protected static Map supportedEntitiesBasedOnType
protected static Map supportedEntitiesBasedOnName
protected static Map supportedNames
protected static Map creationtemplateMap
protected static Map statusAttributeMap
protected static boolean integrateLocale
protected static String getUserLocale(SSOToken token)
token
- SSOToken of the authenticated userprotected static AttrSet combineAttrSets(AttrSet attrSet1, AttrSet attrSet2)
attrSet1
- the first AttrSetattrSet2
- the second AttrSetprotected static Map mergeMaps(Map mapA, Map mapB)
mapA
- the first mapmapB
- the second mapprotected static Set stringArrayToSet(String[] strs)
strs
- the String arrayprotected static Map attrSetToMap(AttrSet attrSet, boolean fetchByteValues)
attrSet
- the AttrSet to be converted to a MapfetchByteValues
- if false stringValues are added, if true byteValues are added.protected static AttrSet mapToAttrSet(Map map)
map
- a map contaning attribute names as keys and a Set of attribute
values corresponding to each map key.protected static AttrSet mapToAttrSet(Map map, boolean byteValues)
map
- a map contaning attribute names as keys and a Set of attribute
values corresponding to each map key.byteValues
- if true then values are bytes otherwise stringsprotected static String getPrincipalDN(SSOToken token) throws SSOException
token
- a valid SSOTokenSSOException
- if the token is not validpublic static Set combineOCs(Set one, Set two)
protected static boolean isObjectClassPresent(Set objectClasses, String objectClass)
objectClasses
- Set of object classesobjectClass
- the specified object classpublic static Set updateAndGetRemovableOCs(Set origSet, Set removeOCs)
origSet
- the original SetremoveOCs
- the Set of object classes to be removedpublic static Map removeEmptyValues(Map attrMap)
attrMap
- protected static boolean populateManagedObjects()
protected static Set getSupportedEntityTypes()
protected static boolean isExternalGetAttributesEnabled(String orgDN)
protected static void populateManagedObjectsWithDefaults()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.