Package org.opends.server.extensions
Class PasswordPolicySubentryVirtualAttributeProvider
- java.lang.Object
-
- org.opends.server.api.VirtualAttributeProvider<PasswordPolicySubentryVirtualAttributeCfg>
-
- org.opends.server.extensions.PasswordPolicySubentryVirtualAttributeProvider
-
public class PasswordPolicySubentryVirtualAttributeProvider extends VirtualAttributeProvider<PasswordPolicySubentryVirtualAttributeCfg>
This class implements a virtual attribute provider to serve the pwdPolicySubentry operational attribute as described in Password Policy for LDAP Directories Internet-Draft.
-
-
Constructor Summary
Constructors Constructor Description PasswordPolicySubentryVirtualAttributeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attribute
getAttribute(Entry entry, AttributeDescription attributeDescription)
Generates an unmodifiable attribute with the values for the provided entry.boolean
isMultiValued()
Indicates whether this virtual attribute provider may generate multiple values.-
Methods inherited from class org.opends.server.api.VirtualAttributeProvider
finalizeVirtualAttributeProvider, getServerContext, initializeVirtualAttributeProvider, initializeVirtualAttributeProvider, isConfigurationAcceptable, isSearchable, processSearch
-
-
-
-
Method Detail
-
isMultiValued
public boolean isMultiValued()
Description copied from class:VirtualAttributeProvider
Indicates whether this virtual attribute provider may generate multiple values.- Specified by:
isMultiValued
in classVirtualAttributeProvider<PasswordPolicySubentryVirtualAttributeCfg>
- Returns:
true
if this virtual attribute provider may generate multiple values, orfalse
if not.
-
getAttribute
public Attribute getAttribute(Entry entry, AttributeDescription attributeDescription)
Description copied from class:VirtualAttributeProvider
Generates an unmodifiable attribute with the values for the provided entry.- Specified by:
getAttribute
in classVirtualAttributeProvider<PasswordPolicySubentryVirtualAttributeCfg>
- Parameters:
entry
- The entry for which the values are to be generated.attributeDescription
- the attribute description corresponding to this virtual attribute- Returns:
- The unmodifiable attribute with the values generated for the provided entry. It may be empty, but it must
not be
null
.
-
-