Class LdapAuthenticationModuleType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractAuthenticationModuleType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LdapAuthenticationModuleType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class LdapAuthenticationModuleType extends AbstractAuthenticationModuleType implements Serializable, Cloneable, Containerable
LDAP authentication module supports authentication via LDAP server.Java class for LdapAuthenticationModuleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LdapAuthenticationModuleType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractAuthenticationModuleType"> <sequence> <element name="host" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="userDn" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="userPassword" type="{http://prism.evolveum.com/xml/ns/public/types-3}ProtectedStringType"/> <element name="dnPattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="search" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LdapSearchAuthenticationModuleType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_DN_PATTERN
static ItemName
F_HOST
static ItemName
F_SEARCH
static ItemName
F_USER_DN
static ItemName
F_USER_PASSWORD
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractAuthenticationModuleType
F_DESCRIPTION, F_DOCUMENTATION, F_FOCUS_TYPE, F_NAME
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description LdapAuthenticationModuleType()
LdapAuthenticationModuleType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractAuthenticationModuleType
getDescription, getDocumentation, getFocusType, getName, setDescription, setDocumentation, setFocusType, setName
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_HOST
public static final ItemName F_HOST
-
F_USER_DN
public static final ItemName F_USER_DN
-
F_USER_PASSWORD
public static final ItemName F_USER_PASSWORD
-
F_DN_PATTERN
public static final ItemName F_DN_PATTERN
-
F_SEARCH
public static final ItemName F_SEARCH
-
-
Constructor Detail
-
LdapAuthenticationModuleType
public LdapAuthenticationModuleType()
-
LdapAuthenticationModuleType
public LdapAuthenticationModuleType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classAbstractAuthenticationModuleType
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
- Overrides:
setupContainerValue
in classAbstractAuthenticationModuleType
-
toString
public String toString()
- Overrides:
toString
in classAbstractAuthenticationModuleType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractAuthenticationModuleType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractAuthenticationModuleType
-
end
public <X> X end()
- Overrides:
end
in classAbstractAuthenticationModuleType
-
getHost
public String getHost()
-
setHost
public void setHost(String value)
-
getUserDn
public String getUserDn()
-
setUserDn
public void setUserDn(String value)
-
getUserPassword
public ProtectedStringType getUserPassword()
-
setUserPassword
public void setUserPassword(ProtectedStringType value)
-
getDnPattern
public String getDnPattern()
-
setDnPattern
public void setDnPattern(String value)
-
getSearch
public LdapSearchAuthenticationModuleType getSearch()
-
setSearch
public void setSearch(LdapSearchAuthenticationModuleType value)
-
host
public LdapAuthenticationModuleType host(String value)
-
userDn
public LdapAuthenticationModuleType userDn(String value)
-
userPassword
public LdapAuthenticationModuleType userPassword(ProtectedStringType value)
-
beginUserPassword
public ProtectedStringType beginUserPassword()
-
dnPattern
public LdapAuthenticationModuleType dnPattern(String value)
-
search
public LdapAuthenticationModuleType search(LdapSearchAuthenticationModuleType value)
-
beginSearch
public LdapSearchAuthenticationModuleType beginSearch()
-
name
public LdapAuthenticationModuleType name(String value)
- Overrides:
name
in classAbstractAuthenticationModuleType
-
description
public LdapAuthenticationModuleType description(String value)
- Overrides:
description
in classAbstractAuthenticationModuleType
-
focusType
public LdapAuthenticationModuleType focusType(QName value)
- Overrides:
focusType
in classAbstractAuthenticationModuleType
-
documentation
public LdapAuthenticationModuleType documentation(String value)
- Overrides:
documentation
in classAbstractAuthenticationModuleType
-
clone
public LdapAuthenticationModuleType clone()
- Overrides:
clone
in classAbstractAuthenticationModuleType
-
-