Package com.sun.identity.policy
Class ConditionTypeManager
- java.lang.Object
-
- com.sun.identity.policy.ConditionTypeManager
-
@SupportedAll @Deprecated public class ConditionTypeManager extends Object
Deprecated.As of OpenSSO Express 8.0, usecom.sun.identity.entitlement
instead asEntitlement
has replacedPolicy
.The classConditionTypeManager
provides methods to get a list of configuredCondition
objects, and to obtain a factory object for it.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Condition
getCondition(String conditionType)
Deprecated.Returns an instance of theCondition
given the condition type name.String
getConditionTypeName(Condition condition)
Deprecated.Returns the type of theCondition
implementation.Set
getConditionTypeNames()
Deprecated.Returns aSet
of all valid condition type names defined by the policy service.String
getDisplayName(String conditionType)
Deprecated.Gets the display name for the condition typeString
getI18NKey(String conditionType)
Deprecated.Returns the I18N key to be used to localize the display name for the condition type name.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.Set
getSelectedConditionTypeNames()
Deprecated.Returns aSet
of valid condition type names configured for the organization.String
getViewBeanURL(Condition condition)
Deprecated.Gets the view bean URL given the Condition
-
-
-
Method Detail
-
getConditionTypeNames
public Set getConditionTypeNames() throws SSOException, PolicyException
Deprecated.Returns aSet
of all valid condition type names defined by the policy service. Examples areAuthLevelCondition
,IPCondition
.- Returns:
- a
Set
of all valid condition type names defined by the policy service. - Throws:
SSOException
- if theSSOToken
used to create thePolicyManager
has become invalidPolicyException
- for any other abnormal condition
-
getSelectedConditionTypeNames
public Set getSelectedConditionTypeNames() throws SSOException, PolicyException
Deprecated.Returns aSet
of valid condition type names configured for the organization. Examples areAuthLevelCondition
,IPCondition
.- Returns:
- a
Set
of valid condition type names configured for the organization. - Throws:
SSOException
- if theSSOToken
used to create thePolicyManager
has become invalidPolicyException
- for any other abnormal condition
-
getConditionTypeName
public String getConditionTypeName(Condition condition)
Deprecated.Returns the type of theCondition
implementation.- Parameters:
condition
- condition object for which this method will return its associated type- Returns:
- type of the condition. Returns
null
if 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:
String
representing 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:
String
representing 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 theCondition
given the condition type name.- Parameters:
conditionType
- condition type name.- Returns:
- an instance of the
Condition
given the condition type name. - Throws:
NameNotFoundException
- if theCondition
for theconditionType
name is not foundPolicyException
- for any other abnormal condition
-
-