Class LocalKerberosCredentialSource.Builder
- java.lang.Object
-
- org.wildfly.security.credential.source.LocalKerberosCredentialSource.Builder
-
- Enclosing class:
- LocalKerberosCredentialSource
public static final class LocalKerberosCredentialSource.Builder extends Object
A builder for a local kerberos credential source.
-
-
Field Summary
Fields Modifier and Type Field Description private Oid[]
mechanismOids
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalKerberosCredentialSource
build()
Construct the credential source instance.LocalKerberosCredentialSource.Builder
setMechanismOids(Oid[] mechanismOids)
Set array of oid's indicating the mechanisms over which the credential is to be acquired.
-
-
-
Field Detail
-
mechanismOids
private Oid[] mechanismOids
-
-
Method Detail
-
setMechanismOids
public LocalKerberosCredentialSource.Builder setMechanismOids(Oid[] mechanismOids)
Set array of oid's indicating the mechanisms over which the credential is to be acquired. Usenull
to request system specific default.- Parameters:
mechanismOids
- array of mechanism oid's- Returns:
- this builder
-
build
public LocalKerberosCredentialSource build()
Construct the credential source instance.- Returns:
- the credential source
-
-