Package com.iplanet.am.sdk
Class AMServiceUtils
- java.lang.Object
-
- com.iplanet.am.sdk.AMServiceUtils
-
public class AMServiceUtils extends Object
Deprecated.As of Sun Java System Access Manager 7.1.This class has some of the most commonly used Service Management functionality.
-
-
Constructor Summary
Constructors Constructor Description AMServiceUtils()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static ServiceConfigcreateOrgConfig(SSOToken token, String orgDN, String serviceName, Map avPair)Deprecated.Create Service Template for a AMro profile, could be used to set policy to a profilestatic ServiceConfiggetOrgConfig(SSOToken token, String orgDN, String serviceName)Deprecated.Get organization config for the serviceprotected static SetgetServiceAttributeNames(SSOToken token, String serviceName, SchemaType type)Deprecated.Get attribute names for the specified Service and Schema Typeprotected static SetgetServiceAttributesWithQualifier(SSOToken token, String serviceName)Deprecated.Method to get the attribute names of a service with CosQualifier.static MapgetServiceConfig(SSOToken token, String serviceName, SchemaType type)Deprecated.Get service default config from SMSstatic booleanserviceHasSubSchema(SSOToken token, String serviceName, SchemaType schemaType)Deprecated.Returns true if the service has the subSchema.
-
-
-
Method Detail
-
getServiceAttributeNames
protected static Set getServiceAttributeNames(SSOToken token, String serviceName, SchemaType type) throws SMSException, SSOException
Deprecated.Get attribute names for the specified Service and Schema Type- Parameters:
token- SSOToken a valid SSOTokenserviceName- the service nametype- the SchemaType- Returns:
- the Set of attribute names for that specified Service and Schema Type
- Throws:
SMSExceptionSSOException
-
getServiceAttributesWithQualifier
protected static Set getServiceAttributesWithQualifier(SSOToken token, String serviceName) throws SMSException, SSOException
Deprecated.Method to get the attribute names of a service with CosQualifier. For example: Return set could be:
["iplanet-am-web-agent-allow-list merge-schemes", "iplanet-am-web-agent-deny-list merge-schemes"]This method only populates these attributes only for Dynamic attributes.
- Throws:
SMSExceptionSSOException
-
serviceHasSubSchema
public static boolean serviceHasSubSchema(SSOToken token, String serviceName, SchemaType schemaType) throws SMSException, SSOException
Deprecated.Returns true if the service has the subSchema. False otherwise.- Parameters:
token- SSOToken a valid SSOTokenserviceName- the service nameschemaType- service schema type (Dynamic, Policy etc)- Returns:
- true if the service has the subSchema.
- Throws:
SMSExceptionSSOException
-
getServiceConfig
public static Map getServiceConfig(SSOToken token, String serviceName, SchemaType type) throws SMSException, SSOException
Deprecated.Get service default config from SMS- Parameters:
token- SSOToken a valid SSOTokenserviceName- the service nametype- service schema type (Dynamic, Policy etc)- Returns:
- returns a Map of Default Configuration values for the specified service.
- Throws:
SMSExceptionSSOException
-
createOrgConfig
protected static ServiceConfig createOrgConfig(SSOToken token, String orgDN, String serviceName, Map avPair) throws SSOException, AMException
Deprecated.Create Service Template for a AMro profile, could be used to set policy to a profile- Parameters:
token- SSOTokenorgDN- DN of the org or org unitserviceName- Service NameavPair- attributes to be set- Returns:
- String DN of the newly created template
- Throws:
SSOExceptionAMException
-
getOrgConfig
public static ServiceConfig getOrgConfig(SSOToken token, String orgDN, String serviceName) throws SSOException, AMException
Deprecated.Get organization config for the service- Parameters:
token- SSOTokenorgDN- DN of the org or org unitserviceName- Service Name- Returns:
- ServiceConfig of the organization for the service
- Throws:
SSOExceptionAMException
-
-