Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTES |
static String |
NOT_ATTRIBUTES |
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 |
---|
UserSelfCheckCondition()
No argument constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a copy of this object.
|
ConditionDecision |
getConditionDecision(SSOToken token,
Map env)
Gets the decision computed by this condition object.
|
String |
getDisplayName(String property,
Locale locale)
Gets the display name for the property name.
|
Map |
getProperties()
Gets the properties of the condition.
|
List |
getPropertyNames()
Returns a set of property names for the condition.
|
Syntax |
getPropertySyntax(String property)
Returns the syntax for a property name
|
Set |
getValidValues(String property)
Returns a set of valid values given the property name.
|
void |
setProperties(Map properties)
Sets the properties of the condition.
|
public static final String ATTRIBUTES
public static final String NOT_ATTRIBUTES
public List getPropertyNames()
getPropertyNames
in interface Condition
public Syntax getPropertySyntax(String property)
getPropertySyntax
in interface Condition
property
- String
representing property nameSyntax for the property name
Syntax
public String getDisplayName(String property, Locale locale) throws PolicyException
locale
variable could be used by the plugin to
customize the display name for the given locale.
The locale
variable could be null
, in which
case the plugin must use the default locale.getDisplayName
in interface Condition
property
- property name.locale
- locale for which the property name must be customized.PolicyException
- if unable to get display namepublic Set getValidValues(String property) throws PolicyException
getValidValues
in interface Condition
property
- String
representing property namePolicyException
- if unable to get the Syntax.public void setProperties(Map properties) throws PolicyException
setProperties
in interface Condition
properties
- of the condition that governs
whether a policy applies. The only defined property
is attributes
PolicyException
- for any abnormal conditionConditionDecision
public Map getProperties()
getProperties
in interface Condition
setProperties(Map)
public ConditionDecision getConditionDecision(SSOToken token, Map env) throws PolicyException, SSOException
getConditionDecision
in interface Condition
token
- single sign on token of the userenv
- request specific environment map of key/value pairs.SSOException
- if the token is invalidPolicyException
- if the decision could not be computedConditionDecision
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.