|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.identity.policy.ConditionTypeManager
public class ConditionTypeManager
The class ConditionTypeManager provides
methods to get a list of configured Condition
objects, and to obtain a factory object for it.
| Method Summary | |
|---|---|
Condition |
getCondition(String conditionType)
Returns an instance of the Condition
given the condition type name. |
String |
getConditionTypeName(Condition condition)
Returns the type of the Condition implementation. |
Set |
getConditionTypeNames()
Returns a Set of all valid condition type names defined
by the policy service. |
String |
getDisplayName(String conditionType)
Gets the display name for the condition type |
String |
getI18NKey(String conditionType)
Returns the I18N key to be used to localize the display name for the condition type name. |
protected String |
getI18NPropertiesFileName(String conditionType)
Returns the I18N properties file name that should be used to localize display names for the given condition type. |
Set |
getSelectedConditionTypeNames()
Returns a Set of valid condition type names configured for
the organization. |
String |
getViewBeanURL(Condition condition)
Gets the view bean URL given the Condition |
| Method Detail |
|---|
public Set getConditionTypeNames()
throws SSOException,
PolicyException
Set of all valid condition type names defined
by the policy service. Examples are AuthLevelCondition,
IPCondition.
Set of all valid condition type names defined
by the policy service.
SSOException - if the SSOToken used to create
the PolicyManager has become invalid
PolicyException - for any other abnormal condition
public Set getSelectedConditionTypeNames()
throws SSOException,
PolicyException
Set of valid condition type names configured for
the organization. Examples are AuthLevelCondition,
IPCondition.
Set of valid condition type names configured for
the organization.
SSOException - if the SSOToken used to create
the PolicyManager has become invalid
PolicyException - for any other abnormal conditionpublic String getConditionTypeName(Condition condition)
Condition implementation.
For example TimeCondition, DayTimeCondition,
IPCondition.
condition - condition object for which this method will
return its associated type
AuthLevelConditon,
IPCondition. Returns null if not
present.protected String getI18NPropertiesFileName(String conditionType)
conditionType - condition type name
String representing i18n properties file namepublic String getI18NKey(String conditionType)
conditionType - condition type name
String representing i18n key to obtain the display
namepublic String getDisplayName(String conditionType)
conditionType - condition type
public Condition getCondition(String conditionType)
throws NameNotFoundException,
PolicyException
Condition
given the condition type name.
conditionType - condition type name.
Condition
given the condition type name.
NameNotFoundException - if the Condition for the
conditionType name is not found
PolicyException - for any other abnormal conditionpublic String getViewBeanURL(Condition condition)
condition - condition for which to get the view bean URL
PluginSchema.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||