Package com.sun.identity.policy.plugins
Class PrivilegeCondition
- java.lang.Object
- 
- com.sun.identity.policy.plugins.PrivilegeCondition
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringSTATE- 
Fields inherited from interface com.sun.identity.policy.interfaces.ConditionAM_IDENTITY_NAME, APPLICATION_IDLE_TIMEOUT, APPLICATION_NAME, AUTH_LEVEL, AUTH_LEVEL_CONDITION_ADVICE, AUTH_SCHEME, AUTH_SCHEME_CONDITION_ADVICE, AUTHENTICATE_TO_REALM, AUTHENTICATE_TO_REALM_CONDITION_ADVICE, AUTHENTICATE_TO_SERVICE, AUTHENTICATE_TO_SERVICE_CONDITION_ADVICE, DNS_NAME, END_DATE, END_DAY, END_IP, END_TIME, ENFORCEMENT_TIME_ZONE, INVOCATOR_PRINCIPAL_UUID, LDAP_FILTER, MAX_SESSION_TIME, REQUEST_AUTH_LEVEL, REQUEST_AUTH_SCHEMES, REQUEST_AUTHENTICATED_TO_REALMS, REQUEST_AUTHENTICATED_TO_SERVICES, REQUEST_DNS_NAME, REQUEST_IP, REQUEST_TIME_ZONE, START_DATE, START_DAY, START_IP, START_TIME, TERMINATE_SESSION, VALUE_CASE_INSENSITIVE
 
- 
 - 
Constructor SummaryConstructors Constructor Description PrivilegeCondition()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Returns a clone of this object.ConditionDecisiongetConditionDecision(SSOToken token, Map env)Returns condition decision.StringgetDisplayName(String property, Locale locale)Returns the display name of a property.MapgetProperties()Returns the property values.ListgetPropertyNames()Returns a list of property names.SyntaxgetPropertySyntax(String property)Return the syntax for displaying the property value.SetgetValidValues(String property)Returns the valid values of a property.voidsetProperties(Map properties)Sets the property values to this object.
 
- 
- 
- 
Field Detail- 
STATEpublic static final String STATE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getPropertyNamespublic List getPropertyNames() Returns a list of property names.- Specified by:
- getPropertyNamesin interface- Condition
- Returns:
- a list of property names.
 
 - 
getPropertySyntaxpublic Syntax getPropertySyntax(String property) Return the syntax for displaying the property value.- Specified by:
- getPropertySyntaxin interface- Condition
- Parameters:
- property- Property name.
- Returns:
- syntax for displaying the property value.
- See Also:
- Syntax
 
 - 
getDisplayNamepublic String getDisplayName(String property, Locale locale) throws PolicyException Returns the display name of a property.- Specified by:
- getDisplayNamein interface- Condition
- Parameters:
- property- Property name.
- locale- Locale.
- Returns:
- the display name of a property.
- Throws:
- PolicyException- if display name cannot be provided.
 
 - 
getValidValuespublic Set getValidValues(String property) throws PolicyException Returns the valid values of a property.- Specified by:
- getValidValuesin interface- Condition
- Parameters:
- property- Property Name.
- Returns:
- valid values of a property.
- Throws:
- PolicyException- if valid values cannot be provided.
 
 - 
setPropertiespublic void setProperties(Map properties) throws PolicyException Sets the property values to this object.- Specified by:
- setPropertiesin interface- Condition
- Parameters:
- properties- Properties to be set.
- Throws:
- PolicyException- if property cannot be set.
- See Also:
- ConditionDecision
 
 - 
getPropertiespublic Map getProperties() Returns the property values.- Specified by:
- getPropertiesin interface- Condition
- Returns:
- Property values.
- See Also:
- Condition.setProperties(java.util.Map<java.lang.String, java.util.Set<java.lang.String>>)
 
 - 
getConditionDecisionpublic ConditionDecision getConditionDecision(SSOToken token, Map env) throws PolicyException, SSOException Returns condition decision. Returing false.- Specified by:
- getConditionDecisionin interface- Condition
- Parameters:
- token- Single sign on token of the subject.
- env- Environment map.
- Returns:
- false.
- Throws:
- PolicyException- if decision cannot be provided.
- SSOException- if single sign on token is invalid or has expired.
- See Also:
- ConditionDecision
 
 
- 
 
-