|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.pd.jutil.PDEnvironmentObject
com.tivoli.pd.jadmin.PDAcl
public class PDAcl
Security Access Manager Access Control List (ACL) class.
An ACL is list of ACL entries. Each entry corresponds to a particular subject: user, group, any-other, or unauthenticated. Each entry also contains the permissions of that subject. Each ACL is uniquely identified by its ID. Each ACL also can have one or more attributes, each of which could have one or more string values. Modes: Local,Remote
Field Summary | |
---|---|
static java.lang.String |
PDACL_ALLPATTERN
Constant used to match all names when listing acls. |
static int |
PDACL_MAXRETURN
Constant used to return the maximum number possible when listing acls. |
Constructor Summary | |
---|---|
PDAcl(PDContext context,
java.lang.String id,
PDMessages messages)
Constructs a local object of an ACL that already exists in the policy server. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a copy of this object. |
static void |
createAcl(PDContext context,
java.lang.String id,
java.lang.String description,
java.util.HashMap aclEntriesUser,
java.util.HashMap aclEntriesGroup,
PDAclEntryAnyOther aclEntryAnyOther,
PDAclEntryUnAuth aclEntryUnAuth,
PDAttrs attributes,
PDMessages messages)
Creates an ACL in the policy server. |
static void |
createAcl(PDContext context,
java.lang.String id,
java.lang.String description,
java.util.HashMap aclEntriesUser,
java.util.HashMap aclEntriesGroup,
PDAclEntryAnyOther aclEntryAnyOther,
PDAclEntryUnAuth aclEntryUnAuth,
PDAttrs attributes,
PDMessages messages)
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced with the createAcl(PDContext,String,String,HashMap,HashMap,PDAclEntryAnyOther,PDAclEntryUnAuth,com.tivoli.pd.jutil.PDAttrs,PDMessages)
method. |
static void |
deleteAcl(PDContext context,
java.lang.String id,
PDMessages messages)
Deletes the specified ACL from the policy server. |
void |
deleteAttribute(PDContext context,
java.lang.String attributeName,
PDMessages messages)
Deletes an extended attribute from this object and also in the policy server. |
static void |
deleteAttribute(PDContext context,
java.lang.String id,
java.lang.String attributeName,
PDMessages messages)
Deletes the extended attribute for the specified ACL in the policy server. |
void |
deleteAttributeValue(PDContext context,
java.lang.String attributeName,
java.lang.String attributeValue,
PDMessages messages)
Deletes a value for an extended attribute from the local ACL object and also in the policy server. |
static void |
deleteAttributeValue(PDContext context,
java.lang.String id,
java.lang.String attributeName,
java.lang.String attributeValue,
PDMessages messages)
Deletes a value for an extended attribute for the specified ACL in the policy server. |
boolean |
equals(java.lang.Object obj)
Determines whether this PDAcl is equivalent to the input object. |
java.util.ArrayList |
getAttributeNames()
Gets the names of the extended attributes from this object. |
java.util.ArrayList |
getAttributeValues(java.lang.String attributeName)
Gets the values of an extended attribute from this object. |
java.lang.String |
getDescription()
Gets the ACL description from this object. |
java.lang.String |
getId()
Gets the ACL name from this object. |
java.util.HashMap |
getPDAclEntriesGroup()
Gets a HashMap of group ACL entries from this object. |
java.util.HashMap |
getPDAclEntriesUser()
Gets a HashMap of user ACL entries from this object. |
PDAclEntryAnyOther |
getPDAclEntryAnyOther()
Gets the any-other ACL entry from this object. |
PDAclEntryUnAuth |
getPDAclEntryUnAuth()
Gets the permission for the unauthenticated ACL entry from this object. |
static java.util.ArrayList |
listAcls(PDContext context,
PDMessages messages)
Returns a list of IDs of all ACLs existing in the policy server. |
static java.util.ArrayList |
listAcls(PDContext context,
java.lang.String pattern,
long maxReturn,
PDMessages messages)
Returns a list of IDs of all ACLs existing in the policy server. |
void |
removePDAclEntryAnyOther(PDContext context,
PDMessages messages)
Removes the any-other ACL entry from this object and also in the policy server. |
static void |
removePDAclEntryAnyOther(PDContext context,
java.lang.String id,
PDMessages messages)
Removes the any-other ACL entry from the specified ACL in the policy server. |
void |
removePDAclEntryGroup(PDContext context,
java.lang.String groupId,
PDMessages messages)
Removes a group ACL entry from this object and also in the policy server. |
static void |
removePDAclEntryGroup(PDContext context,
java.lang.String id,
java.lang.String groupId,
PDMessages messages)
Removes a group ACL entry from the specified ACL in the policy server. |
void |
removePDAclEntryUnAuth(PDContext context,
PDMessages messages)
Removes the unauthenticated ACL entry from ACL object and also in the policy server. |
static void |
removePDAclEntryUnAuth(PDContext context,
java.lang.String id,
PDMessages messages)
Removes the unauthenticated ACL entry from the specified ACL in the policy server. |
void |
removePDAclEntryUser(PDContext context,
java.lang.String userId,
PDMessages messages)
Removes a user ACL entry from this object and also in the policy server. |
static void |
removePDAclEntryUser(PDContext context,
java.lang.String id,
java.lang.String userId,
PDMessages messages)
Removes a user ACL entry from the specified ACL in the policy server. |
void |
setAttributeValue(PDContext context,
java.lang.String attributeName,
java.lang.String attributeValue,
PDMessages messages)
Sets the value of an extended attribute in this object and also in the policy server. |
static void |
setAttributeValue(PDContext context,
java.lang.String id,
java.lang.String attributeName,
java.lang.String attributeValue,
PDMessages messages)
Sets the value of an extended attribute for the specified ACL in the policy server. |
void |
setDescription(PDContext context,
java.lang.String newDescription,
PDMessages messages)
Sets the descriptive string for this ACL object and also in the policy server. |
static void |
setDescription(PDContext context,
java.lang.String id,
java.lang.String newDescription,
PDMessages messages)
Sets the descriptive string for the specified ACL in the policy server. |
void |
setPDAclEntryAnyOther(PDContext context,
PDAclEntryAnyOther aclEntryAnyOther,
PDMessages messages)
Sets the any-other ACL entry in this object and also in the policy server. |
static void |
setPDAclEntryAnyOther(PDContext context,
java.lang.String id,
PDAclEntryAnyOther aclEntryAnyOther,
PDMessages messages)
Sets the any-other ACL entry in the specified ACL in the policy server. |
void |
setPDAclEntryGroup(PDContext context,
PDAclEntryGroup aclEntryGroup,
PDMessages messages)
Sets the ACL entry for a group in this object and also in the policy server. |
static void |
setPDAclEntryGroup(PDContext context,
java.lang.String id,
PDAclEntryGroup aclEntryGroup,
PDMessages messages)
Sets the ACL entry for a group in the specified ACL in the policy server. |
void |
setPDAclEntryUnAuth(PDContext context,
PDAclEntryUnAuth aclEntryUnAuth,
PDMessages messages)
Sets the unauthenticated ACL entry in this object and also in the policy server. |
static void |
setPDAclEntryUnAuth(PDContext context,
java.lang.String id,
PDAclEntryUnAuth aclEntryUnAuth,
PDMessages messages)
Sets the unauthenticated ACL entry in the specified ACL in the policy server. |
void |
setPDAclEntryUser(PDContext context,
PDAclEntryUser aclEntryUser,
PDMessages messages)
Sets the ACL entry for a user in this object and also in the policy server. |
static void |
setPDAclEntryUser(PDContext context,
java.lang.String id,
PDAclEntryUser aclEntryUser,
PDMessages messages)
Sets the ACL entry for a user in the specified ACL in the policy server. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class com.tivoli.pd.jutil.PDEnvironmentObject |
---|
getContext, setContext |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PDACL_ALLPATTERN
public static final int PDACL_MAXRETURN
Constructor Detail |
---|
public PDAcl(PDContext context, java.lang.String id, PDMessages messages) throws PDException
This constructor corresponds to the ivadmin_acl_get() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL to be constructed.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.Method Detail |
---|
public void setDescription(PDContext context, java.lang.String newDescription, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setdescription() C API. In addition it sets the value of the description in the current object.
context
- the context for communicating with the
policy server.
Cannot be null.newDescription
- descriptive string for the ACL.
Cannot be null; use the empty
String to clear the existing description.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void setPDAclEntryUser(PDContext context, PDAclEntryUser aclEntryUser, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setuser() C API. In addition it sets the ACL entry for the specified user in the current object.
context
- the context for communicating with the
policy server.
Cannot be null.aclEntryUser
- PDAclEntryUser object.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void setPDAclEntryGroup(PDContext context, PDAclEntryGroup aclEntryGroup, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setgroup() C API. In addition it sets the ACL entry for the specified group in the current object.
context
- the context for communicating with the
policy server.
Cannot be null.aclEntryGroup
- a PDAclEntryGroup object.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void setPDAclEntryAnyOther(PDContext context, PDAclEntryAnyOther aclEntryAnyOther, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setanyother() C API. In addition it sets the ACL entry for the specified group in the current object.
context
- the context for communicating with the
policy server.
Cannot be null.aclEntryAnyOther
- a PDAclEntryAnyOther object.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void setPDAclEntryUnAuth(PDContext context, PDAclEntryUnAuth aclEntryUnAuth, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setunauth() C API. In addition it sets the ACL entry for the specified group in the current object.
context
- the context for communicating with the
policy server.
Cannot be null.aclEntryUnAuth
- a PDAclEntryUnAuth object.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void removePDAclEntryUser(PDContext context, java.lang.String userId, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_removeuser() C API. In addition it removes the ACL entry for this user from the current object.
context
- the context for communicating with the
policy server.
Cannot be null.userId
- user whose ACL entry needs to be removed.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void removePDAclEntryGroup(PDContext context, java.lang.String groupId, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_removegroup() C API. In addition it removes the ACL entry for this group from the current object.
context
- the context for communicating with the
policy server.
Cannot be null.groupId
- group whose ACL entry needs to be removed.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void removePDAclEntryAnyOther(PDContext context, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_removeanyother() C API. In addition it removes the any-other ACL entry from the current object.
context
- the context for communicating with the
policy server.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void removePDAclEntryUnAuth(PDContext context, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_removeunauth() C API. In addition it removes the unauthenticated ACL entry from the current object.
context
- the context for communicating with the
policy server.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void setAttributeValue(PDContext context, java.lang.String attributeName, java.lang.String attributeValue, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_attrput() C API. In addition it sets the value of an extended attribute in the current object.
context
- the context for communicating with the
policy server.
Cannot be null.attributeName
- Name of the extended attribute. Cannot be null.attributeValue
- String value of the attribute. Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void deleteAttribute(PDContext context, java.lang.String attributeName, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_attrdelkey() C API. In addition it deletes an extended attribute from the current object.
context
- the context for communicating with the
policy server.
Cannot be null.attributeName
- name of the extended attribute.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public void deleteAttributeValue(PDContext context, java.lang.String attributeName, java.lang.String attributeValue, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_attrdelval() C API. In addition it deletes a value for an extended attribute from the current object.
context
- the context for communicating with the
policy server.
Cannot be null.attributeName
- name of the extended attribute.
Cannot be null.attributeValue
- String value of the extended attribute.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public java.lang.String getId() throws PDException
This method implements the function provided by the ivadmin_acl_getid() C API.
PDException
- if an error occurs.public java.lang.String getDescription() throws PDException
This method implements the function provided by the ivadmin_acl_getdescription() C API.
PDException
- if an error occurs.public java.util.HashMap getPDAclEntriesUser() throws PDException
This method implements the function provided by the ivadmin_acl_listusers() and ivadmin_acl_getuser() C APIs.
PDException
- if an error occurs.public java.util.HashMap getPDAclEntriesGroup() throws PDException
This method implements the function provided by the ivadmin_acl_listgroups() and ivadmin_acl_getgroup() C APIs.
PDException
- if an error occurs.public PDAclEntryAnyOther getPDAclEntryAnyOther() throws PDException
This method implements the function provided by the ivadmin_acl_getanyother() C API.
PDException
- if an error occurs.public PDAclEntryUnAuth getPDAclEntryUnAuth() throws PDException
This method implements the function provided by the ivadmin_acl_getunauth() C API.
PDException
- if an error occurs.public java.util.ArrayList getAttributeNames() throws PDException
This method implements the function provided by the ivadmin_acl_attrlist() C API.
PDException
- if an error occurs.public java.util.ArrayList getAttributeValues(java.lang.String attributeName) throws PDException
This method implements the function provided by the ivadmin_acl_attrget() C API.
attributeName
- name of the extended attribute.
PDException
- if an error occurs.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static void createAcl(PDContext context, java.lang.String id, java.lang.String description, java.util.HashMap aclEntriesUser, java.util.HashMap aclEntriesGroup, PDAclEntryAnyOther aclEntryAnyOther, PDAclEntryUnAuth aclEntryUnAuth, PDAttrs attributes, PDMessages messages) throws PDException
This method is equivalent to the ivadmin_acl_create() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL to be created.
Cannot be null.description
- description of the ACL to be created.
If null, an empty string is assumed.
The input parameter is not changed.aclEntriesUser
- HashMap of PDAclEntryUser objects keyed by the
user id.
Can be null.aclEntriesGroup
- HashMap of PDAclEntryGroup objects keyed by the
group id.
Can be null.aclEntryAnyOther
- a PDAclEntryAnyOther object.
Can be null.aclEntryUnAuth
- a PDAclEntryUnAuth object.
Can be null.attributes
- Extended attributes for this ACL, implemented as
PDAttrs
objects.
Will be supported
in the future. For now, pass a null value for this
parameter. Use the setAttributeValue() method to
set the attributes for the ACL.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void createAcl(PDContext context, java.lang.String id, java.lang.String description, java.util.HashMap aclEntriesUser, java.util.HashMap aclEntriesGroup, PDAclEntryAnyOther aclEntryAnyOther, PDAclEntryUnAuth aclEntryUnAuth, PDAttrs attributes, PDMessages messages) throws PDException
createAcl(PDContext,String,String,HashMap,HashMap,PDAclEntryAnyOther,PDAclEntryUnAuth,com.tivoli.pd.jutil.PDAttrs,PDMessages)
method.
This method is equivalent to the ivadmin_acl_create() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL to be created.
Cannot be null.description
- description of the ACL to be created.
If null, an empty string is assumed.
The input parameter is not changed.aclEntriesUser
- HashMap of PDAclEntryUser objects keyed by the
user id.
Can be null.aclEntriesGroup
- HashMap of PDAclEntryGroup objects keyed by the
group id.
Can be null.aclEntryAnyOther
- a PDAclEntryAnyOther object.
Can be null.aclEntryUnAuth
- a PDAclEntryUnAuth object.
Can be null.attributes
- Extended attributes for this ACL, implemented as
PDAttrs
objects.
Will be supported
in the future. For now, pass a null value for this
parameter. Use the setAttributeValue() method to
set the attributes for the ACL.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static java.util.ArrayList listAcls(PDContext context, java.lang.String pattern, long maxReturn, PDMessages messages) throws PDException
This method is equivalent to the ivadmin_acl_list() C API.
context
- the context for communicating with the
policy server.
Cannot be null.pattern
- the pattern for acl names to match. This pattern
is interpreted as a literal string, with the
exception of the asterisk ('*') character, which
is interpreted as a metacharacter that matches
zero or more characters. Asterisks can be located
at the beginning, in the middle or at the end of
the pattern, and the pattern can contain multiple
asterisks.
PDACL_ALLPATTERN
matches all names.maxReturn
- the maximum number of user names to return. This
argument must be greater than or equal to 0. The
value of 0 or
PDACL_MAXRETURN
means return all acls.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static java.util.ArrayList listAcls(PDContext context, PDMessages messages) throws PDException
This method is equivalent to the ivadmin_acl_list() C API.
context
- the context for communicating with the
policy server.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void deleteAcl(PDContext context, java.lang.String id, PDMessages messages) throws PDException
This method is equivalent to the ivadmin_acl_delete() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL to be deleted.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void setDescription(PDContext context, java.lang.String id, java.lang.String newDescription, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setdescription() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL.
Cannot be null.newDescription
- descriptive string for the ACL.
Cannot be null; use the empty
String to clear the existing description.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void setPDAclEntryUser(PDContext context, java.lang.String id, PDAclEntryUser aclEntryUser, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setuser() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- Name of the ACL.
Cannot be null.aclEntryUser
- a PDAclEntryUser object.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void setPDAclEntryGroup(PDContext context, java.lang.String id, PDAclEntryGroup aclEntryGroup, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setgroup() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- Name of the ACL.
Cannot be null.aclEntryGroup
- a PDAclEntryGroup object.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void setPDAclEntryAnyOther(PDContext context, java.lang.String id, PDAclEntryAnyOther aclEntryAnyOther, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setanyother() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- Name of the ACL.
Cannot be null.aclEntryAnyOther
- a PDAclEntryAnyOther object.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void setPDAclEntryUnAuth(PDContext context, java.lang.String id, PDAclEntryUnAuth aclEntryUnAuth, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_setunauth() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- Name of the ACL.
Cannot be null.aclEntryUnAuth
- a PDAclEntryUnAuth object.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void removePDAclEntryUser(PDContext context, java.lang.String id, java.lang.String userId, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_removeuser() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL.
Cannot be null.userId
- user whose ACL entry needs to be removed.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void removePDAclEntryGroup(PDContext context, java.lang.String id, java.lang.String groupId, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_removegroup() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL.
Cannot be null.groupId
- group whose ACL entry needs to be removed.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void removePDAclEntryAnyOther(PDContext context, java.lang.String id, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_removeanyother() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void removePDAclEntryUnAuth(PDContext context, java.lang.String id, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_removeunauth() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational
or warning messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void setAttributeValue(PDContext context, java.lang.String id, java.lang.String attributeName, java.lang.String attributeValue, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_attrput() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL.
Cannot be null.attributeName
- name of the extended attribute.
Cannot be null.attributeValue
- value of the attribute.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void deleteAttribute(PDContext context, java.lang.String id, java.lang.String attributeName, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_attrdelkey() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL.
Cannot be null.attributeName
- name of the extended attribute.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void deleteAttributeValue(PDContext context, java.lang.String id, java.lang.String attributeName, java.lang.String attributeValue, PDMessages messages) throws PDException
This method implements the function provided by the ivadmin_acl_attrdelval() C API.
context
- the context for communicating with the
policy server.
Cannot be null.id
- name of the ACL.
Cannot be null.attributeName
- name of the extended attribute.
Cannot be null.attributeValue
- value of the extended attribute.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |