Package com.sun.identity.policy
Class ConditionTypeManager
java.lang.Object
com.sun.identity.policy.ConditionTypeManager
Deprecated.
The class
ConditionTypeManager provides
methods to get a list of configured Condition
objects, and to obtain a factory object for it.-
Method Summary
Modifier and TypeMethodDescriptiongetCondition(String conditionType) Deprecated.Returns an instance of theConditiongiven the condition type name.getConditionTypeName(Condition condition) Deprecated.Returns the type of theConditionimplementation.Deprecated.Returns aSetof all valid condition type names defined by the policy service.getDisplayName(String conditionType) Deprecated.Gets the display name for the condition typegetI18NKey(String conditionType) Deprecated.Returns the I18N key to be used to localize the display name for the condition type name.protected StringgetI18NPropertiesFileName(String conditionType) Deprecated.Returns the I18N properties file name that should be used to localize display names for the given condition type.Deprecated.Returns aSetof valid condition type names configured for the organization.getViewBeanURL(Condition condition) Deprecated.Gets the view bean URL given the Condition
-
Method Details
-
getConditionTypeNames
Deprecated.Returns aSetof all valid condition type names defined by the policy service. Examples areAuthLevelCondition,IPCondition.- Returns:
- a
Setof all valid condition type names defined by the policy service. - Throws:
SSOException- if theSSOTokenused to create thePolicyManagerhas become invalidPolicyException- for any other abnormal condition
-
getSelectedConditionTypeNames
Deprecated.Returns aSetof valid condition type names configured for the organization. Examples areAuthLevelCondition,IPCondition.- Returns:
- a
Setof valid condition type names configured for the organization. - Throws:
SSOException- if theSSOTokenused to create thePolicyManagerhas become invalidPolicyException- for any other abnormal condition
-
getConditionTypeName
Deprecated.Returns the type of theConditionimplementation.- Parameters:
condition- condition object for which this method will return its associated type- Returns:
- type of the condition. Returns
nullif not present.
-
getI18NPropertiesFileName
Deprecated.Returns the I18N properties file name that should be used to localize display names for the given condition type.- Parameters:
conditionType- condition type name- Returns:
Stringrepresenting i18n properties file name
-
getI18NKey
Deprecated.Returns the I18N key to be used to localize the display name for the condition type name.- Parameters:
conditionType- condition type name- Returns:
Stringrepresenting i18n key to obtain the display name
-
getDisplayName
Deprecated.Gets the display name for the condition type- Parameters:
conditionType- condition type- Returns:
- display name for the condition type
-
getCondition
Deprecated.Returns an instance of theConditiongiven the condition type name.- Parameters:
conditionType- condition type name.- Returns:
- an instance of the
Conditiongiven the condition type name. - Throws:
NameNotFoundException- if theConditionfor theconditionTypename is not foundPolicyException- for any other abnormal condition
-
getViewBeanURL
Deprecated.Gets the view bean URL given the Condition- Parameters:
condition- condition for which to get the view bean URL- Returns:
- view bean URL defined for the condition plugin in the policy
service
PluginSchema.
-
com.sun.identity.entitlementinstead asEntitlementhas replacedPolicy.