Package org.frankframework.ldap
Enum Class LdapSender.Operation
- All Implemented Interfaces:
Serializable
,Comparable<LdapSender.Operation>
,Constable
,DocumentedEnum
- Enclosing class:
- LdapSender
public static enum LdapSender.Operation
extends Enum<LdapSender.Operation>
implements DocumentedEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCheck username and password against LDAP specifying principal and credential using parameters.Typical user change-password operation (one of the two methods to modify the unicodePwd attribute in AD (http://support.microsoft.com/kb/263991)).Create an attribute or an entry.Search for an entry in the complete tree below the specified root.Delete an attribute or an entry.Get a copy of the complete tree below the specified root.Read the contents of an entry.Search for an entry in the direct children of the specified root.Get a list of the direct children of the specifed root.Update an attribute or an entry. -
Method Summary
Modifier and TypeMethodDescriptionstatic LdapSender.Operation
Returns the enum constant of this class with the specified name.static LdapSender.Operation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.frankframework.doc.DocumentedEnum
getLabel, name
-
Enum Constant Details
-
READ
Read the contents of an entry. Configuration requirements:- parameter 'entryName', resolving to RDN of entry to read
- optional xml-inputmessage containing attributes to be returned
-
CREATE
Create an attribute or an entry. Configuration requirements:- parameter 'entryName', resolving to RDN of entry to create
- xml-inputmessage containing attributes to create
-
UPDATE
Update an attribute or an entry. Configuration requirements:- parameter 'entryName', resolving to RDN of entry to update
- xml-inputmessage containing attributes to update
- optional parameter 'newEntryName', new RDN of entry
-
DELETE
Delete an attribute or an entry. Configuration requirements:- parameter 'entryName', resolving to RDN of entry to delete
- when manipulationSubject is set to attribute: xml-inputmessage containing attributes to be deleted
-
SEARCH
Search for an entry in the direct children of the specified root. Configuration requirements:- parameter 'entryName', resolving to RDN of entry to read
- parameter 'filterExpression', specifying the entries searched for
- optional attribute 'attributesToReturn' containing attributes to be returned
-
DEEP_SEARCH
Search for an entry in the complete tree below the specified root. Configuration requirements:- parameter 'entryName', resolving to RDN of entry to read
- parameter 'filterExpression', specifying the entries searched for
- optional attribute 'attributesToReturn' containing attributes to be returned
-
SUB_CONTEXTS
Get a list of the direct children of the specifed root. Configuration requirements:- parameter 'entryName', resolving to RDN of entry to read
- optional attribute 'attributesToReturn' containing attributes to be returned
-
GET_TREE
Get a copy of the complete tree below the specified root. Configuration requirements:- parameter 'entryName', resolving to RDN of entry to read
- optional attribute 'attributesToReturn' containing attributes to be returned
-
CHALLENGE
Check username and password against LDAP specifying principal and credential using parameters. Configuration requirements:- parameter 'principal', resolving to RDN of user who's password should be verified
- parameter 'credentials', password to verify
-
CHANGE_UNICODE_PWD
Typical user change-password operation (one of the two methods to modify the unicodePwd attribute in AD (http://support.microsoft.com/kb/263991)). Configuration requirements:- parameter 'entryName', resolving to RDN of user who's password should be changed
- parameter 'oldPassword', current password, will be encoded as required by Active Directory (a UTF-16 encoded Unicode string containing the password surrounded by quotation marks) before sending it to the LDAP server. It's advised to set attribute hidden to true for parameter.
- parameter 'newPassword', new password, will be encoded as required by Active Directory (a UTF-16 encoded Unicode string containing the password surrounded by quotation marks) before sending it to the LDAP server. It's advised to set attribute hidden to true for parameter.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-