org.idoox.security
Class AssociationOptions

java.lang.Object
  extended byorg.idoox.security.AssociationOptions

public class AssociationOptions
extends java.lang.Object

This class represents association options between target reference

Since:
3.0
Component:
Core

Field Summary
static int COMPOSITE_DELEGATION
           
static int CONFIDENTIALITY
           
static int EST_TRUST_IN_CLIENT
           
static int EST_TRUST_IN_TARGET
           
static int INTEGRITY
           
static int NO_DELEGATION
           
static int NO_PROTECTION
          Constants for each of association option supported
static int SIMPLE_DELEGATION
           
 
Constructor Summary
AssociationOptions(int value)
          Creates new instance with given initial values
 
Method Summary
 boolean getCompositeDelegation()
          Returns status for COMPOSITE_DELEGATION bit
 boolean getConfidentiality()
          Returns status for CONFIDENTIALITY bit
 boolean getEstTrustInClient()
          Returns status for EST_TRUST_IN_CLIENT bit
 boolean getEstTrustInTarget()
          Returns status for EST_TRUST_IN_TARGET bit
 boolean getIntegrity()
          Returns status for INTEGRITY bit
 boolean getNoDelegation()
          Returns status for NO_DELEGATION bit
 boolean getNoProtection()
          Returns status for NO_PROTECTION bit
 boolean getSimpleDelegation()
          Returns status for SIMPLE_DELEGATION bit
 void setCompositeDelegation(boolean value)
          Sets the COMPOSITE_DELEGATION bit to a given value
 void setConfidentiality(boolean value)
          Sets the CONFIDENTIALITY bit to a given value
 void setEstTrustInClient(boolean value)
          Sets the EST_TRUST_IN_CLIENT bit to a given value
 void setEstTrustInTarget(boolean value)
          Sets the EST_TRUST_IN_TARGET bit to a given value
 void setIntegrity(boolean value)
          Sets the INTEGRITY bit to a given value
 void setNoDelegation(boolean value)
          Sets the NO_DELEGATION bit to a given value
 void setNoProtection(boolean value)
          Sets the NO_PROTECTION bit to a given value
 void setSimpleDelegation(boolean value)
          Sets the SIMPLE_DELEGATION bit to a given value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_PROTECTION

public static final int NO_PROTECTION
Constants for each of association option supported

See Also:
Constant Field Values

INTEGRITY

public static final int INTEGRITY
See Also:
Constant Field Values

CONFIDENTIALITY

public static final int CONFIDENTIALITY
See Also:
Constant Field Values

EST_TRUST_IN_CLIENT

public static final int EST_TRUST_IN_CLIENT
See Also:
Constant Field Values

EST_TRUST_IN_TARGET

public static final int EST_TRUST_IN_TARGET
See Also:
Constant Field Values

NO_DELEGATION

public static final int NO_DELEGATION
See Also:
Constant Field Values

SIMPLE_DELEGATION

public static final int SIMPLE_DELEGATION
See Also:
Constant Field Values

COMPOSITE_DELEGATION

public static final int COMPOSITE_DELEGATION
See Also:
Constant Field Values
Constructor Detail

AssociationOptions

public AssociationOptions(int value)
Creates new instance with given initial values

Parameters:
value - initial value for this instance
Method Detail

getNoProtection

public boolean getNoProtection()
Returns status for NO_PROTECTION bit

Returns:
true if NO_PROTECTION bit is set

setNoProtection

public void setNoProtection(boolean value)
Sets the NO_PROTECTION bit to a given value

Parameters:
value - new value for NO_PROTECTION bit (true = 1)

getIntegrity

public boolean getIntegrity()
Returns status for INTEGRITY bit

Returns:
true if INTEGRITY bit is set

setIntegrity

public void setIntegrity(boolean value)
Sets the INTEGRITY bit to a given value

Parameters:
value - new value for INTEGRITY bit (true = 1)

getConfidentiality

public boolean getConfidentiality()
Returns status for CONFIDENTIALITY bit

Returns:
true if CONFIDENTIALITY bit is set

setConfidentiality

public void setConfidentiality(boolean value)
Sets the CONFIDENTIALITY bit to a given value

Parameters:
value - new value for CONFIDENTIALITY bit (true = 1)

getEstTrustInClient

public boolean getEstTrustInClient()
Returns status for EST_TRUST_IN_CLIENT bit

Returns:
true if ESS_TRUST_IN_CLIENT bit is set

setEstTrustInClient

public void setEstTrustInClient(boolean value)
Sets the EST_TRUST_IN_CLIENT bit to a given value

Parameters:
value - new value for EST_TRUST_IN_CLIENT bit (true = 1)

getEstTrustInTarget

public boolean getEstTrustInTarget()
Returns status for EST_TRUST_IN_TARGET bit

Returns:
true if EST_TRUST_IN_TARGET bit is set

setEstTrustInTarget

public void setEstTrustInTarget(boolean value)
Sets the EST_TRUST_IN_TARGET bit to a given value

Parameters:
value - new value for EST_TRUST_IN_TARGET bit (true = 1)

getNoDelegation

public boolean getNoDelegation()
Returns status for NO_DELEGATION bit

Returns:
true if NO_DELEGATION bit is set

setNoDelegation

public void setNoDelegation(boolean value)
Sets the NO_DELEGATION bit to a given value

Parameters:
value - new value for NO_DELEGATION bit (true = 1)

getSimpleDelegation

public boolean getSimpleDelegation()
Returns status for SIMPLE_DELEGATION bit

Returns:
true if SIMPLE_DELEGATION bit is set

setSimpleDelegation

public void setSimpleDelegation(boolean value)
Sets the SIMPLE_DELEGATION bit to a given value

Parameters:
value - new value for SIMPLE_DELEGATION bit (true = 1)

getCompositeDelegation

public boolean getCompositeDelegation()
Returns status for COMPOSITE_DELEGATION bit

Returns:
true if COMPOSITE_DELEGATION bit is set

setCompositeDelegation

public void setCompositeDelegation(boolean value)
Sets the COMPOSITE_DELEGATION bit to a given value

Parameters:
value - new value for COMPOSITE_DELEGATION bit (true = 1)