|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.dynalivery.repository.util.SecurityOptions
This class describes the desired security options when creating or modifying a repository file or folder.
| Field Summary | |
static int |
USE_DEFAULTS
Ordinal for security mode indicating folder defaults should be used |
static int |
USE_LIST
Ordinal for security mode indicating access list should be used |
| Constructor Summary | |
SecurityOptions()
Public constructor with no parameters. |
|
SecurityOptions(int readMode,
java.lang.String readACL,
int writeMode,
java.lang.String writeACL)
Public constructor for setting security options explicitly This allows security modes and access control lists to be explicitly set |
|
SecurityOptions(java.lang.String readACL,
java.lang.String writeACL)
Public constructor with the read/write access control lists to be used. |
|
| Method Summary | |
java.lang.String |
getModeString(int mode,
java.lang.String acl)
Returns a String which describes the specifed security mode and ACL String |
java.lang.String |
getReadACL()
returns the read Access Control List |
int |
getReadMode()
returns the read security mode for this repository object |
java.lang.String |
getWriteACL()
returns the write Access Control List |
int |
getWriteMode()
returns the write security mode for this repository object |
java.lang.String |
toString()
Returns a String which describes these security options |
void |
validate()
Validates the security options |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final int USE_DEFAULTS
public static final int USE_LIST
| Constructor Detail |
public SecurityOptions()
public SecurityOptions(java.lang.String readACL,
java.lang.String writeACL)
readACL - the read access control list for this repository objectwriteACL - the read access control list for this repository object
public SecurityOptions(int readMode,
java.lang.String readACL,
int writeMode,
java.lang.String writeACL)
readMode - the read security mode for this repository objectreadACL - the read access control list for this repository objectwriteMode - the read security mode for this repository objectwriteACL - the read access control list for this repository object| Method Detail |
public int getReadMode()
public java.lang.String getReadACL()
public int getWriteMode()
public java.lang.String getWriteACL()
public void validate()
throws InvalidParameterException
public java.lang.String getModeString(int mode,
java.lang.String acl)
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||