Package com.sun.identity.policy
Class ConditionDecision
java.lang.Object
com.sun.identity.policy.ConditionDecision
Deprecated.
The
ConditionDecision
class represents the result of
the evaluation of a condition.-
Constructor Summary
ConstructorDescriptionDeprecated.No argument constructorConditionDecision
(boolean allowed) Deprecated.ConstructsConditionDecision
given the boolean result of a condition evaluationConditionDecision
(boolean allowed, long timeToLive) Deprecated.ConstructsConditionDecision
given the boolean result of a condition evaluation and time to liveConditionDecision
(boolean allowed, long timeToLive, Map advices) Deprecated.ConstructsConditionDecision
given the boolean result of a condition evaluation, time to live and advicesConditionDecision
(boolean allowed, Map advices) Deprecated.ConstructsConditionDecision
given the boolean result of a condition evaluation and advices -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets advices associated with this objectlong
Deprecated.GetstimeToLive
associated with this objectboolean
Deprecated.Gets boolean result of condition evaluationvoid
setAdvices
(Map advices) Deprecated.Sets advices associated with this objectvoid
setAllowed
(boolean allowed) Deprecated.Sets boolean result of condition evaluationvoid
setTimeToLive
(long timeToLive) Deprecated.SetstimeToLive
associated with this object
-
Constructor Details
-
ConditionDecision
public ConditionDecision()Deprecated.No argument constructor -
ConditionDecision
public ConditionDecision(boolean allowed) Deprecated.ConstructsConditionDecision
given the boolean result of a condition evaluation- Parameters:
allowed
- boolean result of a condition evaluation
-
ConditionDecision
Deprecated.ConstructsConditionDecision
given the boolean result of a condition evaluation and advices- Parameters:
allowed
- boolean result of a condition evaluationadvices
- AMap
representing advices associated with thisConditionDecision
. The advice name is the key to the Map. The value is aSet
of advice message Strings corresponding to the advice name. The advice name examples are SessionCondition.SESSION_CONDITION_ADVICE AuthSchemeCondition.AUTH_SCHEME_CONDITION_ADVICE
-
ConditionDecision
public ConditionDecision(boolean allowed, long timeToLive) Deprecated.ConstructsConditionDecision
given the boolean result of a condition evaluation and time to live- Parameters:
allowed
- boolean result of a condition evaluationtimeToLive
- GMT time in milliseconds since epoch when this object is to be treated as expired.
-
ConditionDecision
Deprecated.ConstructsConditionDecision
given the boolean result of a condition evaluation, time to live and advices- Parameters:
allowed
- boolean result of a condition evaluationtimeToLive
- GMT time in milliseconds since epoch when this object is to be treated as expired.advices
- advices associated with this action decision. The advice name is the key to the Map. The value is a set of advice message Strings corresponding to the advice name. The advice name examples are SessionCondition.SESSION_CONDITION_ADVICE AuthSchemeCondition.AUTH_SCHEME_CONDITION_ADVICE
-
-
Method Details
-
setAllowed
public void setAllowed(boolean allowed) Deprecated.Sets boolean result of condition evaluation- Parameters:
allowed
- boolean result of condition evaluation
-
isAllowed
public boolean isAllowed()Deprecated.Gets boolean result of condition evaluation- Returns:
- result of condition evaluation
-
setAdvices
Deprecated.Sets advices associated with this object- Parameters:
advices
- AMap
representing advices associated with this object. The advice name is the key to the Map. The value is aSet
of advice message Strings corresponding to the advice name. The advice name examples are SessionCondition.SESSION_CONDITION_ADVICE AuthSchemeCondition.AUTH_SCHEME_CONDITION_ADVICE
-
getAdvices
Deprecated.Gets advices associated with this object- Returns:
- advices associated with this object.
The advice name is the key to the
Map
. The value is aSet
of advice message Strings corresponding to the advice name.
-
setTimeToLive
public void setTimeToLive(long timeToLive) Deprecated.SetstimeToLive
associated with this object- Parameters:
timeToLive
- GMT time in milliseconds since epoch when this object is to be treated as expired.
-
getTimeToLive
public long getTimeToLive()Deprecated.GetstimeToLive
associated with this object- Returns:
- GMT time in milliseconds since epoch when this object is to be treated as expired.
-
com.sun.identity.entitlement
instead asEntitlement
has replacedPolicy
.