Class LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder
- java.lang.Object
-
- org.wildfly.security.auth.realm.ldap.LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder
-
- Enclosing class:
- LdapSecurityRealmBuilder
public class LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
built
private boolean
enablePersistence
private boolean
enableVerification
private String
userPasswordAttribute
-
Constructor Summary
Constructors Constructor Description UserPasswordCredentialLoaderBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
assertNotBuilt()
LdapSecurityRealmBuilder
build()
LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder
disableVerification()
By default if we can obtain a credential we support verification against it, this disables it.LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder
enablePersistence()
Enable persistence for theUserPasswordCredentialLoader
being defined.LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder
setUserPasswordAttribute(String userPasswordAttribute)
Set the name of the attribute within the LDAP entry that should be queries to load the credential.
-
-
-
Field Detail
-
built
private boolean built
-
userPasswordAttribute
private String userPasswordAttribute
-
enablePersistence
private boolean enablePersistence
-
enableVerification
private boolean enableVerification
-
-
Method Detail
-
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.UserPasswordCredentialLoaderBuilder
to allow chaining of calls.
-
enablePersistence
public LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder enablePersistence()
Enable persistence for theUserPasswordCredentialLoader
being defined.- Returns:
- the
LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder
to allow chaining of calls.
-
disableVerification
public LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder disableVerification()
By default if we can obtain a credential we support verification against it, this disables it.- Returns:
- the
LdapSecurityRealmBuilder.UserPasswordCredentialLoaderBuilder
to allow chaining of calls.
-
build
public LdapSecurityRealmBuilder build()
-
assertNotBuilt
private void assertNotBuilt()
-
-