Package | Description |
---|---|
org.forgerock.opendj.io |
Classes and interfaces providing I/O functionality.
|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.opendj.ldap.controls |
Classes and interfaces for common LDAP controls.
|
org.forgerock.opendj.ldap.messages |
Classes and interfaces for core LDAP requests/responses.
|
org.forgerock.opendj.ldap.schema |
Classes and interfaces for constructing and querying LDAP schemas.
|
org.forgerock.opendj.ldap.spi |
Interfaces and classes for service providers.
|
org.forgerock.opendj.rest2ldap |
APIs for implementing REST to LDAP gateways.
|
org.forgerock.opendj.rest2ldap.schema |
This package contains LDAP schema syntaxes and matching rules for JSON based attributes.
|
org.opends.server.api |
Contains a number of API declarations for use throughout the
Directory Server.
|
org.opends.server.authorization.dseecompat |
Contains the Directory Server Sun Java System Directory Server Enterprise Edition (dseecompat) compatability access
control handler implementation.
|
org.opends.server.backends.pluggable.spi |
Interfaces and classes required when implementing new storage engines for the pluggable backend.
|
org.opends.server.controls |
Contains classes that represent specific LDAP controls and their values.
|
org.opends.server.core |
Contains various classes that comprise the core of the Directory Server codebase.
|
org.opends.server.crypto |
This package implements the Directory Server cryptographic framework, which is described in the
CrytpoManager design document.
|
org.opends.server.extensions |
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
|
org.opends.server.plugins |
Contains the implementation for various Directory Server plugins.
|
org.opends.server.replication.common |
This package contains utilities that can are used by all the packages below org.opends.server.replication.
|
org.opends.server.replication.plugin |
This package contains the part of the Multi-master
replication code that works on the Directory Server side.
|
org.opends.server.schema |
Contains implementations of various Directory Server schema elements.
|
org.opends.server.types |
Contains implementations for a number of Directory Server data types.
|
org.opends.server.types.operation |
Contains a number of interfaces that are implemented by the various types of Directory Server operations.
|
org.opends.server.util |
Contains implementations for various Directory Server utility classes and methods which may be used throughout the
server but do not necessarily fit in elsewhere.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
Asn1Reader.readOctetString()
Reads the next element as an octet string having the Universal Octet
String ASN.1 type tag.
|
ByteString |
Asn1Reader.readOctetString(byte type)
Reads the next element as an octet string having the provided type tag.
|
ByteString |
AbstractAsn1Reader.readOctetString(byte type) |
Modifier and Type | Method and Description |
---|---|
static ByteString[] |
ByteString.asArray(Object... objects)
Returns an array containing the provided objects converted to byte strings using
valueOfObject(Object) . |
ByteString |
AttributeParser.asByteString()
Returns the first value, or
null if the attribute does not
contain any values. |
ByteString |
AttributeParser.asByteString(ByteString defaultValue)
Returns the first value, or
defaultValue if the attribute does
not contain any values. |
static ByteString |
Base64.decode(String base64)
Decodes the provided base64 encoded data.
|
static ByteString |
ByteString.empty()
Returns an empty byte string.
|
ByteString |
LinkedAttribute.firstValue() |
ByteString |
Attribute.firstValue()
Returns the first attribute value in this attribute.
|
ByteString |
AbstractAttribute.firstValue() |
ByteString |
Filter.getAssertionValue()
Returns the assertion value for this comparison filter.
|
ByteString |
Ava.getAttributeValue()
Returns the attribute value associated with this AVA.
|
ByteString |
Rdn.getAttributeValue(AttributeType attributeType)
Returns the attribute value contained in this RDN which is associated
with the provided attribute type, or
null if this RDN does not
include such an attribute value. |
ByteString |
Filter.getSubstringsFinal()
Returns the final substring assertion value for this substrings filter, or
null if the substrings filter
did not include an final substring. |
ByteString |
Filter.getSubstringsInitial()
Returns the initial substring assertion value for this substrings filter, or
null if the substrings
filter did not include an initial substring. |
ByteString |
Filter.getUnrecognizedFilterBytes()
Returns the ASN.1 content associated with this unrecognized filter.
|
ByteString |
ByteSequenceReader.readByteString(int length)
Relative bulk read method.
|
ByteString |
ByteString.subSequence(int start,
int end) |
ByteString[] |
Attribute.toArray()
Returns an array containing all of the attribute values contained in this
attribute.
|
ByteString[] |
AbstractAttribute.toArray() |
ByteString |
ByteStringBuilder.toByteString()
Returns the
ByteString representation of this byte string
builder. |
ByteString |
ByteString.toByteString() |
ByteString |
ByteSequence.toByteString()
Returns the
ByteString representation of this byte sequence. |
ByteString |
Dn.toNormalizedByteString()
Retrieves a normalized byte string representation of this DN.
|
static ByteString |
ByteString.valueOfBase64(String s)
Returns a byte string containing the Base64 decoded bytes of the provided
string.
|
static ByteString |
ByteString.valueOfBytes(byte[] bytes)
Returns a byte string containing the contents of the provided byte array.
|
static ByteString |
ByteString.valueOfBytes(byte[] bytes,
int offset,
int length)
Returns a byte string containing a subsequence of the contents of the
provided byte array.
|
static ByteString |
ByteString.valueOfHex(String hexString)
Returns a byte string containing the bytes of the provided hexadecimal string.
|
static ByteString |
ByteString.valueOfInt(int i)
Returns a byte string containing the big-endian encoded bytes of the
provided integer.
|
static ByteString |
ByteString.valueOfLong(long l)
Returns a byte string containing the big-endian encoded bytes of the
provided long.
|
static ByteString |
ByteString.valueOfObject(Object o)
Returns a byte string representation of the provided object.
|
static ByteString |
ByteString.valueOfUtf8(char[] chars)
Returns a byte string containing the UTF-8 encoded bytes of the provided
char array.
|
static ByteString |
ByteString.valueOfUtf8(CharSequence s)
Returns a byte string containing the UTF-8 encoded bytes of the provided
char sequence.
|
static ByteString |
ByteString.wrap(byte[] bytes)
Returns a byte string that wraps the provided byte array.
|
static ByteString |
ByteString.wrap(byte[] bytes,
int offset,
int length)
Returns a byte string that wraps a subsequence of the provided byte
array.
|
Modifier and Type | Method and Description |
---|---|
static List<ByteString> |
ByteString.asList(Object... objects)
Returns a list containing the provided objects converted to byte strings using
valueOfObject(Object) . |
Set<ByteString> |
AttributeParser.asSetOfByteString(ByteString... defaultValues)
Returns the values contained in the attribute, or
defaultValues
if the attribute does not contain any values. |
Set<ByteString> |
AttributeParser.asSetOfByteString(Collection<ByteString> defaultValues)
Returns the values contained in the attribute, or
defaultValues
if the attribute does not contain any values. |
static Function<ByteString,Boolean,LocalizedIllegalArgumentException> |
Functions.byteStringToBoolean()
Returns a function which parses
Boolean values. |
static Function<ByteString,Dn,LocalizedIllegalArgumentException> |
Functions.byteStringToDn()
Returns a function which parses
DN s using the default schema. |
static Function<ByteString,Dn,LocalizedIllegalArgumentException> |
Functions.byteStringToDn(Schema schema)
Returns a function which parses
DN s using the provided schema. |
static Function<ByteString,GeneralizedTime,LocalizedIllegalArgumentException> |
Functions.byteStringToGeneralizedTime()
Returns a function which parses generalized time strings.
|
static Function<ByteString,Integer,LocalizedIllegalArgumentException> |
Functions.byteStringToInteger()
Returns a function which parses
Integer string values. |
static Function<ByteString,Long,LocalizedIllegalArgumentException> |
Functions.byteStringToLong()
Returns a function which parses
Long string values. |
List<ByteString> |
Filter.getSubstringsAny()
Returns an unmodifiable list containing any intermediate substring assertion values for this substrings filter,
which may be an empty if the substrings filter did not include an intermediate substrings.
|
Iterator<ByteString> |
LinkedAttribute.iterator() |
Iterator<ByteString> |
Attribute.iterator()
Returns an iterator over the attribute values in this attribute.
|
abstract Iterator<ByteString> |
AbstractAttribute.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
LinkedAttribute.add(ByteString value) |
default boolean |
Attribute.add(ByteString value)
Adds
value to this attribute if it is not already present
(optional operation). |
ByteString |
AttributeParser.asByteString(ByteString defaultValue)
Returns the first value, or
defaultValue if the attribute does
not contain any values. |
Set<ByteString> |
AttributeParser.asSetOfByteString(ByteString... defaultValues)
Returns the values contained in the attribute, or
defaultValues
if the attribute does not contain any values. |
static AttributeDescription |
Functions.byteStringToAttributeDescription(ByteString value,
Schema schema)
Parses a
ByteString as an AttributeDescription using the provided schema. |
static X509Certificate |
Functions.byteStringToCertificate(ByteString value)
Parses a
ByteString as a X509Certificate . |
GenericExtendedResult |
Connection.extendedRequest(String requestName,
ByteString requestValue)
Requests that the Directory Server performs the provided extended
request.
|
GenericExtendedResult |
AbstractConnectionWrapper.extendedRequest(String requestName,
ByteString requestValue)
Requests that the Directory Server performs the provided extended
request.
|
GenericExtendedResult |
AbstractConnection.extendedRequest(String requestName,
ByteString requestValue) |
static Filter |
Filter.unrecognized(byte filterTag,
ByteString filterBytes)
Creates a new
unrecognized filter using the provided ASN1 filter
tag and content. |
static Dn |
Dn.valueOf(ByteString dn)
Parses the provided LDAP string representation of a DN using the default schema.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
Attribute.addAll(Collection<? extends ByteString> values)
Adds all of the attribute values contained in
values to this
attribute if they are not already present (optional operation). |
boolean |
AbstractAttribute.addAll(Collection<? extends ByteString> values) |
boolean |
Entry.addAttribute(Attribute attribute,
Collection<? super ByteString> duplicateValues)
Ensures that this entry contains the provided attribute and values (optional operation).
|
boolean |
Entries.NullEntry.addAttribute(Attribute attribute,
Collection<? super ByteString> duplicateValues) |
boolean |
AbstractMapEntry.addAttribute(Attribute attribute,
Collection<? super ByteString> duplicateValues) |
<T,E extends Exception> |
AttributeParser.as(Function<ByteString,? extends T,E> f)
Returns the first value decoded as a
T using the provided
Function , or null if the attribute does not contain any
values. |
<T,E extends Exception> |
AttributeParser.as(Function<ByteString,? extends T,E> f,
T defaultValue)
Returns the first value decoded as a
T using the provided
Function , or defaultValue if the attribute does not
contain any values. |
<T,E extends Exception> |
AttributeParser.asSetOf(Function<ByteString,? extends T,E> f,
Collection<? extends T> defaultValues)
Returns the values decoded as a set of
T s using the provided
Function , or defaultValues if the attribute does not
contain any values. |
<T,E extends Exception> |
AttributeParser.asSetOf(Function<ByteString,? extends T,E> f,
T... defaultValues)
Returns the values decoded as a set of
T s using the provided
Function , or defaultValues if the attribute does not
contain any values. |
Set<ByteString> |
AttributeParser.asSetOfByteString(Collection<ByteString> defaultValues)
Returns the values contained in the attribute, or
defaultValues
if the attribute does not contain any values. |
default boolean |
Entry.containsAttribute(Attribute attribute,
Collection<? super ByteString> missingValues)
Returns
true if this entry contains all of the attribute values contained in attribute . |
static Entry |
Entries.modifyEntry(Entry entry,
Modification change,
Collection<? super ByteString> conflictingValues)
Applies the provided modification to an entry.
|
default boolean |
Entry.removeAttribute(Attribute attribute,
Collection<? super ByteString> missingValues)
Removes all of the attribute values contained in
attribute from this entry if it is present (optional
operation). |
boolean |
AbstractMapEntry.removeAttribute(Attribute attribute,
Collection<? super ByteString> missingValues) |
Modifier and Type | Method and Description |
---|---|
ByteString |
VirtualListViewRequestControl.getAssertionValue()
Returns the assertion value that will be used to locate the target entry,
if applicable.
|
ByteString |
VirtualListViewResponseControl.getContextId()
Returns a server-defined octet string which, if present, should be sent
back to the server by the client in a subsequent virtual list request.
|
ByteString |
VirtualListViewRequestControl.getContextId()
Returns the context ID provided by the server in the last virtual list
view response for the same set of criteria, or
null if there was
no previous virtual list view response or the server did not include a
context ID in the last response. |
ByteString |
SimplePagedResultsControl.getCookie()
Returns the opaque cookie which is used by the server to track its
position in the set of search results.
|
ByteString |
VirtualListViewResponseControl.getValue() |
ByteString |
VirtualListViewRequestControl.getValue() |
ByteString |
SubtreeDeleteRequestControl.getValue() |
ByteString |
SubentriesRequestControl.getValue() |
ByteString |
SimplePagedResultsControl.getValue() |
ByteString |
ServerSideSortResponseControl.getValue() |
ByteString |
ServerSideSortRequestControl.getValue() |
ByteString |
RelaxRulesRequestControl.getValue() |
ByteString |
ProxiedAuthV2RequestControl.getValue() |
ByteString |
ProxiedAuthV1RequestControl.getValue() |
ByteString |
PreReadResponseControl.getValue() |
ByteString |
PreReadRequestControl.getValue() |
ByteString |
PostReadResponseControl.getValue() |
ByteString |
PostReadRequestControl.getValue() |
ByteString |
PersistentSearchRequestControl.getValue() |
ByteString |
PermissiveModifyRequestControl.getValue() |
ByteString |
PasswordPolicyResponseControl.getValue() |
ByteString |
PasswordPolicyRequestControl.getValue() |
ByteString |
PasswordExpiringResponseControl.getValue() |
ByteString |
PasswordExpiredResponseControl.getValue() |
ByteString |
MatchedValuesRequestControl.getValue() |
ByteString |
ManageDsaItRequestControl.getValue() |
ByteString |
GetEffectiveRightsRequestControl.getValue() |
ByteString |
GenericControl.getValue() |
ByteString |
EntryChangeNotificationResponseControl.getValue() |
ByteString |
Control.getValue()
Returns the value, if any, associated with this control.
|
ByteString |
AuthorizationIdentityResponseControl.getValue() |
ByteString |
AuthorizationIdentityRequestControl.getValue() |
ByteString |
AssertionRequestControl.getValue() |
ByteString |
AdNotificationRequestControl.getValue() |
Modifier and Type | Method and Description |
---|---|
static VirtualListViewRequestControl |
VirtualListViewRequestControl.newAssertionControl(boolean isCritical,
ByteString assertionValue,
int beforeCount,
int afterCount,
ByteString contextId)
Creates a new virtual list view request control that will identify the
target entry by an assertion value.
|
static SimplePagedResultsControl |
SimplePagedResultsControl.newControl(boolean isCritical,
int size,
ByteString cookie)
Creates a new simple paged results control with the provided criticality,
size, and cookie.
|
static VirtualListViewResponseControl |
VirtualListViewResponseControl.newControl(int targetPosition,
int contentCount,
ResultCode result,
ByteString contextId)
Creates a new virtual list view response control.
|
static VirtualListViewRequestControl |
VirtualListViewRequestControl.newOffsetControl(boolean isCritical,
int offset,
int contentCount,
int beforeCount,
int afterCount,
ByteString contextId)
Creates a new virtual list view request control that will identify the
target entry by a positional offset within the complete result set.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
CompareRequest.getAssertionValue()
Returns the assertion value to be compared.
|
ByteString |
UnknownRequest.getRawProtocolOp()
Returns the unparsed protocol-op bytes.
|
ByteString |
BindResult.getServerSaslCredentials()
Returns the server SASL credentials associated with this bind result.
|
ByteString |
PasswordModifyExtendedRequest.getUserIdentity()
Returns the identity of the user whose password is to be modified, or
null if the request should be applied to the user currently
associated with the session. |
ByteString |
WhoAmIExtendedResult.getValue() |
ByteString |
WhoAmIExtendedRequest.getValue() |
ByteString |
StartTlsExtendedRequest.getValue() |
ByteString |
PasswordModifyExtendedResult.getValue() |
ByteString |
PasswordModifyExtendedRequest.getValue() |
ByteString |
IntermediateResponse.getValue()
Returns the value, if any, associated with this intermediate response.
|
ByteString |
GenericIntermediateResponse.getValue() |
ByteString |
GenericExtendedResult.getValue() |
ByteString |
GenericExtendedRequest.getValue() |
ByteString |
ExtendedResult.getValue()
Returns the value, if any, associated with this extended result.
|
ByteString |
ExtendedRequest.getValue()
Returns the value, if any, associated with this extended request.
|
ByteString |
CancelExtendedRequest.getValue() |
abstract ByteString |
AbstractIntermediateResponse.getValue() |
abstract ByteString |
AbstractExtendedResult.getValue() |
abstract ByteString |
AbstractExtendedRequest.getValue() |
Modifier and Type | Method and Description |
---|---|
static UnknownRequest |
Requests.newUnknownRequest(byte protocolOpType,
ByteString rawContent)
Creates a new unknown request backed by the provided bytes.
|
BindResult |
BindResult.setServerSaslCredentials(ByteString credentials)
Sets the server SASL credentials associated with this bind result.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SearchResultEntry.addAttribute(Attribute attribute,
Collection<? super ByteString> duplicateValues) |
boolean |
AddRequest.addAttribute(Attribute attribute,
Collection<? super ByteString> duplicateValues) |
boolean |
SearchResultEntry.containsAttribute(Attribute attribute,
Collection<? super ByteString> missingValues) |
boolean |
AddRequest.containsAttribute(Attribute attribute,
Collection<? super ByteString> missingValues) |
boolean |
SearchResultEntry.removeAttribute(Attribute attribute,
Collection<? super ByteString> missingValues) |
boolean |
AddRequest.removeAttribute(Attribute attribute,
Collection<? super ByteString> missingValues) |
Modifier and Type | Method and Description |
---|---|
ByteString |
MatchingRule.normalizeAttributeValue(ByteSequence value)
Returns the normalized form of the provided attribute value, which is
best suited for efficiently performing matching operations on that value.
|
ByteString |
MatchingRuleImpl.normalizeAttributeValue(Schema schema,
ByteSequence value)
Retrieves the normalized form of the provided attribute value, which is
best suited for efficiently performing matching operations on that value.
|
Modifier and Type | Method and Description |
---|---|
void |
Indexer.createKeys(Schema schema,
ByteSequence value,
Collection<ByteString> keys)
Generates the set of index keys for an attribute.
|
Modifier and Type | Method and Description |
---|---|
SimplePropertyMapper |
SimplePropertyMapper.decoder(Function<ByteString,?,? extends Exception> f)
Sets the decoder which will be used for converting LDAP attribute values
to JSON values.
|
SimplePropertyMapper |
SimplePropertyMapper.encoder(Function<Object,ByteString,? extends Exception> f)
Sets the encoder which will be used for converting JSON values to LDAP
attribute values.
|
Modifier and Type | Method and Description |
---|---|
static ByteString |
JsonSchema.jsonToByteString(Object value)
Converts a JSON
Object to a ByteString representation. |
Modifier and Type | Method and Description |
---|---|
static Object |
JsonSchema.byteStringToJson(ByteString value)
Parses the provided byte string as a JSON value.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
PasswordStorageScheme.encodeAuthPassword(ByteSequence plaintext)
Encodes the provided plaintext password for this storage scheme using the authentication password syntax defined
in RFC 3112.
|
abstract ByteString |
PasswordStorageScheme.encodePassword(ByteSequence plaintext)
Encodes the provided plaintext password for this storage scheme, without the name of the associated scheme.
|
ByteString |
PasswordStorageScheme.encodePasswordWithScheme(ByteSequence plaintext)
Encodes the provided plaintext password for this storage scheme, prepending the name of the scheme in curly
braces.
|
abstract ByteString |
PasswordGenerator.generatePassword(Entry userEntry)
Generates a password for the user whose account is contained in the specified entry.
|
ByteString |
PasswordStorageScheme.getAuthPasswordPlaintextValue(String authInfo,
String authValue)
Retrieves the original plaintext value for the provided password stored in the authPassword syntax.
|
ByteString |
PasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword)
Retrieves the original plaintext value for the provided stored password.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
PasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason)
Indicates whether the provided password is acceptable for use by the specified user.
|
abstract boolean |
AuthenticationPolicyState.passwordMatches(ByteString password)
Returns
true if the provided password value matches any of the user's passwords. |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
PasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason)
Indicates whether the provided password is acceptable for use by the specified user.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
AciTargetMatchContext.getCurrentAttributeValue()
The current attribute type value being evaluated.
|
Modifier and Type | Method and Description |
---|---|
void |
AciTargetMatchContext.setCurrentAttributeValue(ByteString v)
Set the attribute value to be evaluated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PatternRDN.addValue(String type,
List<ByteString> valuePattern,
String dnString)
Add another attribute-value pair to the pattern.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
ReadableTransaction.read(TreeName treeName,
ByteSequence key)
Reads the record's value associated to the provided key, in the tree whose name is provided.
|
ByteString |
Importer.read(TreeName treeName,
ByteSequence key)
Reads the record's value associated to the provided key, in the tree whose name is provided.
|
Modifier and Type | Method and Description |
---|---|
Cursor<ByteString,ByteString> |
ReadableTransaction.openCursor(TreeName treeName)
Opens a cursor on the tree whose name is provided.
|
Cursor<ByteString,ByteString> |
ReadableTransaction.openCursor(TreeName treeName)
Opens a cursor on the tree whose name is provided.
|
SequentialCursor<ByteString,ByteString> |
Importer.openCursor(TreeName treeName)
Opens a cursor on the tree whose name is provided.
|
SequentialCursor<ByteString,ByteString> |
Importer.openCursor(TreeName treeName)
Opens a cursor on the tree whose name is provided.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
ReplicatedRequestControl.getValue() |
ByteString |
InternalModificationsRequestControl.getValue() |
ByteString |
ExternalChangelogRequestControl.getValue() |
ByteString |
EntryChangelogNotificationResponseControl.getValue() |
Modifier and Type | Method and Description |
---|---|
ByteString |
PasswordPolicyState.generatePassword()
Generates a new password for the user.
|
ByteString |
CompareOperation.getAssertionValue()
Retrieves the assertion value for this compare operation.
|
ByteString |
ExtendedOperation.getRequestValue()
Retrieves the value for the request associated with this extended operation.
|
ByteString |
ExtendedOperation.getResponseValue()
Retrieves the value to include in the response to the client.
|
ByteString |
BindOperation.getSASLCredentials()
Retrieves the SASL credentials for this bind operation.
|
ByteString |
BindOperation.getServerSASLCredentials()
Retrieves the set of server SASL credentials to include in the bind response.
|
ByteString |
BindOperation.getSimplePassword() |
Modifier and Type | Method and Description |
---|---|
List<ByteString> |
PasswordPolicyState.encodePassword(ByteString password)
Encodes the provided password using the default storage schemes (using the appropriate syntax for the password
attribute).
|
List<ByteString> |
PasswordPolicyState.getClearPasswords()
Retrieves a list of the clear-text passwords for the user.
|
List<ByteString> |
ModifyOperation.getCurrentPasswords()
Retrieves the set of clear-text current passwords for the user, if available.
|
List<ByteString> |
ModifyOperation.getNewPasswords()
Retrieves the set of clear-text new passwords for the user, if available.
|
Collection<ByteString> |
PasswordPolicyState.getPasswordValues()
Retrieves the unmodifiable set of values for the password attribute from the user entry.
|
Modifier and Type | Method and Description |
---|---|
List<ByteString> |
PasswordPolicyState.encodePassword(ByteString password)
Encodes the provided password using the default storage schemes (using the appropriate syntax for the password
attribute).
|
void |
PasswordPolicyState.handleDeprecatedStorageSchemes(ByteString password)
Performs any processing that may be necessary to remove deprecated storage schemes from the user's entry that
match the provided password and re-encodes them using the default schemes.
|
boolean |
PasswordPolicyState.isPasswordInHistory(ByteString password)
Indicates whether the provided password is equal to any of the current passwords, or any of the passwords in the
history.
|
boolean |
PasswordPolicyState.passwordIsAcceptable(Operation operation,
Entry userEntry,
ByteString newPassword,
Set<ByteString> currentPasswords,
LocalizableMessageBuilder invalidReason)
Indicates whether the provided password appears to be acceptable according to the password validators.
|
boolean |
PasswordPolicyState.passwordIsPreEncoded(ByteString passwordValue)
Indicates whether the provided password value is pre-encoded.
|
boolean |
PasswordPolicyState.passwordMatches(ByteString password) |
boolean |
PasswordPolicyState.passwordMatches(ByteString password,
Entry entry)
Returns
true if the provided password value matches any of the user's passwords in the given entry. |
void |
CompareOperation.setAssertionValue(ByteString assertionValue)
Specifies the assertion value for this compare operation.
|
void |
ExtendedOperation.setRequestValue(ByteString requestValue)
Specifies the value for the request associated with this extended operation.
|
void |
ExtendedOperation.setResponseValue(ByteString responseValue)
Specifies the value to include in the response to the client.
|
void |
BindOperation.setSASLCredentials(String saslMechanism,
ByteString saslCredentials)
Specifies the SASL credentials for this bind operation.
|
void |
BindOperation.setServerSASLCredentials(ByteString serverSASLCredentials)
Specifies the set of server SASL credentials to include in the bind response.
|
void |
BindOperation.setSimplePassword(ByteString simplePassword) |
Modifier and Type | Method and Description |
---|---|
boolean |
PasswordPolicyState.passwordIsAcceptable(Operation operation,
Entry userEntry,
ByteString newPassword,
Set<ByteString> currentPasswords,
LocalizableMessageBuilder invalidReason)
Indicates whether the provided password appears to be acceptable according to the password validators.
|
Modifier and Type | Method and Description |
---|---|
static ByteString |
GetSymmetricKeyExtendedOperation.encodeRequestValue(String symmetricKey,
String instanceKeyID)
Encodes the provided information into an ASN.1 octet string suitable for use as the value for this extended
operation.
|
ByteString |
CryptoSuite.hash48(ByteSequence data)
Returns a ByteString of 6 bytes hash of the data.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
SaltedAbstractPasswordStorageScheme.encodeAuthPassword(ByteSequence plaintext) |
ByteString |
PKCS5S2PasswordStorageScheme.encodeAuthPassword(ByteSequence plaintext) |
ByteString |
PBKDF2PasswordStorageScheme.encodeAuthPassword(ByteSequence plaintext) |
ByteString |
TripleDESPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
SaltedAbstractPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
SHA1PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
RC4PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
PKCS5S2PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
PBKDF2PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
MD5PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
CryptPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
ClearPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
BlowfishPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
BcryptPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
Base64PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
AESPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
static ByteString |
GetConnectionIDExtendedOperation.encodeResponseValue(long connectionID)
Encodes the provided connection ID in an octet string suitable for use as the value for this extended operation.
|
ByteString |
RandomPasswordGenerator.generatePassword(Entry userEntry)
Generates a password for the user whose account is contained in the specified entry.
|
ByteString |
TripleDESPasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
RC4PasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
ClearPasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
BlowfishPasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
Base64PasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
AESPasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
Modifier and Type | Method and Description |
---|---|
static long |
GetConnectionIDExtendedOperation.decodeResponseValue(ByteString responseValue)
Decodes the provided ASN.1 octet string to extract the connection ID.
|
boolean |
UniqueCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
SimilarityBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
RepeatedCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
LengthBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
DictionaryPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
CharacterSetPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
AttributeValuePasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
Modifier and Type | Method and Description |
---|---|
boolean |
UniqueCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
SimilarityBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
RepeatedCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
LengthBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
DictionaryPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
CharacterSetPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
AttributeValuePasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
Modifier and Type | Method and Description |
---|---|
ByteString |
ChangeNumberControlPlugin.ChangeNumberResponseControl.getValue() |
Modifier and Type | Method and Description |
---|---|
ByteString |
CSN.toByteString()
Encodes this CSN as a byte string.
|
ByteString |
CSN.toByteString(CSN.CsnVersion version)
Encodes this CSN as a byte string according to the given CSN version.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
EntryHistoricalAttribute.firstValue() |
ByteString |
AttrValueHistorical.getAttributeValue()
Get the attributeValue for which this object was generated.
|
ByteString |
ReplicationRepairRequestControl.getValue() |
ByteString |
HistoricalCsnRangeMatchingRuleImpl.normalizeAttributeValue(Schema schema,
ByteSequence value) |
ByteString |
HistoricalCsnOrderingMatchingRuleImpl.normalizeAttributeValue(Schema schema,
ByteSequence value) |
ByteString[] |
EntryHistoricalAttribute.toArray() |
Modifier and Type | Method and Description |
---|---|
Iterator<ByteString> |
EntryHistoricalAttribute.iterator() |
Stream<ByteString> |
EntryHistoricalAttribute.parallelStream() |
Spliterator<ByteString> |
EntryHistoricalAttribute.spliterator() |
Stream<ByteString> |
EntryHistoricalAttribute.stream() |
Modifier and Type | Method and Description |
---|---|
boolean |
EntryHistoricalAttribute.add(ByteString value) |
void |
EntryHistorical.addAttrHistoricalAddValue(AttributeDescription attributeDescription,
CSN csn,
ByteString value)
Updates this entry historical information with the provided add modification.
|
void |
EntryHistorical.addAttrHistoricalDeleteValue(AttributeDescription attributeDescription,
CSN csn,
ByteString value)
Updates this entry historical information with the provided delete modification.
|
void |
EntryHistorical.addAttrHistoricalReplaceValue(AttributeDescription attributeDescription,
CSN csn,
ByteString value)
Updates this entry historical information with the provided replace modification.
|
boolean |
AttrHistoricalSingle.containsAddedValue(ByteString value) |
boolean |
AttrHistoricalMultiple.containsAddedValue(ByteString value) |
abstract boolean |
AttrHistorical.containsAddedValue(ByteString value)
Returns
true if this historical information contains add or replace meta-data for the provided
attribute value. |
Modifier and Type | Method and Description |
---|---|
boolean |
EntryHistoricalAttribute.addAll(Collection<? extends ByteString> values) |
void |
EntryHistoricalAttribute.forEach(Consumer<? super ByteString> action) |
boolean |
EntryHistoricalAttribute.removeIf(Predicate<? super ByteString> filter) |
Modifier and Type | Method and Description |
---|---|
static ByteString |
GeneralizedTimeSyntax.createGeneralizedTimeValue(long time)
Retrieves an attribute value containing a generalized time representation of the provided date.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
SubEntry.getInheritFromDNAttrValue()
Getter to retrieve inheritFromDNAttribute value for inherited collective attribute subentry.
|
ByteString |
SubEntry.getInheritFromRDNAttrValue()
Getter to retrieve inheritFromRDNAttribute value for inherited collective attribute subentry.
|
ByteString |
RecordingOutputStream.getRecordedBytes()
Retrieve the bytes read from this output stream since the last clear.
|
ByteString |
RecordingInputStream.getRecordedBytes()
Retrieve the bytes read from this input stream since the last clear.
|
ByteString |
AbstractVirtualAttribute.GeneratorIterator.next() |
protected abstract ByteString |
AbstractVirtualAttribute.GeneratorIterator.nextItem()
Generates the next item as a ByteString, or
null to indicate no more items will be generated. |
Modifier and Type | Method and Description |
---|---|
static Map<AccountStatusNotificationProperty,List<String>> |
AccountStatusNotification.createProperties(PasswordPolicyState pwPolicyState,
boolean tempLocked,
int timeToExpiration,
List<ByteString> oldPasswords,
List<ByteString> newPasswords)
Creates a set of account status notification properties from the provided information.
|
static Map<AccountStatusNotificationProperty,List<String>> |
AccountStatusNotification.createProperties(PasswordPolicyState pwPolicyState,
boolean tempLocked,
int timeToExpiration,
List<ByteString> oldPasswords,
List<ByteString> newPasswords)
Creates a set of account status notification properties from the provided information.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
PreParseCompareOperation.getAssertionValue()
Retrieves the assertion value for this compare operation.
|
ByteString |
PreOperationCompareOperation.getAssertionValue()
Retrieves the assertion value for this compare operation.
|
ByteString |
PostResponseCompareOperation.getAssertionValue()
Retrieves the assertion value for this compare operation.
|
ByteString |
PostOperationCompareOperation.getAssertionValue()
Retrieves the assertion value for this compare operation.
|
ByteString |
PreParseExtendedOperation.getRequestValue()
Retrieves the value for the request associated with this extended operation.
|
ByteString |
PreOperationExtendedOperation.getRequestValue()
Retrieves the value for the request associated with this extended operation.
|
ByteString |
PostResponseExtendedOperation.getRequestValue()
Retrieves the value for the request associated with this extended operation.
|
ByteString |
PostOperationExtendedOperation.getRequestValue()
Retrieves the value for the request associated with this extended operation.
|
ByteString |
PostResponseExtendedOperation.getResponseValue()
Retrieves the value to include in the response to the client.
|
ByteString |
PostOperationExtendedOperation.getResponseValue()
Retrieves the value to include in the response to the client.
|
ByteString |
PreParseBindOperation.getSASLCredentials()
Retrieves the SASL credentials for this bind operation.
|
ByteString |
PreOperationBindOperation.getSASLCredentials()
Retrieves the SASL credentials for this bind operation.
|
ByteString |
PostResponseBindOperation.getSASLCredentials()
Retrieves the SASL credentials for this bind operation.
|
ByteString |
PostOperationBindOperation.getSASLCredentials()
Retrieves the SASL credentials for this bind operation.
|
ByteString |
PostResponseBindOperation.getServerSASLCredentials()
Retrieves the set of server SASL credentials to include in the bind response.
|
ByteString |
PostOperationBindOperation.getServerSASLCredentials()
Retrieves the set of server SASL credentials to include in the bind response.
|
ByteString |
PreParseBindOperation.getSimplePassword()
Retrieves the simple authentication password for this bind operation.
|
ByteString |
PreOperationBindOperation.getSimplePassword()
Retrieves the simple authentication password for this bind operation.
|
ByteString |
PostResponseBindOperation.getSimplePassword()
Retrieves the simple authentication password for this bind operation.
|
ByteString |
PostOperationBindOperation.getSimplePassword()
Retrieves the simple authentication password for this bind operation.
|
Modifier and Type | Method and Description |
---|---|
List<ByteString> |
PreOperationModifyOperation.getCurrentPasswords()
Retrieves the set of clear-text current passwords for the user, if available.
|
List<ByteString> |
PostSynchronizationModifyOperation.getCurrentPasswords()
Retrieves the set of clear-text current passwords for the user, if available.
|
List<ByteString> |
PostResponseModifyOperation.getCurrentPasswords()
Retrieves the set of clear-text current passwords for the user, if available.
|
List<ByteString> |
PostOperationModifyOperation.getCurrentPasswords()
Retrieves the set of clear-text current passwords for the user, if available.
|
List<ByteString> |
PreOperationModifyOperation.getNewPasswords()
Retrieves the set of clear-text new passwords for the user, if available.
|
List<ByteString> |
PostSynchronizationModifyOperation.getNewPasswords()
Retrieves the set of clear-text new passwords for the user, if available.
|
List<ByteString> |
PostResponseModifyOperation.getNewPasswords()
Retrieves the set of clear-text new passwords for the user, if available.
|
List<ByteString> |
PostOperationModifyOperation.getNewPasswords()
Retrieves the set of clear-text new passwords for the user, if available.
|
Modifier and Type | Method and Description |
---|---|
void |
PreParseCompareOperation.setAssertionValue(ByteString assertionValue)
Specifies the assertion value for this compare operation.
|
void |
PreOperationCompareOperation.setAssertionValue(ByteString assertionValue)
Specifies the assertion value for this compare operation.
|
void |
PreParseExtendedOperation.setRequestValue(ByteString requestValue)
Specifies the value for the request associated with this extended operation.
|
void |
PreParseExtendedOperation.setResponseValue(ByteString responseValue)
Specifies the value to include in the response to the client.
|
void |
PreOperationExtendedOperation.setResponseValue(ByteString responseValue)
Specifies the value to include in the response to the client.
|
void |
PostOperationExtendedOperation.setResponseValue(ByteString responseValue)
Specifies the value to include in the response to the client.
|
void |
PreParseBindOperation.setSASLCredentials(String saslMechanism,
ByteString saslCredentials)
Specifies the SASL credentials for this bind operation.
|
void |
PreParseBindOperation.setServerSASLCredentials(ByteString serverSASLCredentials)
Specifies the set of server SASL credentials to include in the bind response.
|
void |
PreOperationBindOperation.setServerSASLCredentials(ByteString serverSASLCredentials)
Specifies the set of server SASL credentials to include in the bind response.
|
void |
PostOperationBindOperation.setServerSASLCredentials(ByteString serverSASLCredentials)
Specifies the set of server SASL credentials to include in the bind response.
|
void |
PreParseBindOperation.setSimplePassword(ByteString simplePassword)
Specifies the simple authentication password for this bind operation.
|
Modifier and Type | Field and Description |
---|---|
static ByteString |
ServerConstants.FALSE_VALUE
The normalized false value.
|
static ByteString |
ServerConstants.OC_COLLECTIVE_ATTR_SUBENTRY_BS
The name of the RFC 3671 "collectiveAttributeSubentry" objectclass (which is a special type of objectclass that
makes a kind of shared attributes subentry), formatted in all lowercase.
|
static ByteString |
ServerConstants.OC_INHERITED_COLLECTIVE_ATTR_SUBENTRY_BS
The name of the "inheritedCollectiveAttributeSubentry" objectclass (which is a special type of objectclass that
makes a kind of COS template subentry), formatted in all lowercase.
|
static ByteString |
ServerConstants.OC_INHERITED_FROM_DN_COLLECTIVE_ATTR_SUBENTRY_BS
The name of the "inheritedFromDNCollectiveAttributeSubentry" objectclass (which is a special type of objectclass
that makes a kind of indirect COS template subentry), formatted in all lowercase.
|
static ByteString |
ServerConstants.OC_INHERITED_FROM_RDN_COLLECTIVE_ATTR_SUBENTRY_BS
The name of the "inheritedFromRDNCollectiveAttributeSubentry" objectclass (which is a special type of objectclass
that makes a kind of classic COS template subentry), formatted in all lowercase.
|
static ByteString |
ServerConstants.OC_LDAP_SUBENTRY_BS
ByteString version of ServerConstants.OC_LDAP_SUBENTRY_LC . |
static ByteString |
ServerConstants.OC_PWD_POLICY_SUBENTRY_BS
The name of the LDAP Password Policy Internet-Draft "pwdPolicy" objectclass, formatted in all lowercase.
|
static ByteString |
ServerConstants.OC_SUBENTRY_BS
ByteString version of
ServerConstants.OC_SUBENTRY . |
static ByteString |
ServerConstants.TRUE_VALUE
The normalized true value.
|
Modifier and Type | Method and Description |
---|---|
static ByteString |
SchemaUtils.createBooleanValue(boolean b)
Retrieves an attribute value containing a representation of the provided boolean value.
|
Copyright 2010-2022 ForgeRock AS.