|
|||||||||
| 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.policy.guard.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 |
| 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 |
void |
setForbiddingPolicyIDs(java.util.Vector v)
add a list of all A- policies forbidding an action |
| 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 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||