Class LocalKerberosCredentialSource
java.lang.Object
org.wildfly.security.credential.source.impl.LocalKerberosCredentialSource
- All Implemented Interfaces:
org.wildfly.security.credential.source.CredentialSource
public class LocalKerberosCredentialSource
extends Object
implements org.wildfly.security.credential.source.CredentialSource
Deprecated.
Kerberos based authentication mechanism obtains credential himself
A credential source which acquires a credential from local kerberos ticket cache.
Provides
GSSCredential visible in klist command output etc.
Successful obtaining from cache requires set system property javax.security.auth.useSubjectCredsOnly to false.- Author:
- Jan Kalina
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.A builder for a local kerberos credential source. -
Field Summary
Fields inherited from interface org.wildfly.security.credential.source.CredentialSource
NONE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.Construct a new builder instance.<C extends org.wildfly.security.credential.Credential>
CgetCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) Deprecated.org.wildfly.security.auth.SupportLevelgetCredentialAcquireSupport(Class<? extends org.wildfly.security.credential.Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) Deprecated.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.credential.source.CredentialSource
applyToCredential, applyToCredential, applyToCredential, getCredential, getCredential, getCredentialAcquireSupport, getCredentialAcquireSupport, with, without, without, without
-
Method Details
-
getCredentialAcquireSupport
public org.wildfly.security.auth.SupportLevel getCredentialAcquireSupport(Class<? extends org.wildfly.security.credential.Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws IOException Deprecated.- Specified by:
getCredentialAcquireSupportin interfaceorg.wildfly.security.credential.source.CredentialSource- Throws:
IOException
-
getCredential
public <C extends org.wildfly.security.credential.Credential> C getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws IOException Deprecated.- Specified by:
getCredentialin interfaceorg.wildfly.security.credential.source.CredentialSource- Throws:
IOException
-
builder
Deprecated.Construct a new builder instance.- Returns:
- the new builder instance
-