Uses of Interface
org.wildfly.security.credential.Credential
-
Packages that use Credential Package Description org.wildfly.security.auth.callback Extended callbacks and supporting utilities which allow efficient callback handler implementation.org.wildfly.security.auth.client Elytron Client enable remote clients to authenticate using Elytron.org.wildfly.security.auth.server Server side of authentication provided by Elytron.org.wildfly.security.auth.server.event org.wildfly.security.auth.server.http org.wildfly.security.auth.server.sasl org.wildfly.security.auth.util Miscellaneous utility classes and APIs for client and server login applications.org.wildfly.security.credential org.wildfly.security.credential.source org.wildfly.security.credential.store Package for Credential Store API/SPI classes and interfaces.org.wildfly.security.sasl.util -
-
Uses of Credential in org.wildfly.security.auth.callback
Methods in org.wildfly.security.auth.callback with type parameters of type Credential Modifier and Type Method Description <C extends Credential,R>
RAbstractCredentialCallback. applyToCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.<C extends Credential,R>
RAbstractCredentialCallback. applyToCredential(Class<C> credentialType, String algorithmName, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.<C extends Credential,R>
RAbstractCredentialCallback. applyToCredential(Class<C> credentialType, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.<C extends Credential>
CAbstractCredentialCallback. getCredential(Class<C> credentialType)
Get the acquired credential, if it is set and of the given type, and if so, return the credential cast to the type.<C extends Credential>
CAbstractCredentialCallback. getCredential(Class<C> credentialType, String algorithmName)
Get the acquired credential, if it is set and of the given type and algorithm, and if so, return the credential cast to the type.<C extends Credential>
CAbstractCredentialCallback. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Get the acquired credential, if it is set and of the given type, algorithm, and parameters, and if so, return the credential cast to the type.<C extends Credential>
CCredentialUpdateCallback. getCredential(Class<C> credentialClass)
Get the new credential, if it is of the given credential class.Methods in org.wildfly.security.auth.callback that return Credential Modifier and Type Method Description Credential
AbstractCredentialCallback. getCredential()
Get the acquired credential.Credential
CredentialUpdateCallback. getCredential()
Get the new credential.Credential
IdentityCredentialCallback. getCredential()
Get the credential.Methods in org.wildfly.security.auth.callback that return types with arguments of type Credential Modifier and Type Method Description Class<? extends Credential>
AbstractCredentialCallback. getCredentialType()
Get the supported credential type.Methods in org.wildfly.security.auth.callback with parameters of type Credential Modifier and Type Method Description boolean
AbstractCredentialCallback. isCredentialSupported(Credential credential)
Determine whether the given credential can be set on this callback.void
AbstractCredentialCallback. setCredential(Credential credential)
Set the credential.Method parameters in org.wildfly.security.auth.callback with type arguments of type Credential Modifier and Type Method Description boolean
AbstractCredentialCallback. isCredentialTypeSupported(Class<? extends Credential> credentialType)
Determine whether the given credential type is supported.boolean
AbstractCredentialCallback. isCredentialTypeSupported(Class<? extends Credential> credentialType, String algorithmName)
Determine whether the given credential type is supported for the given algorithm name.boolean
AbstractCredentialCallback. isCredentialTypeSupported(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Determine whether the given credential type is supported for the given algorithm name.Constructors in org.wildfly.security.auth.callback with parameters of type Credential Constructor Description CredentialUpdateCallback(Credential credential)
Construct a new instance.IdentityCredentialCallback(Credential credential, boolean isPrivate)
Construct a new instance.Constructor parameters in org.wildfly.security.auth.callback with type arguments of type Credential Constructor Description CredentialCallback(Class<? extends Credential> credentialType)
Construct a new instance which accepts any algorithm name or parameters.CredentialCallback(Class<? extends Credential> credentialType, String algorithm)
Construct a new instance which accepts any parameters.CredentialCallback(Class<? extends Credential> credentialType, String algorithm, AlgorithmParameterSpec parameterSpec)
Construct a new instance.ServerCredentialCallback(Class<? extends Credential> credentialType)
Construct a new instance which accepts any algorithm name.ServerCredentialCallback(Class<? extends Credential> credentialType, String algorithm)
Construct a new instance.ServerCredentialCallback(Class<? extends Credential> credentialType, String algorithm, AlgorithmParameterSpec parameterSpec)
Construct a new instance. -
Uses of Credential in org.wildfly.security.auth.client
Methods in org.wildfly.security.auth.client with parameters of type Credential Modifier and Type Method Description AuthenticationConfiguration
AuthenticationConfiguration. useCredential(Credential credential)
Create a new configuration which is the same as this configuration, but which uses the given credential to authenticate.Method parameters in org.wildfly.security.auth.client with type arguments of type Credential Modifier and Type Method Description AuthenticationConfiguration
AuthenticationConfiguration. useKerberosSecurityFactory(SecurityFactory<? extends Credential> kerberosSecurityFactory)
Deprecated. -
Uses of Credential in org.wildfly.security.auth.server
Methods in org.wildfly.security.auth.server with type parameters of type Credential Modifier and Type Method Description <C extends Credential,R>
RIdentityCredentials. applyToCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.<C extends Credential,R>
RIdentityCredentials. applyToCredential(Class<C> credentialType, String algorithmName, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.<C extends Credential,R>
RIdentityCredentials. applyToCredential(Class<C> credentialType, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.default <C extends Credential,R>
RRealmIdentity. applyToCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type, algorithm, and parameters.default <C extends Credential,R>
RRealmIdentity. applyToCredential(Class<C> credentialType, String algorithmName, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.default <C extends Credential,R>
RRealmIdentity. applyToCredential(Class<C> credentialType, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.<C extends Credential,R>
RServerAuthenticationContext. applyToCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.<C extends Credential,R>
RServerAuthenticationContext. applyToCredential(Class<C> credentialType, String algorithmName, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.<C extends Credential,R>
RServerAuthenticationContext. applyToCredential(Class<C> credentialType, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.<C extends Credential>
CIdentityCredentials. getCredential(Class<C> credentialType)
Acquire a credential of the given type.<C extends Credential>
CIdentityCredentials. getCredential(Class<C> credentialType, String algorithmName)
Acquire a credential of the given type and algorithm name.abstract <C extends Credential>
CIdentityCredentials. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type and algorithm name.<C extends Credential>
CRealmIdentity. getCredential(Class<C> credentialType)
Acquire a credential of the given type.default <C extends Credential>
CRealmIdentity. getCredential(Class<C> credentialType, String algorithmName)
Acquire a credential of the given type and algorithm name.default <C extends Credential>
CRealmIdentity. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type and algorithm name.<C extends Credential>
CServerAuthenticationContext. getCredential(Class<C> credentialType)
Acquire a credential of the given type.<C extends Credential>
CServerAuthenticationContext. getCredential(Class<C> credentialType, String algorithmName)
Acquire a credential of the given type.<C extends Credential>
CServerAuthenticationContext. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type.<C extends Credential>
IdentityCredentialsIdentityCredentials. without(Class<C> credentialType, Predicate<? super C> predicate)
Return a copy of this credential set without any credentials of the given type that match the predicate.Methods in org.wildfly.security.auth.server that return types with arguments of type Credential Modifier and Type Method Description protected abstract Collection<Class<? extends Credential>>
AbstractMechanismAuthenticationFactory. getSupportedCredentialTypes(String mechName)
protected Collection<Class<? extends Credential>>
HttpAuthenticationFactory. getSupportedCredentialTypes(String mechName)
Deprecated.protected Collection<Class<? extends Credential>>
SaslAuthenticationFactory. getSupportedCredentialTypes(String mechName)
Deprecated.Spliterator<Credential>
IdentityCredentials. spliterator()
Get aSpliterator
for this credential set.Methods in org.wildfly.security.auth.server with parameters of type Credential Modifier and Type Method Description void
ServerAuthenticationContext. addPrivateCredential(Credential credential)
Add a private credential to the identity being authenticated.void
ServerAuthenticationContext. addPublicCredential(Credential credential)
Add a public credential to the identity being authenticated.boolean
IdentityCredentials. containsMatching(Credential credential)
Determine whether a credential of the type, algorithm, and parameters of the given credential is present in this set.MechanismConfiguration.Builder
MechanismConfiguration.Builder. setServerCredential(Credential credential)
Set a single server credential.default void
ModifiableRealmIdentity. updateCredential(Credential credential)
default void
RealmIdentity. updateCredential(Credential credential)
Update a credential of this realm identity.void
ServerAuthenticationContext. updateCredential(Credential credential)
Update the credential for the current authentication identity.abstract IdentityCredentials
IdentityCredentials. withCredential(Credential credential)
Return a copy of this credential set, but with the given credential added to it.IdentityCredentials
IdentityCredentials. withoutMatching(Credential credential)
Return a copy of this credential set without any credentials with a type, algorithm name, and parameters matching that of the given credential.SecurityIdentity
SecurityIdentity. withPrivateCredential(Credential credential)
Create a new security identity which is the same as this one, but which includes the given credential as a private credential.SecurityIdentity
SecurityIdentity. withPublicCredential(Credential credential)
Create a new security identity which is the same as this one, but which includes the given credential as a public credential.Method parameters in org.wildfly.security.auth.server with type arguments of type Credential Modifier and Type Method Description boolean
IdentityCredentials. contains(Class<? extends Credential> credentialType)
Determine whether a credential of the given type is present in this set.boolean
IdentityCredentials. contains(Class<? extends Credential> credentialType, String algorithmName)
Determine whether a credential of the given type and algorithm are present in this set.abstract boolean
IdentityCredentials. contains(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Determine whether a credential of the given type and algorithm are present in this set.SupportLevel
IdentityCredentials. getCredentialAcquireSupport(Class<? extends Credential> credentialType)
SupportLevel
IdentityCredentials. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName)
SupportLevel
IdentityCredentials. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
default SupportLevel
RealmIdentity. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName)
Deprecated.Transition method; remove before GA.SupportLevel
RealmIdentity. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Determine whether a given credential type is definitely obtainable, possibly obtainable, or definitely not obtainable for this identity.SupportLevel
SecurityDomain. getCredentialAcquireSupport(Class<? extends Credential> credentialType)
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for some identities), or definitely not obtainable.SupportLevel
SecurityDomain. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName)
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for some identities), or definitely not obtainable.SupportLevel
SecurityDomain. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for some identities), or definitely not obtainable.default SupportLevel
SecurityRealm. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName)
Deprecated.Transition method; remove before GA.SupportLevel
SecurityRealm. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for] some identities), or definitely not obtainable.SupportLevel
ServerAuthenticationContext. getCredentialAcquireSupport(Class<? extends Credential> credentialType)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.SupportLevel
ServerAuthenticationContext. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.SupportLevel
ServerAuthenticationContext. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.void
ModifiableRealmIdentity. setCredentials(Collection<? extends Credential> credentials)
Set the credentials of this identity.MechanismConfiguration.Builder
MechanismConfiguration.Builder. setServerCredential(SecurityFactory<? extends Credential> credentialFactory)
Set a single server credential factory.IdentityCredentials
IdentityCredentials. without(Class<? extends Credential> credentialType)
Return a copy of this credential set without any credentials of the given type.IdentityCredentials
IdentityCredentials. without(Class<? extends Credential> credentialType, String algorithmName)
Return a copy of this credential set without any credentials of the given type and algorithm name.IdentityCredentials
IdentityCredentials. without(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Return a copy of this credential set without any credentials of the given type, algorithm name and parameter spec.abstract IdentityCredentials
IdentityCredentials. without(Predicate<? super Credential> predicate)
Return a copy of this credential set without any credentials that match the predicate. -
Uses of Credential in org.wildfly.security.auth.server.event
Methods in org.wildfly.security.auth.server.event that return Credential Modifier and Type Method Description Credential
RealmDefiniteOutcomeAuthenticationEvent. getCredential()
Get the actual credential used.Constructors in org.wildfly.security.auth.server.event with parameters of type Credential Constructor Description RealmFailedAuthenticationEvent(RealmIdentity realmIdentity, Credential credential, Evidence evidence)
Construct a new instance.RealmSuccessfulAuthenticationEvent(RealmIdentity realmIdentity, AuthorizationIdentity authorizationIdentity, Credential credential, Evidence evidence)
Construct a new instance. -
Uses of Credential in org.wildfly.security.auth.server.http
Methods in org.wildfly.security.auth.server.http that return types with arguments of type Credential Modifier and Type Method Description protected Collection<Class<? extends Credential>>
HttpAuthenticationFactory. getSupportedCredentialTypes(String mechName)
-
Uses of Credential in org.wildfly.security.auth.server.sasl
Methods in org.wildfly.security.auth.server.sasl that return types with arguments of type Credential Modifier and Type Method Description protected Collection<Class<? extends Credential>>
SaslAuthenticationFactory. getSupportedCredentialTypes(String mechName)
-
Uses of Credential in org.wildfly.security.auth.util
Constructors in org.wildfly.security.auth.util with parameters of type Credential Constructor Description ElytronFilePasswordProvider(Credential credential)
-
Uses of Credential in org.wildfly.security.credential
Subinterfaces of Credential in org.wildfly.security.credential Modifier and Type Interface Description interface
AlgorithmCredential
A credential which has an associated algorithm name.interface
X509CertificateChainCredential
A credential which contains an X.509 certificate chain.Classes in org.wildfly.security.credential that implement Credential Modifier and Type Class Description class
BearerTokenCredential
ACredential
that usually holds a bearer security token.class
GSSKerberosCredential
A credential for holding aGSSCredential
and optionally an associatedKerberosTicket
.class
KeyPairCredential
A public/private key pair credential.class
PasswordCredential
A credential for password authentication.class
PublicKeyCredential
A public key credential.class
SecretKeyCredential
A secret key credential.class
SSHCredential
A credential holding the location, key identity and passphrase (instance ofCredential
) of a Private key in an external file and/or the name of the file containing the known hostsclass
X509CertificateChainPrivateCredential
A credential containing a private key and an X.509 certificate chain.class
X509CertificateChainPublicCredential
A credential containing an X.509 certificate chain.Fields in org.wildfly.security.credential declared as Credential Modifier and Type Field Description static Credential[]
Credential. NO_CREDENTIALS
An array with no credentials.Methods in org.wildfly.security.credential with type parameters of type Credential Modifier and Type Method Description default <C extends Credential,R>
RCredential. castAndApply(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec, Function<C,R> function)
Cast this credential type and apply a function if the type matches.default <C extends Credential,R>
RCredential. castAndApply(Class<C> credentialType, String algorithmName, Function<C,R> function)
Cast this credential type and apply a function if the type matches.default <C extends Credential,R>
RCredential. castAndApply(Class<C> credentialType, Function<C,R> function)
Cast this credential type and apply a function if the type matches.default <C extends Credential>
CCredential. castAs(Class<C> credentialType)
Cast this credential type if the type matches.default <C extends Credential>
CCredential. castAs(Class<C> credentialType, String algorithmName)
Cast this credential type if the type and algorithm matches.default <C extends Credential>
CCredential. castAs(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Cast this credential type if the type, algorithm, and parameters match.Methods in org.wildfly.security.credential that return Credential Modifier and Type Method Description Credential
Credential. clone()
Creates and returns a copy of thisCredential
.Credential
SSHCredential. clone()
static Credential
Credential. fromKeyStoreEntry(KeyStore.Entry keyStoreEntry)
Convert a key store entry into a credential object.Credential
SSHCredential. getPassphrase()
Get the passphrase used to decrypt the private keyMethods in org.wildfly.security.credential with parameters of type Credential Modifier and Type Method Description default boolean
AlgorithmCredential. matches(Credential other)
default boolean
Credential. matches(Credential other)
Determine if this credential is the same kind of credential as the given credential.SSHCredential.Builder
SSHCredential.Builder. setPassphrase(Credential passphrase)
The passphrase needed to decrypt the private keyMethod parameters in org.wildfly.security.credential with type arguments of type Credential Modifier and Type Method Description default boolean
AlgorithmCredential. matches(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
default boolean
Credential. matches(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Determine if this credential matches the given criteria. -
Uses of Credential in org.wildfly.security.credential.source
Methods in org.wildfly.security.credential.source with type parameters of type Credential Modifier and Type Method Description default <C extends Credential,R>
RCredentialSource. applyToCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm with the given parameters.default <C extends Credential,R>
RCredentialSource. applyToCredential(Class<C> credentialType, String algorithmName, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.default <C extends Credential,R>
RCredentialSource. applyToCredential(Class<C> credentialType, Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.<C extends Credential>
CCallbackHandlerCredentialSource. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.<C extends Credential>
CCommandCredentialSource. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.default <C extends Credential>
CCredentialSource. getCredential(Class<C> credentialType)
Acquire a credential of the given type.default <C extends Credential>
CCredentialSource. getCredential(Class<C> credentialType, String algorithmName)
Acquire a credential of the given type.<C extends Credential>
CCredentialSource. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type.<C extends Credential>
CCredentialStoreCredentialSource. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.<C extends Credential>
CFactoryCredentialSource. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.<C extends Credential>
CKeyStoreCredentialSource. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.<C extends Credential>
CLocalKerberosCredentialSource. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.<C extends Credential>
COAuth2CredentialSource. getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.Method parameters in org.wildfly.security.credential.source with type arguments of type Credential Modifier and Type Method Description static CredentialSource
CredentialSource. fromSecurityFactory(SecurityFactory<? extends Credential> credentialFactory)
Get a credential source from the given security factory.SupportLevel
CallbackHandlerCredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.SupportLevel
CommandCredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.default SupportLevel
CredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.default SupportLevel
CredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.SupportLevel
CredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.SupportLevel
CredentialStoreCredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.SupportLevel
FactoryCredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.SupportLevel
KeyStoreCredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.SupportLevel
LocalKerberosCredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.SupportLevel
OAuth2CredentialSource. getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Deprecated.default CredentialSource
CredentialSource. without(Class<? extends Credential> credentialType)
Get a derived credential source which excludes credentials of the given type.default CredentialSource
CredentialSource. without(Class<? extends Credential> credentialType, String algorithmName)
Get a derived credential source which excludes credentials of the given type and optional algorithm.default CredentialSource
CredentialSource. without(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
Get a derived credential source which excludes credentials of the given type and optional algorithm.Constructor parameters in org.wildfly.security.credential.source with type arguments of type Credential Constructor Description FactoryCredentialSource(SecurityFactory<? extends Credential> credentialFactory)
Deprecated.Construct a new instance. -
Uses of Credential in org.wildfly.security.credential.store
Methods in org.wildfly.security.credential.store with type parameters of type Credential Modifier and Type Method Description <C extends Credential>
booleanCredentialStore. exists(String credentialAlias, Class<C> credentialType)
Check whether credential store has an entry associated with the given credential alias of specified credential type.<C extends Credential>
CCredentialStore. retrieve(String credentialAlias, Class<C> credentialType)
Retrieve credential stored in the store under the key and of the credential type<C extends Credential>
CCredentialStore. retrieve(String credentialAlias, Class<C> credentialType, String credentialAlgorithm)
Retrieve credential stored in the store under the key and of the credential type.<C extends Credential>
CCredentialStore. retrieve(String credentialAlias, Class<C> credentialType, String credentialAlgorithm, AlgorithmParameterSpec parameterSpec)
Retrieve credential stored in the store under the key and of the credential type.<C extends Credential>
CCredentialStore. retrieve(String credentialAlias, Class<C> credentialType, String credentialAlgorithm, AlgorithmParameterSpec parameterSpec, CredentialStore.ProtectionParameter protectionParameter)
Retrieve credential stored in the store under the key and of the credential type.abstract <C extends Credential>
CCredentialStoreSpi. retrieve(String credentialAlias, Class<C> credentialType, String credentialAlgorithm, AlgorithmParameterSpec parameterSpec, CredentialStore.ProtectionParameter protectionParameter)
Retrieve the credential stored in the store under the given alias, matching the given criteria.<C extends Credential>
voidCredentialStore. store(String credentialAlias, C credential)
Store credential to the store under the given alias.<C extends Credential>
voidCredentialStore. store(String credentialAlias, C credential, CredentialStore.ProtectionParameter protectionParameter)
Store credential to the store under the given alias.Methods in org.wildfly.security.credential.store with parameters of type Credential Modifier and Type Method Description abstract void
CredentialStoreSpi. store(String credentialAlias, Credential credential, CredentialStore.ProtectionParameter protectionParameter)
Store credential to the credential store service under the given alias.Method parameters in org.wildfly.security.credential.store with type arguments of type Credential Modifier and Type Method Description boolean
CredentialStoreSpi. exists(String credentialAlias, Class<? extends Credential> credentialType)
Check whether credential store service has an entry associated with the given credential alias of specified credential type.void
CredentialStore. remove(String credentialAlias, Class<? extends Credential> credentialType)
Remove the credentialType with from given alias matching the given criteria from the store.void
CredentialStore. remove(String credentialAlias, Class<? extends Credential> credentialType, String credentialAlgorithm)
Remove the credentialType with from given alias matching the given criteria from the store.void
CredentialStore. remove(String credentialAlias, Class<? extends Credential> credentialType, String credentialAlgorithm, AlgorithmParameterSpec parameterSpec)
Remove the credentialType with from given alias matching the given criteria from the store.abstract void
CredentialStoreSpi. remove(String credentialAlias, Class<? extends Credential> credentialType, String credentialAlgorithm, AlgorithmParameterSpec parameterSpec)
Remove the credentialType with from given alias from the credential store service. -
Uses of Credential in org.wildfly.security.sasl.util
Methods in org.wildfly.security.sasl.util that return types with arguments of type Credential Modifier and Type Method Description static Set<Class<? extends Credential>>
SaslMechanismInformation. getSupportedClientCredentialTypes(String mechName)
Get the supported credential types for the given SASL client mechanism.static Set<Class<? extends Credential>>
SaslMechanismInformation. getSupportedServerCredentialTypes(String mechName)
Get the supported credential types for the given SASL server mechanism.Method parameters in org.wildfly.security.sasl.util with type arguments of type Credential Modifier and Type Method Description static Set<String>
SaslMechanismInformation. getSupportedClientCredentialAlgorithms(String mechName, Class<? extends Credential> credentialType)
Get the supported algorithm names for a SASL client mechanism and credential type.static Set<String>
SaslMechanismInformation. getSupportedServerCredentialAlgorithms(String mechName, Class<? extends Credential> credentialType)
Get the supported algorithm names for a SASL server mechanism and credential type.Constructors in org.wildfly.security.sasl.util with parameters of type Credential Constructor Description CredentialSaslServerFactory(SaslServerFactory delegate, Credential credential)
Construct a new instance.
-