package ldap
- Source
- package.scala
- Alphabetic
- By Inheritance
- ldap
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class AbandonRequest(msgId: @@[Int, LdapMessage]) extends ProtocolOp with Product with Serializable
Client requests a given message abandoned.
Client requests a given message abandoned.
The server as such may abandon the operation connected to the given message.
Server MUST not send any additional data if the AbandonRequest is to as SearchRequest. That includes the SearchResultDone.
- msgId
The id of the message that should have its progress cancelled.
- case class AddRequest(entry: LdapDN, attributes: Vector[Attribute]) extends ProtocolOp with Product with Serializable
Adds an entry with a given attributes.
Adds an entry with a given attributes.
- entry
The unique identifier of this entity.
- attributes
The attributes this entity should take
- case class AddResponse(response: LdapResult) extends ProtocolOp with Product with Serializable
Response to the AddRequest *
- type AssertionValue = ByteVector
- type AttributeValue = ByteVector
- case class BindRequest(version: Int, name: LdapDN, auth: AuthenticationChoice) extends ProtocolOp with Product with Serializable
A request for authentication of the client to the server.
A request for authentication of the client to the server.
- version
The version of the protocol.
- name
The name of the directory object the client wishes to bind as.
- auth
The method of authentication against the server.
- case class BindResponse(result: LdapResult, serverSaslCreds: Option[ByteVector]) extends ProtocolOp with Product with Serializable
The result of a bind operation.
The result of a bind operation.
- result
The way bind resulted.
- serverSaslCreds
If server side SASL authentication is required, this field contains data for it.
- case class CompareRequest(entry: LdapDN, ava: AttributeValueAssertion) extends ProtocolOp with Product with Serializable
A request to compare a given attribute of a given entry with the provided value.
A request to compare a given attribute of a given entry with the provided value.
- entry
The entry which is to be compared.
- ava
The attribute that is to be compared
- case class CompareResponse(response: LdapResult) extends ProtocolOp with Product with Serializable
Response to the CompareRequest *
- case class DelRequest(entry: LdapDN) extends ProtocolOp with Product with Serializable
Request to delete a given entry.
Request to delete a given entry.
- entry
The entry to be deleted.
- case class DelResponse(response: LdapResult) extends ProtocolOp with Product with Serializable
- case class ExtendedRequest(requestName: LdapOID, requestValue: Option[ByteVector]) extends ProtocolOp with Product with Serializable
Additional operations that are not already defined in protocol.
Additional operations that are not already defined in protocol.
- requestName
The id of the operation.
- requestValue
The value of the request.
- case class ExtendedResponse(response: LdapResult, responseName: Option[LdapOID], responseValue: Option[ByteVector]) extends ProtocolOp with Product with Serializable
Response to ExtendedRequest
Response to ExtendedRequest
- response
The result of the request.
- responseName
The name of the response to the request.
- responseValue
The value of the response.
- case class IntermediateResponse(responseName: Option[LdapOID], responseValue: Option[ByteVector]) extends ProtocolOp with Product with Serializable
A mechanism for a response to a client before the request is completed.
A mechanism for a response to a client before the request is completed.
This is like SearchResultEntry but for requests other than SearchRequest
- responseName
The name of the response.
- responseValue
The value of the response.
- type LDAPString = String
- case class LdapMessage(messageId: Int, protocolOp: ProtocolOp, controls: Option[Vector[Control]]) extends Product with Serializable
The base of all LDAP messages.
The base of all LDAP messages.
- messageId
The id of the message, this is only incremented by client.
- protocolOp
The LDAP operation to be performed. This includes responses from server to client.
- controls
The possible additional arguments for the protocol op.
- type MatchingRuleId = String
- case class ModifyDNRequest(entry: LdapDN, newRdn: RelativeLdapDN, deleteOldRdn: Boolean, newSuperior: Option[LdapDN]) extends ProtocolOp with Product with Serializable
Request to modify the relativeDN of a given entry.
Request to modify the relativeDN of a given entry. This also allows to more the entry and its whole sub tree to a new parent.
- entry
The entry that is being modified.
- newRdn
The new relativeDN of the entry that is to be set.
- deleteOldRdn
Whether the old relativeDN of the entry should be deleted
- newSuperior
The new root for this entry and its subtree.
- case class ModifyDNResponse(response: LdapResult) extends ProtocolOp with Product with Serializable
Response to ModifyDNRequest *
- case class ModifyRequest(entry: LdapDN, changes: Vector[Change]) extends ProtocolOp with Product with Serializable
A request to modify given entry with given changes.
A request to modify given entry with given changes.
- entry
The entry to be modified.
- changes
The changes to be applied to the entry.
- case class ModifyResponse(response: LdapResult) extends ProtocolOp with Product with Serializable
Response to the ModifyRequest *
- trait ProtocolOp extends AnyRef
- case class SearchRequest(baseObject: LdapDN, scope: SearchRequest.SearchScope.Value, deferAliases: SearchRequest.Aliases.Value, sizeLimit: Int, timeLimit: Int, typesOnly: Boolean, filter: Filter, attributes: Vector[AttributeSelector]) extends ProtocolOp with Product with Serializable
Request to perform a LDAP search.
Request to perform a LDAP search.
- baseObject
The name of the base object entry.
- scope
The scope of the search.
- deferAliases
An indicator as to whether or not alias entries are to be dereferenced during stages of the Search operation.
- sizeLimit
The number of entries to be returned
- timeLimit
The time limit for the search in seconds
- typesOnly
Whether the result should include only the attribute descriptions (false) or if we want to return the values to the descriptions as well (true).
- filter
A filter that defines the conditions that must be fulfilled in order for the search to be matched.
- attributes
A selection of attributes to be returned for search entries that match this search.
- case class SearchResultDone(result: LdapResult) extends ProtocolOp with Product with Serializable
A search request is completed, no more entries to follow.
A search request is completed, no more entries to follow.
- result
The status how the request ended.
- case class SearchResultEntry(objectName: LdapDN, attributes: PartialAttributeList) extends ProtocolOp with Product with Serializable
A result of search.
A result of search. Contains one resulting entry.
- objectName
The identification for the object that represents this entry.
- attributes
The attributes of this entry. These attributes do not have to have values, they may only contain descriptions of their attributes.
- case class SearchResultReference(uris: Vector[LDAPString]) extends ProtocolOp with Product with Serializable
A response to the SearchRequest, that tells the client the unexplored areas of the search.
A response to the SearchRequest, that tells the client the unexplored areas of the search.
- uris
The areas that are not yet explored, this should be URI.
Value Members
- val assertionValue: Codec[AssertionValue]
- val assertionValueInner: Codec[AssertionValue]
- val attributeValue: Codec[AttributeValue]
- val boolean: Codec[Boolean]
- val ldapString: Codec[LDAPString]
- val ldapStringInner: Codec[LDAPString]
- val matchingRuleId: Codec[MatchingRuleId]
- val matchingRuleIdInner: Codec[MatchingRuleId]
- object AbandonRequest extends Serializable
- object AddRequest extends Serializable
- object AddResponse extends Serializable
- object BindRequest extends Serializable
- object BindResponse extends Serializable
- object CompareRequest extends Serializable
- object CompareResponse extends Serializable
- object DelRequest extends Serializable
- object DelResponse extends Serializable
- object ExtendedRequest extends Serializable
- object ExtendedResponse extends Serializable
- object IntermediateResponse extends Serializable
- object LdapMessage extends Serializable
- object ModifyDNRequest extends Serializable
- object ModifyDNResponse extends Serializable
- object ModifyRequest extends Serializable
- object ModifyResponse extends Serializable
- object ProtocolOp
- object SearchRequest extends Serializable
- object SearchResultDone extends Serializable
- object SearchResultEntry extends Serializable
- object SearchResultReference extends Serializable
- object UnbindRequest extends ProtocolOp with Product with Serializable
Request to unbind from the server, connection termination should be started.
Request to unbind from the server, connection termination should be started. *