Modifier and Type | Field and Description |
---|---|
static String |
STATE |
AM_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 and Description |
---|
PrivilegeCondition() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a clone of this object.
|
ConditionDecision |
getConditionDecision(SSOToken token,
Map env)
Returns condition decision.
|
String |
getDisplayName(String property,
Locale locale)
Returns the display name of a property.
|
Map |
getProperties()
Returns the property values.
|
List |
getPropertyNames()
Returns a list of property names.
|
Syntax |
getPropertySyntax(String property)
Return the syntax for displaying the property value.
|
Set |
getValidValues(String property)
Returns the valid values of a property.
|
void |
setProperties(Map properties)
Sets the property values to this object.
|
public static final String STATE
public List getPropertyNames()
getPropertyNames
in interface Condition
public Syntax getPropertySyntax(String property)
getPropertySyntax
in interface Condition
property
- Property name.Syntax
public String getDisplayName(String property, Locale locale) throws PolicyException
getDisplayName
in interface Condition
property
- Property name.locale
- Locale.PolicyException
- if display name cannot be provided.public Set getValidValues(String property) throws PolicyException
getValidValues
in interface Condition
property
- Property Name.PolicyException
- if valid values cannot be provided.public void setProperties(Map properties) throws PolicyException
setProperties
in interface Condition
properties
- Properties to be set.PolicyException
- if property cannot be set.ConditionDecision
public Map getProperties()
getProperties
in interface Condition
Condition.setProperties(java.util.Map<java.lang.String, java.util.Set<java.lang.String>>)
public ConditionDecision getConditionDecision(SSOToken token, Map env) throws PolicyException, SSOException
getConditionDecision
in interface Condition
token
- Single sign on token of the subject.env
- Environment map.false
.PolicyException
- if decision cannot be provided.SSOException
- if single sign on token is invalid
or has expired.ConditionDecision
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.