org.opends.server.admin.std.client
Interface MemberVirtualAttributeCfgClient

All Superinterfaces:
ConfigurationClient, VirtualAttributeCfgClient

public interface MemberVirtualAttributeCfgClient
extends VirtualAttributeCfgClient

A client-side interface for reading and modifying Member Virtual Attribute settings.

The Member Virtual Attribute generates a member or uniqueMember attribute whose values are the DNs of the members of a specified virtual static group.


Method Summary
 ManagedObjectDefinition<? extends MemberVirtualAttributeCfgClient,? extends MemberVirtualAttributeCfg> definition()
          Get the configuration definition associated with this Member Virtual Attribute.
 VirtualAttributeCfgDefn.ConflictBehavior getConflictBehavior()
          Gets the "conflict-behavior" property.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 boolean isAllowRetrievingMembership()
          Gets the "allow-retrieving-membership" property.
 void setAllowRetrievingMembership(boolean value)
          Sets the "allow-retrieving-membership" property.
 void setConflictBehavior(VirtualAttributeCfgDefn.ConflictBehavior value)
          Sets the "conflict-behavior" property.
 void setJavaClass(java.lang.String value)
          Sets the "java-class" property.
 
Methods inherited from interface org.opends.server.admin.std.client.VirtualAttributeCfgClient
getAttributeType, getBaseDN, getFilter, getGroupDN, isEnabled, setAttributeType, setBaseDN, setEnabled, setFilter, setGroupDN
 
Methods inherited from interface org.opends.server.admin.ConfigurationClient
commit, properties
 

Method Detail

definition

ManagedObjectDefinition<? extends MemberVirtualAttributeCfgClient,? extends MemberVirtualAttributeCfg> definition()
Get the configuration definition associated with this Member Virtual Attribute.

Specified by:
definition in interface ConfigurationClient
Specified by:
definition in interface VirtualAttributeCfgClient
Returns:
Returns the configuration definition associated with this Member Virtual Attribute.

isAllowRetrievingMembership

boolean isAllowRetrievingMembership()
Gets the "allow-retrieving-membership" property.

Indicates whether to handle requests that request all values for the virtual attribute.

This operation can be very expensive in some cases and is not consistent with the primary function of virtual static groups, which is to make it possible to use static group idioms to determine whether a given user is a member. If this attribute is set to false, attempts to retrieve the entire set of values receive an empty set, and only attempts to determine whether the attribute has a specific value or set of values (which is the primary anticipated use for virtual static groups) are handled properly.

Returns:
Returns the value of the "allow-retrieving-membership" property.

setAllowRetrievingMembership

void setAllowRetrievingMembership(boolean value)
                                  throws IllegalPropertyValueException
Sets the "allow-retrieving-membership" property.

Indicates whether to handle requests that request all values for the virtual attribute.

This operation can be very expensive in some cases and is not consistent with the primary function of virtual static groups, which is to make it possible to use static group idioms to determine whether a given user is a member. If this attribute is set to false, attempts to retrieve the entire set of values receive an empty set, and only attempts to determine whether the attribute has a specific value or set of values (which is the primary anticipated use for virtual static groups) are handled properly.

Parameters:
value - The value of the "allow-retrieving-membership" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getConflictBehavior

VirtualAttributeCfgDefn.ConflictBehavior getConflictBehavior()
Gets the "conflict-behavior" property.

Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute.

Specified by:
getConflictBehavior in interface VirtualAttributeCfgClient
Returns:
Returns the value of the "conflict-behavior" property.

setConflictBehavior

void setConflictBehavior(VirtualAttributeCfgDefn.ConflictBehavior value)
                         throws IllegalPropertyValueException
Sets the "conflict-behavior" property.

Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute.

Specified by:
setConflictBehavior in interface VirtualAttributeCfgClient
Parameters:
value - The value of the "conflict-behavior" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getJavaClass

java.lang.String getJavaClass()
Gets the "java-class" property.

Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values.

Specified by:
getJavaClass in interface VirtualAttributeCfgClient
Returns:
Returns the value of the "java-class" property.

setJavaClass

void setJavaClass(java.lang.String value)
                  throws IllegalPropertyValueException
Sets the "java-class" property.

Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values.

Specified by:
setJavaClass in interface VirtualAttributeCfgClient
Parameters:
value - The value of the "java-class" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.