|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
kaos.core.csi.policy.KAoSSecurityException
public class KAoSSecurityException
KAoSSecurityException defines an exception to be thrown by the Guard if there is no permission ot perform a given action
Field Summary | |
---|---|
boolean |
authorizationCheckInterupted
Flag indicating if the authorization check was interrupted and thus the negative authorizaton was returned |
boolean |
defaultAuthorization
Flag indicating if the default authorization was used |
java.lang.String |
forbiddingPolicyId
Policy id, which caused the exception |
static java.lang.String |
OBLIGATIONS_FAILED_ACTOR_NOT_LOCATABLE
|
static java.lang.String |
OBLIGATIONS_FAILED_INCONSISTENT_STATUS
|
static java.lang.String |
OBLIGATIONS_FAILED_SERVICE_FAILURE
|
static java.lang.String |
OBLIGATIONS_NOT_ATTEMPTED
|
Constructor Summary | |
---|---|
KAoSSecurityException()
Constructs a new KAoSSecurityException with no detail message. |
|
KAoSSecurityException(java.lang.String s)
Constructs a new KAoSSecurityException with a detail message. |
Method Summary | |
---|---|
java.util.Vector |
getAllForbiddingPolicies()
|
java.lang.String |
getFirstForbiddingPolicy()
get the first forbidding policy id from the vector |
java.lang.String |
getReasonForUnfulfilledObligations()
|
java.util.List |
getUnfulfilledObligations()
|
void |
setForbiddingPolicyIDs(java.util.Vector v)
add a list of all A- policies forbidding an action |
void |
setReasonForUnfulfilledObligations(java.lang.String reason)
|
void |
setUnfulfilledObligations(java.util.List obligations)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OBLIGATIONS_NOT_ATTEMPTED
public static final java.lang.String OBLIGATIONS_FAILED_INCONSISTENT_STATUS
public static final java.lang.String OBLIGATIONS_FAILED_SERVICE_FAILURE
public static final java.lang.String OBLIGATIONS_FAILED_ACTOR_NOT_LOCATABLE
public java.lang.String forbiddingPolicyId
public boolean defaultAuthorization
public boolean authorizationCheckInterupted
Constructor Detail |
---|
public KAoSSecurityException()
public KAoSSecurityException(java.lang.String s)
Method Detail |
---|
public void setForbiddingPolicyIDs(java.util.Vector v)
public java.lang.String getFirstForbiddingPolicy()
public java.util.Vector getAllForbiddingPolicies()
public java.util.List getUnfulfilledObligations()
public void setUnfulfilledObligations(java.util.List obligations)
public java.lang.String getReasonForUnfulfilledObligations()
public void setReasonForUnfulfilledObligations(java.lang.String reason)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |