Class LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder
java.lang.Object
org.wildfly.security.auth.realm.ldap.LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder
- Enclosing class:
- LdapSecurityRealmBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()By default if we can obtain a credential we support verification against it, this disables it.Enable persistence for theUserPasswordCredentialLoaderbeing defined.setUserPasswordAttribute(String userPasswordAttribute) Set the name of the attribute within the LDAP entry that should be queries to load the credential.
-
Constructor Details
-
UserPasswordCredentialLoaderBuilder
public UserPasswordCredentialLoaderBuilder()
-
-
Method Details
-
setUserPasswordAttribute
public LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder setUserPasswordAttribute(String userPasswordAttribute) Set the name of the attribute within the LDAP entry that should be queries to load the credential.- Parameters:
userPasswordAttribute- the name of the attribute within the LDAP entry that should be queries to load the credential.- Returns:
- the
LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilderto allow chaining of calls.
-
enablePersistence
Enable persistence for theUserPasswordCredentialLoaderbeing defined.- Returns:
- the
LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilderto allow chaining of calls.
-
disableVerification
By default if we can obtain a credential we support verification against it, this disables it.- Returns:
- the
LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilderto allow chaining of calls.
-
build
-