Uses of Class
org.forgerock.opendj.ldap.ByteString
-
Packages that use ByteString Package Description org.forgerock.opendj.io Classes and interfaces providing I/O functionality.org.forgerock.opendj.io.rx Classes and interfaces providing Reactive Streams I/O transports.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.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.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.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. -
-
Uses of ByteString in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return ByteString Modifier and Type Method Description ByteStringAsn1Reader. readAsn1Element()Reads the next element and returns its full encoding, which includes tag and length bytes.ByteStringAsn1Reader. readOctetString()Reads the next element as an octet string having any tag.ByteStringAsn1Reader. readOctetString(byte type)Reads the next element as an octet string having the provided type tag. -
Uses of ByteString in org.forgerock.opendj.io.rx
Methods in org.forgerock.opendj.io.rx that return ByteString Modifier and Type Method Description ByteStringProxyProtocolHeader.SslTlv. encode()Encodes the SSL information into TLV format.Methods in org.forgerock.opendj.io.rx that return types with arguments of type ByteString Modifier and Type Method Description Map<Byte,ByteString>ProxyProtocolHeader. getTlvs()Returns Additional information contained in the header as part of the Type-Length-Value.Methods in org.forgerock.opendj.io.rx with parameters of type ByteString Modifier and Type Method Description static ProxyProtocolHeader.SslTlvProxyProtocolHeader.SslTlv. decode(ByteString data)Decodes the SSL information contained indatain TLV format. -
Uses of ByteString in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return ByteString Modifier and Type Method Description static ByteString[]ByteString. asArray(Object... objects)Returns an array containing the provided objects converted to byte strings usingvalueOfObject(Object).ByteStringAttributeParser. asByteString()Returns the first value, ornullif the attribute does not contain any values.ByteStringAttributeParser. asByteString(ByteString defaultValue)Returns the first value, ordefaultValueif the attribute does not contain any values.static ByteStringBase64. decode(String base64)Decodes the provided base64 encoded data.static ByteStringByteString. empty()Returns an empty byte string.ByteStringAbstractAttribute. firstValue()ByteStringAttribute. firstValue()Returns the first attribute value in this attribute.ByteStringLinkedAttribute. firstValue()ByteStringFilter. getAssertionValue()Returns the assertion value for this comparison filter.ByteStringAva. getAttributeValue()Returns the attribute value associated with this AVA.ByteStringRdn. getAttributeValue(AttributeType attributeType)Returns the attribute value contained in this RDN which is associated with the provided attribute type, ornullif this RDN does not include such an attribute value.ByteStringFilter. getSubstringsFinal()Returns the final substring assertion value for this substrings filter, ornullif the substrings filter did not include an final substring.ByteStringFilter. getSubstringsInitial()Returns the initial substring assertion value for this substrings filter, ornullif the substrings filter did not include an initial substring.ByteStringFilter. getUnrecognizedFilterBytes()Returns the ASN.1 content associated with this unrecognized filter.ByteStringByteSequenceReader. readByteString(int length)Relative bulk read method.ByteStringByteString. subSequence(int start)ByteStringByteString. subSequence(int start, int size)ByteString[]AbstractAttribute. toArray()ByteString[]Attribute. toArray()Returns an array containing all of the attribute values contained in this attribute.ByteStringByteSequence. toByteString()Returns theByteStringrepresentation of this byte sequence.ByteStringByteString. toByteString()ByteStringByteStringBuilder. toByteString()Returns theByteStringrepresentation of this byte string builder.ByteStringDn. toNormalizedByteString()Retrieves a normalized byte string representation of this DN.static ByteStringByteString. valueOfBase64(String s)Returns a byte string containing the Base64 decoded bytes of the provided string.static ByteStringByteString. valueOfBytes(byte[] bytes)Returns a byte string containing the contents of the provided byte array.static ByteStringByteString. valueOfBytes(byte[] bytes, int offset, int length)Returns a byte string containing a subsequence of the contents of the provided byte array.static ByteStringByteString. valueOfHex(String hexString)Returns a byte string containing the bytes of the provided hexadecimal string.static ByteStringByteString. valueOfInt(int i)Returns a byte string containing the big-endian encoded bytes of the provided integer.static ByteStringByteString. valueOfLong(long l)Returns a byte string containing the big-endian encoded bytes of the provided long.static ByteStringByteString. valueOfObject(Object o)Returns a byte string representation of the provided object.static ByteStringByteString. valueOfUtf8(char[] chars)Returns a byte string containing the UTF-8 encoded bytes of the provided char array.static ByteStringByteString. valueOfUtf8(CharSequence s)Returns a byte string containing the UTF-8 encoded bytes of the provided char sequence.static ByteStringByteString. wrap(byte[] bytes)Returns a byte string that wraps the provided byte array.static ByteStringByteString. wrap(byte[] bytes, int offset, int length)Returns a byte string that wraps a subsequence of the provided byte array.Methods in org.forgerock.opendj.ldap that return types with arguments of type ByteString Modifier and Type Method Description static List<ByteString>ByteString. asList(Object... objects)Returns a list containing the provided objects converted to byte strings usingvalueOfObject(Object).Set<ByteString>AttributeParser. asSetOfByteString(Collection<ByteString> defaultValues)Returns the values contained in the attribute, ordefaultValuesif the attribute does not contain any values.Set<ByteString>AttributeParser. asSetOfByteString(ByteString... defaultValues)Returns the values contained in the attribute, ordefaultValuesif the attribute does not contain any values.Stream<ByteString>AttributeParser. asStream()Returns the values as a stream ofByteString.static Function<ByteString,Boolean,LocalizedIllegalArgumentException>Functions. byteStringToBoolean()Returns a function which parsesBooleanvalues.static Function<ByteString,Dn,LocalizedIllegalArgumentException>Functions. byteStringToDn()Returns a function which parsesDNs using the default schema.static Function<ByteString,Dn,LocalizedIllegalArgumentException>Functions. byteStringToDn(Schema schema)Returns a function which parsesDNs 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 parsesIntegerstring values.static Function<ByteString,Long,LocalizedIllegalArgumentException>Functions. byteStringToLong()Returns a function which parsesLongstring values.static Function<ByteString,Path,LocalizedIllegalArgumentException>Functions. byteStringToPath()Returns a function which parsesPathstring 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.abstract Iterator<ByteString>AbstractAttribute. iterator()Iterator<ByteString>Attribute. iterator()Returns an iterator over the attribute values in this attribute.Iterator<ByteString>LinkedAttribute. iterator()Methods in org.forgerock.opendj.ldap with parameters of type ByteString Modifier and Type Method Description default booleanAttribute. add(ByteString value)Addsvalueto this attribute if it is not already present (optional operation).booleanLinkedAttribute. add(ByteString value)ByteStringAttributeParser. asByteString(ByteString defaultValue)Returns the first value, ordefaultValueif the attribute does not contain any values.Set<ByteString>AttributeParser. asSetOfByteString(ByteString... defaultValues)Returns the values contained in the attribute, ordefaultValuesif the attribute does not contain any values.static AttributeDescriptionFunctions. byteStringToAttributeDescription(ByteString value, Schema schema)Parses aByteStringas anAttributeDescriptionusing the provided schema.static X509CertificateFunctions. byteStringToCertificate(ByteString value)Parses aByteStringas aX509Certificate.static DurationFunctions. byteStringToDuration(ByteString value)Parses aByteStringas aDurationusing ourDurationUnitparser.GenericExtendedResultAbstractConnection. extendedRequest(String requestName, ByteString requestValue)GenericExtendedResultAbstractConnectionWrapper. extendedRequest(String requestName, ByteString requestValue)Requests that the Directory Server performs the provided extended request.GenericExtendedResultConnection. extendedRequest(String requestName, ByteString requestValue)Requests that the Directory Server performs the provided extended request.default AttributeAttribute. put(ByteString value)Addsvalueto this attribute if it is not already present (optional operation).static FilterFilter. unrecognized(byte filterTag, ByteString filterBytes)Creates a newunrecognizedfilter using the provided ASN1 filter tag and content.static DnDn. valueOf(ByteString dn)Parses the provided LDAP string representation of a DN using the default schema.Method parameters in org.forgerock.opendj.ldap with type arguments of type ByteString Modifier and Type Method Description booleanAbstractAttribute. addAll(Collection<? extends ByteString> values)default booleanAttribute. addAll(Collection<? extends ByteString> values)Adds all of the attribute values contained invaluesto this attribute if they are not already present (optional operation).booleanAbstractMapEntry. addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues)booleanEntries.NullEntry. addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues)default booleanEntry. addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues)Ensures that this entry contains the provided attribute and values (optional operation).<T,E extends Exception>
TAttributeParser. as(Function<ByteString,? extends T,E> f)Returns the first value decoded as aTusing the providedFunction, ornullif the attribute does not contain any values.<T,E extends Exception>
TAttributeParser. as(Function<ByteString,? extends T,E> f, T defaultValue)Returns the first value decoded as aTusing the providedFunction, ordefaultValueif the attribute does not contain any values.<T,E extends Exception>
Set<T>AttributeParser. asSetOf(Function<ByteString,? extends T,E> f, Collection<? extends T> defaultValues)Returns the values decoded as a set ofTs using the providedFunction, ordefaultValuesif the attribute does not contain any values.<T,E extends Exception>
Set<T>AttributeParser. asSetOf(Function<ByteString,? extends T,E> f, T... defaultValues)Returns the values decoded as a set ofTs using the providedFunction, ordefaultValuesif the attribute does not contain any values.Set<ByteString>AttributeParser. asSetOfByteString(Collection<ByteString> defaultValues)Returns the values contained in the attribute, ordefaultValuesif the attribute does not contain any values.default booleanEntry. containsAttribute(Attribute attribute, Collection<? super ByteString> missingValues)Returnstrueif this entry contains all of the attribute values contained inattribute.static EntryEntries. modifyEntry(Entry entry, Modification change, Collection<? super ByteString> conflictingValues)Applies the provided modification to an entry.booleanAbstractMapEntry. removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues)default booleanEntry. removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues)Removes all of the attribute values contained inattributefrom this entry if it is present (optional operation). -
Uses of ByteString in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls that return ByteString Modifier and Type Method Description ByteStringVirtualListViewRequestControl. getAssertionValue()Returns the assertion value that will be used to locate the target entry, if applicable.ByteStringVirtualListViewRequestControl. getContextId()Returns the context ID provided by the server in the last virtual list view response for the same set of criteria, ornullif there was no previous virtual list view response or the server did not include a context ID in the last response.ByteStringVirtualListViewResponseControl. 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.ByteStringSimplePagedResultsControl. getCookie()Returns the opaque cookie which is used by the server to track its position in the set of search results.ByteStringAdNotificationRequestControl. getValue()ByteStringAssertionRequestControl. getValue()ByteStringAuthorizationIdentityRequestControl. getValue()ByteStringAuthorizationIdentityResponseControl. getValue()ByteStringControl. getValue()Returns the value, if any, associated with this control.ByteStringEntryChangeNotificationResponseControl. getValue()ByteStringGenericControl. getValue()ByteStringGetEffectiveRightsRequestControl. getValue()ByteStringManageDsaItRequestControl. getValue()ByteStringMatchedValuesRequestControl. getValue()ByteStringPasswordExpiredResponseControl. getValue()ByteStringPasswordExpiringResponseControl. getValue()ByteStringPasswordPolicyRequestControl. getValue()ByteStringPasswordPolicyResponseControl. getValue()ByteStringPermissiveModifyRequestControl. getValue()ByteStringPersistentSearchRequestControl. getValue()ByteStringPostReadRequestControl. getValue()ByteStringPostReadResponseControl. getValue()ByteStringPreReadRequestControl. getValue()ByteStringPreReadResponseControl. getValue()ByteStringProxiedAuthV1RequestControl. getValue()ByteStringProxiedAuthV2RequestControl. getValue()ByteStringRelaxRulesRequestControl. getValue()ByteStringServerSideSortRequestControl. getValue()ByteStringServerSideSortResponseControl. getValue()ByteStringSimplePagedResultsControl. getValue()ByteStringSubentriesRequestControl. getValue()ByteStringSubtreeDeleteRequestControl. getValue()ByteStringVirtualListViewRequestControl. getValue()ByteStringVirtualListViewResponseControl. getValue()Methods in org.forgerock.opendj.ldap.controls with parameters of type ByteString Modifier and Type Method Description static VirtualListViewRequestControlVirtualListViewRequestControl. 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 SimplePagedResultsControlSimplePagedResultsControl. newControl(boolean isCritical, int size, ByteString cookie)Creates a new simple paged results control with the provided criticality, size, and cookie.static VirtualListViewResponseControlVirtualListViewResponseControl. newControl(int targetPosition, int contentCount, ResultCode result, ByteString contextId)Creates a new virtual list view response control.static VirtualListViewRequestControlVirtualListViewRequestControl. 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. -
Uses of ByteString in org.forgerock.opendj.ldap.messages
Methods in org.forgerock.opendj.ldap.messages that return ByteString Modifier and Type Method Description ByteStringCompareRequest. getAssertionValue()Returns the assertion value to be compared.ByteStringUnknownRequest. getRawProtocolOp()Returns the unparsed protocol-op bytes.ByteStringBindResult. getServerSaslCredentials()Returns the server SASL credentials associated with this bind result.ByteStringPasswordModifyExtendedRequest. getUserIdentity()Returns the identity of the user whose password is to be modified, ornullif the request should be applied to the user currently associated with the session.abstract ByteStringAbstractExtendedRequest. getValue()abstract ByteStringAbstractExtendedResult. getValue()abstract ByteStringAbstractIntermediateResponse. getValue()ByteStringCancelExtendedRequest. getValue()ByteStringExtendedRequest. getValue()Returns the value, if any, associated with this extended request.ByteStringExtendedResult. getValue()Returns the value, if any, associated with this extended result.ByteStringGenericExtendedRequest. getValue()ByteStringGenericExtendedResult. getValue()ByteStringGenericIntermediateResponse. getValue()ByteStringIntermediateResponse. getValue()Returns the value, if any, associated with this intermediate response.ByteStringPasswordModifyExtendedRequest. getValue()ByteStringPasswordModifyExtendedResult. getValue()ByteStringStartTlsExtendedRequest. getValue()ByteStringWhoAmIExtendedRequest. getValue()ByteStringWhoAmIExtendedResult. getValue()Methods in org.forgerock.opendj.ldap.messages with parameters of type ByteString Modifier and Type Method Description static UnknownRequestRequests. newUnknownRequest(byte protocolOpType, ByteString rawContent)Creates a new unknown request backed by the provided bytes.BindResultBindResult. setServerSaslCredentials(ByteString credentials)Sets the server SASL credentials associated with this bind result.Method parameters in org.forgerock.opendj.ldap.messages with type arguments of type ByteString Modifier and Type Method Description booleanAddRequest. addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues)booleanAddRequest. containsAttribute(Attribute attribute, Collection<? super ByteString> missingValues)booleanAddRequest. removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues) -
Uses of ByteString in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return ByteString Modifier and Type Method Description ByteStringMatchingRule. normalizeAttributeValue(ByteSequence value)Returns the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.ByteStringMatchingRuleImpl. 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.Method parameters in org.forgerock.opendj.ldap.schema with type arguments of type ByteString Modifier and Type Method Description voidIndexer. createKeys(ByteSequence value, Consumer<ByteString> keyConsumer)Generates the set of index keys for an attribute. -
Uses of ByteString in org.forgerock.opendj.rest2ldap
Method parameters in org.forgerock.opendj.rest2ldap with type arguments of type ByteString Modifier and Type Method Description SimplePropertyMapperSimplePropertyMapper. decoder(Function<ByteString,?,? extends Exception> f)Sets the decoder which will be used for converting LDAP attribute values to JSON values.SimplePropertyMapperSimplePropertyMapper. encoder(Function<Object,ByteString,? extends Exception> f)Sets the encoder which will be used for converting JSON values to LDAP attribute values. -
Uses of ByteString in org.forgerock.opendj.rest2ldap.schema
Methods in org.forgerock.opendj.rest2ldap.schema that return ByteString Modifier and Type Method Description static ByteStringJsonSchema. jsonToByteString(Object value)Converts a JSONObjectto aByteStringrepresentation.static ByteStringJsonSchema. nameAndJsonToByteString(ByteSequence nameAndJsonValue, Dn newName)static ByteStringJsonSchema. nameAndJsonToByteString(Dn name, Object json) -
Uses of ByteString in org.opends.server.api
Methods in org.opends.server.api that return ByteString Modifier and Type Method Description ByteStringPasswordStorageScheme. encodeAuthPassword(ByteSequence plaintext)Encodes the provided plaintext password for this storage scheme using the authentication password syntax defined in RFC 3112.abstract ByteStringPasswordStorageScheme. encodePassword(ByteSequence plaintext)Encodes the provided plaintext password for this storage scheme, without the name of the associated scheme.ByteStringPasswordStorageScheme. encodePasswordWithScheme(ByteSequence plaintext)Encodes the provided plaintext password for this storage scheme, prepending the name of the scheme in curly braces.abstract ByteStringPasswordGenerator. generatePassword(Entry userEntry)Generates a password for the user whose account is contained in the specified entry.ByteStringPasswordStorageScheme. getAuthPasswordPlaintextValue(String authInfo, String authValue)Retrieves the original plaintext value for the provided password stored in the authPassword syntax.ByteStringPasswordStorageScheme. getPlaintextValue(ByteSequence storedPassword)Retrieves the original plaintext value for the provided stored password.Methods in org.opends.server.api with parameters of type ByteString Modifier and Type Method Description abstract booleanPasswordValidator. 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.booleanAuthenticationPolicyState. passwordMatches(ByteString password)Returnstrueif the provided password value matches any of the user's passwords.abstract booleanAuthenticationPolicyState. passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword)Returnstrueif the provided password value matches any of the user's passwords.Method parameters in org.opends.server.api with type arguments of type ByteString Modifier and Type Method Description abstract booleanPasswordValidator. 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 booleanAuthenticationPolicyState. passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword)Returnstrueif the provided password value matches any of the user's passwords. -
Uses of ByteString in org.opends.server.authorization.dseecompat
Methods in org.opends.server.authorization.dseecompat that return ByteString Modifier and Type Method Description ByteStringAciTargetMatchContext. getCurrentAttributeValue()The current attribute type value being evaluated.Methods in org.opends.server.authorization.dseecompat with parameters of type ByteString Modifier and Type Method Description voidAciTargetMatchContext. setCurrentAttributeValue(ByteString v)Set the attribute value to be evaluated.Method parameters in org.opends.server.authorization.dseecompat with type arguments of type ByteString Modifier and Type Method Description voidPatternRDN. addValue(String type, List<ByteString> valuePattern, String dnString)Add another attribute-value pair to the pattern. -
Uses of ByteString in org.opends.server.backends.pluggable.spi
Methods in org.opends.server.backends.pluggable.spi that return ByteString Modifier and Type Method Description ByteStringImporter. read(TreeName treeName, ByteSequence key)Reads the record's value associated to the provided key, in the tree whose name is provided.default ByteStringReadableTransaction. read(TreeName treeName, ByteSequence key)Reads the record's value associated to the provided key, in the tree whose name is provided.Methods in org.opends.server.backends.pluggable.spi that return types with arguments of type ByteString Modifier and Type Method Description 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.default Cursor<ByteString,ByteString>ReadableTransaction. openCursor(TreeName treeName, ReadableTransaction.ReadOption... options)Opens a non-positioned cursor on the tree whose name is provided.default Cursor<ByteString,ByteString>ReadableTransaction. openCursor(TreeName treeName, ReadableTransaction.ReadOption... options)Opens a non-positioned cursor on the tree whose name is provided. -
Uses of ByteString in org.opends.server.controls
Methods in org.opends.server.controls that return ByteString Modifier and Type Method Description ByteStringEntryChangelogNotificationResponseControl. getValue()ByteStringExternalChangelogRequestControl. getValue()ByteStringInternalModificationsRequestControl. getValue()ByteStringReplicatedRequestControl. getValue()ByteStringSearchBaseDnBackendOnlyControl. getValue() -
Uses of ByteString in org.opends.server.core
Methods in org.opends.server.core that return ByteString Modifier and Type Method Description ByteStringPasswordPolicyState. generatePassword()Generates a new password for the user.ByteStringCompareOperation. getAssertionValue()ByteStringExtendedOperation. getRequestValue()Retrieves the value for the request associated with this extended operation.ByteStringExtendedOperation. getResponseValue()Retrieves the value to include in the response to the client.ByteStringBindOperation. getSASLCredentials()ByteStringBindOperation. getServerSASLCredentials()ByteStringBindOperation. getSimplePassword()Methods in org.opends.server.core that return types with arguments of type ByteString Modifier and Type Method 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.Methods in org.opends.server.core with parameters of type ByteString Modifier and Type Method Description List<ByteString>PasswordPolicyState. encodePassword(ByteString password)Encodes the provided password using the default storage schemes (using the appropriate syntax for the password attribute).voidPasswordPolicyState. 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.booleanPasswordPolicyState. isPasswordInHistory(ByteString password)Indicates whether the provided password is equal to any of the current passwords, or any of the passwords in the history.booleanPasswordPolicy. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason, PasswordValidator<?> passwordInHistoryValidator)Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControlto the operation's response if requested.booleanPasswordPolicyState. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControlto the operation's response if requested.booleanPasswordPolicyState. passwordIsPreEncoded(ByteString passwordValue)Indicates whether the provided password value is pre-encoded.booleanPasswordPolicyState. passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword)booleanPasswordPolicyState. passwordMatches(ByteString password, Entry entry)Returnstrueif the provided password value matches any of the user's passwords in the given entry.booleanPasswordPolicyState. passwordMatches(ByteString password, Entry entry, AtomicReference<ByteString> matchedEncodedPassword)Returnstrueif the provided password value matches any of the user's passwords in the given entry.static voidBindOperation. runFakePasswordMatches(Dn bindDn, ByteString password)When using cost based hashes, ensure similar response times when login with non-existing vs.voidCompareOperation. setAssertionValue(ByteString assertionValue)Specifies the assertion value for this compare operation.voidExtendedOperation. setRequestValue(ByteString requestValue)Specifies the value for the request associated with this extended operation.voidExtendedOperation. setResponseValue(ByteString responseValue)Specifies the value to include in the response to the client.voidBindOperation. setSASLCredentials(String saslMechanism, ByteString saslCredentials)voidBindOperation. setServerSASLCredentials(ByteString serverSASLCredentials)voidBindOperation. setSimplePassword(ByteString simplePassword)Method parameters in org.opends.server.core with type arguments of type ByteString Modifier and Type Method Description booleanPasswordPolicy. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason, PasswordValidator<?> passwordInHistoryValidator)Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControlto the operation's response if requested.booleanPasswordPolicyState. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControlto the operation's response if requested.booleanPasswordPolicyState. passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword)booleanPasswordPolicyState. passwordMatches(ByteString password, Entry entry, AtomicReference<ByteString> matchedEncodedPassword)Returnstrueif the provided password value matches any of the user's passwords in the given entry. -
Uses of ByteString in org.opends.server.extensions
Methods in org.opends.server.extensions that return ByteString Modifier and Type Method Description ByteStringPKCS5S2PasswordStorageScheme. encodeAuthPassword(ByteSequence plaintext)ByteStringArgon2PasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringBase64PasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringBcryptPasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringClearPasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringCryptPasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringPKCS5S2PasswordStorageScheme. encodePassword(ByteSequence plaintext)static ByteStringGetConnectionIDExtendedOperation. encodeResponseValue(long connectionID)Encodes the provided connection ID in an octet string suitable for use as the value for this extended operation.ByteStringRandomPasswordGenerator. generatePassword(Entry userEntry)Generates a password for the user whose account is contained in the specified entry.ByteStringBase64PasswordStorageScheme. getPlaintextValue(ByteSequence storedPassword)ByteStringClearPasswordStorageScheme. getPlaintextValue(ByteSequence storedPassword)Methods in org.opends.server.extensions with parameters of type ByteString Modifier and Type Method Description static longGetConnectionIDExtendedOperation. decodeResponseValue(ByteString responseValue)Decodes the provided ASN.1 octet string to extract the connection ID.booleanAttributeValuePasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanCharacterSetPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanDictionaryPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanLengthBasedPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanRepeatedCharactersPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanSimilarityBasedPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanUniqueCharactersPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)Method parameters in org.opends.server.extensions with type arguments of type ByteString Modifier and Type Method Description booleanAttributeValuePasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanCharacterSetPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanDictionaryPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanLengthBasedPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanRepeatedCharactersPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanSimilarityBasedPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)booleanUniqueCharactersPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) -
Uses of ByteString in org.opends.server.plugins
Methods in org.opends.server.plugins that return ByteString Modifier and Type Method Description ByteStringChangeNumberControlPlugin.ChangeNumberResponseControl. getValue() -
Uses of ByteString in org.opends.server.replication.common
Methods in org.opends.server.replication.common that return ByteString Modifier and Type Method Description ByteStringCSN. toByteString()Encodes this CSN as a byte string.ByteStringCSN. toByteString(CSN.CsnVersion version)Encodes this CSN as a byte string according to the given CSN version. -
Uses of ByteString in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin that return ByteString Modifier and Type Method Description ByteStringEntryHistoricalAttribute. firstValue()ByteStringAttrValueHistorical. getAttributeValue()Get the attributeValue for which this object was generated.ByteStringReplicationRepairRequestControl. getValue()ByteStringHistoricalCsnOrderingMatchingRuleImpl. normalizeAttributeValue(Schema schema, ByteSequence value)ByteStringHistoricalCsnRangeMatchingRuleImpl. normalizeAttributeValue(Schema schema, ByteSequence value)ByteString[]EntryHistoricalAttribute. toArray()Methods in org.opends.server.replication.plugin that return types with arguments of type ByteString Modifier and Type Method Description Iterator<ByteString>EntryHistoricalAttribute. iterator()Stream<ByteString>EntryHistoricalAttribute. parallelStream()Spliterator<ByteString>EntryHistoricalAttribute. spliterator()Stream<ByteString>EntryHistoricalAttribute. stream()Methods in org.opends.server.replication.plugin with parameters of type ByteString Modifier and Type Method Description booleanEntryHistoricalAttribute. add(ByteString value)voidEntryHistorical. addAttrHistoricalAddValue(AttributeDescription attributeDescription, CSN csn, ByteString value)Updates this entry historical information with the provided add modification.voidEntryHistorical. addAttrHistoricalDeleteValue(AttributeDescription attributeDescription, CSN csn, ByteString value)Updates this entry historical information with the provided delete modification.voidEntryHistorical. addAttrHistoricalReplaceValue(AttributeDescription attributeDescription, CSN csn, ByteString value)Updates this entry historical information with the provided replace modification.abstract booleanAttrHistorical. containsAddedValue(ByteString value)Returnstrueif this historical information contains add or replace meta-data for the provided attribute value.booleanAttrHistoricalMultiple. containsAddedValue(ByteString value)booleanAttrHistoricalSingle. containsAddedValue(ByteString value)Method parameters in org.opends.server.replication.plugin with type arguments of type ByteString Modifier and Type Method Description booleanEntryHistoricalAttribute. addAll(Collection<? extends ByteString> values)voidEntryHistoricalAttribute. forEach(Consumer<? super ByteString> action)booleanEntryHistoricalAttribute. removeIf(Predicate<? super ByteString> filter) -
Uses of ByteString in org.opends.server.types
Method parameters in org.opends.server.types with type arguments of type ByteString Modifier and Type Method 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. -
Uses of ByteString in org.opends.server.types.operation
Methods in org.opends.server.types.operation that return ByteString Modifier and Type Method Description ByteStringPostOperationCompareOperation. getAssertionValue()Retrieves the assertion value for this compare operation.ByteStringPostResponseCompareOperation. getAssertionValue()Retrieves the assertion value for this compare operation.ByteStringPreOperationCompareOperation. getAssertionValue()Retrieves the assertion value for this compare operation.ByteStringPreParseCompareOperation. getAssertionValue()Retrieves the assertion value for this compare operation.ByteStringPostOperationExtendedOperation. getRequestValue()Retrieves the value for the request associated with this extended operation.ByteStringPostResponseExtendedOperation. getRequestValue()Retrieves the value for the request associated with this extended operation.ByteStringPreOperationExtendedOperation. getRequestValue()Retrieves the value for the request associated with this extended operation.ByteStringPreParseExtendedOperation. getRequestValue()Retrieves the value for the request associated with this extended operation.ByteStringPostOperationExtendedOperation. getResponseValue()Retrieves the value to include in the response to the client.ByteStringPostResponseExtendedOperation. getResponseValue()Retrieves the value to include in the response to the client.ByteStringPostOperationBindOperation. getSASLCredentials()Retrieves the SASL credentials for this bind operation.ByteStringPostResponseBindOperation. getSASLCredentials()Retrieves the SASL credentials for this bind operation.ByteStringPreOperationBindOperation. getSASLCredentials()Retrieves the SASL credentials for this bind operation.ByteStringPreParseBindOperation. getSASLCredentials()Retrieves the SASL credentials for this bind operation.ByteStringPostOperationBindOperation. getServerSASLCredentials()Retrieves the set of server SASL credentials to include in the bind response.ByteStringPostResponseBindOperation. getServerSASLCredentials()Retrieves the set of server SASL credentials to include in the bind response.ByteStringPostOperationBindOperation. getSimplePassword()Retrieves the simple authentication password for this bind operation.ByteStringPostResponseBindOperation. getSimplePassword()Retrieves the simple authentication password for this bind operation.ByteStringPreOperationBindOperation. getSimplePassword()Retrieves the simple authentication password for this bind operation.ByteStringPreParseBindOperation. getSimplePassword()Retrieves the simple authentication password for this bind operation.Methods in org.opends.server.types.operation that return types with arguments of type ByteString Modifier and Type Method Description List<ByteString>PostOperationModifyOperation. 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>PostSynchronizationModifyOperation. getCurrentPasswords()Retrieves the set of clear-text current passwords for the user, if available.List<ByteString>PreOperationModifyOperation. getCurrentPasswords()Retrieves the set of clear-text current passwords for the user, if available.List<ByteString>PostOperationModifyOperation. 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>PostSynchronizationModifyOperation. getNewPasswords()Retrieves the set of clear-text new passwords for the user, if available.List<ByteString>PreOperationModifyOperation. getNewPasswords()Retrieves the set of clear-text new passwords for the user, if available.Methods in org.opends.server.types.operation with parameters of type ByteString Modifier and Type Method Description voidPreOperationCompareOperation. setAssertionValue(ByteString assertionValue)Specifies the assertion value for this compare operation.voidPreParseCompareOperation. setAssertionValue(ByteString assertionValue)Specifies the assertion value for this compare operation.voidPreParseExtendedOperation. setRequestValue(ByteString requestValue)Specifies the value for the request associated with this extended operation.voidPostOperationExtendedOperation. setResponseValue(ByteString responseValue)Specifies the value to include in the response to the client.voidPreOperationExtendedOperation. setResponseValue(ByteString responseValue)Specifies the value to include in the response to the client.voidPreParseExtendedOperation. setResponseValue(ByteString responseValue)Specifies the value to include in the response to the client.voidPreParseBindOperation. setSASLCredentials(String saslMechanism, ByteString saslCredentials)Specifies the SASL credentials for this bind operation.voidPostOperationBindOperation. setServerSASLCredentials(ByteString serverSASLCredentials)Specifies the set of server SASL credentials to include in the bind response.voidPreOperationBindOperation. setServerSASLCredentials(ByteString serverSASLCredentials)Specifies the set of server SASL credentials to include in the bind response.voidPreParseBindOperation. setServerSASLCredentials(ByteString serverSASLCredentials)Specifies the set of server SASL credentials to include in the bind response.voidPreParseBindOperation. setSimplePassword(ByteString simplePassword)Specifies the simple authentication password for this bind operation. -
Uses of ByteString in org.opends.server.util
Fields in org.opends.server.util declared as ByteString Modifier and Type Field Description static ByteStringServerConstants. FALSE_VALUEThe normalized false value.static ByteStringServerConstants. OC_COLLECTIVE_ATTR_SUBENTRY_BSThe 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 ByteStringServerConstants. OC_INHERITED_COLLECTIVE_ATTR_SUBENTRY_BSThe 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 ByteStringServerConstants. OC_INHERITED_FROM_DN_COLLECTIVE_ATTR_SUBENTRY_BSThe 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 ByteStringServerConstants. OC_INHERITED_FROM_RDN_COLLECTIVE_ATTR_SUBENTRY_BSThe 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 ByteStringServerConstants. OC_LDAP_SUBENTRY_BSByteStringversion ofServerConstants.OC_LDAP_SUBENTRY_LC.static ByteStringServerConstants. OC_PASSWORD_POLICY_SUBENTRY_BSThe name of the OpenDJ extended password policy objectclass, formatted in all lowercase.static ByteStringServerConstants. OC_PWD_POLICY_SUBENTRY_BSThe name of the LDAP Password Policy Internet-Draft "pwdPolicy" objectclass, formatted in all lowercase.static ByteStringServerConstants. OC_SUBENTRY_BSByteString version ofServerConstants.OC_SUBENTRY.static ByteStringServerConstants. TRUE_VALUEThe normalized true value.Methods in org.opends.server.util with parameters of type ByteString Modifier and Type Method Description static FilterStaticUtils. anyEqualsTo(Collection<AttributeType> attributeTypes, ByteString value)Builds an "or" filter where one of the provided attribute types must match the provided value.
-