Package com.sun.identity.policy
Class ConditionTypeManager
- java.lang.Object
-
- com.sun.identity.policy.ConditionTypeManager
-
@Deprecated public class ConditionTypeManager extends Object
Deprecated.since 12.0.0The classConditionTypeManagerprovides methods to get a list of configuredConditionobjects, and to obtain a factory object for it.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConditiongetCondition(String conditionType)Deprecated.Returns an instance of theConditiongiven the condition type name.StringgetConditionTypeName(Condition condition)Deprecated.Returns the type of theConditionimplementation.SetgetConditionTypeNames()Deprecated.Returns aSetof all valid condition type names defined by the policy service.StringgetDisplayName(String conditionType)Deprecated.Gets the display name for the condition typeStringgetI18NKey(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.SetgetSelectedConditionTypeNames()Deprecated.Returns aSetof valid condition type names configured for the organization.StringgetViewBeanURL(Condition condition)Deprecated.Gets the view bean URL given the Condition
-
-
-
Method Detail
-
getConditionTypeNames
public Set getConditionTypeNames() throws SSOException, PolicyException
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
public Set getSelectedConditionTypeNames() throws SSOException, PolicyException
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
public String getConditionTypeName(Condition condition)
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
protected String getI18NPropertiesFileName(String conditionType)
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
public String getI18NKey(String conditionType)
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
public String getDisplayName(String conditionType)
Deprecated.Gets the display name for the condition type- Parameters:
conditionType- condition type- Returns:
- display name for the condition type
-
getCondition
public Condition getCondition(String conditionType) throws NameNotFoundException, PolicyException
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
-
-