|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.ext.security.Communication
Field Summary | |
static int |
ALLOWED
|
static int |
DENIED
|
static int |
OPTIONAL
|
static int |
REQUIRED
|
Constructor Summary | |
Communication()
Default constructor, initialize a policy with communication attribute sets to allowed and authentication,confidentiality and integrity set to optional |
|
Communication(int authentication,
int confidentiality,
int integrity)
This method specifies if communication is allowed |
Method Summary | |
static Communication |
computeCommunication(Communication from,
Communication to)
Method computePolicy. |
int |
getAOCreation()
|
int |
getCommunication()
|
int |
getMigration()
|
boolean |
isAuthenticationEnabled()
Method isAuthenticationEnabled. |
boolean |
isAuthenticationForbidden()
Method isAuthenticationForbidden. |
boolean |
isCommunicationAllowed()
Method isCommunicationAllowed. |
boolean |
isConfidentialityEnabled()
Method isConfidentialityEnabled. |
boolean |
isConfidentialityForbidden()
Method isConfidentialityForbidden. |
boolean |
isIntegrityEnabled()
Method isIntegrityEnabled. |
boolean |
isIntegrityForbidden()
Method isIntegrityForbidden. |
void |
setAOCreation(int aocreation)
|
void |
setCommunication(int i)
|
void |
setMigration(int i)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int REQUIRED
public static int DENIED
public static int OPTIONAL
public static int ALLOWED
Constructor Detail |
public Communication()
public Communication(int authentication, int confidentiality, int integrity)
authentication
- specifies if authentication is required, optional, or deniedconfidentiality
- specifies if confidentiality is required, optional, or deniedintegrity
- specifies if integrity is required, optional, or deniedMethod Detail |
public boolean isAuthenticationEnabled()
public boolean isConfidentialityEnabled()
public boolean isIntegrityEnabled()
public boolean isAuthenticationForbidden()
public boolean isConfidentialityForbidden()
public boolean isIntegrityForbidden()
public boolean isCommunicationAllowed()
public java.lang.String toString()
public void setMigration(int i)
i
- public int getMigration()
public static Communication computeCommunication(Communication from, Communication to) throws IncompatiblePolicyException
from
- the client policyto
- the server policy
IncompatiblePolicyException
- policies are incomptables, conflicting communication attributespublic void setAOCreation(int aocreation)
aocreation
- public int getAOCreation()
public int getCommunication()
public void setCommunication(int i)
i
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |