Uses of Class
org.wildfly.security.auth.client.AuthenticationConfiguration
Packages that use AuthenticationConfiguration
Package
Description
Elytron Client enable remote clients to authenticate using Elytron.
-
Uses of AuthenticationConfiguration in org.wildfly.security.auth.client
Fields in org.wildfly.security.auth.client declared as AuthenticationConfigurationModifier and TypeFieldDescriptionstatic final AuthenticationConfigurationAuthenticationConfiguration.EMPTYDeprecated.Methods in org.wildfly.security.auth.client that return AuthenticationConfigurationModifier and TypeMethodDescriptionAuthenticationConfiguration.captureAuthorizationIdentity()Create a new configuration which is the same as this configuration, but which attempts to authorize to the principal from the current identity from the configured security domain.static AuthenticationConfigurationAuthenticationConfiguration.empty()An empty configuration which can be used as the basis for any configuration.AuthenticationContextConfigurationClient.getAuthenticationConfiguration(URI uri, AuthenticationContext authenticationContext) Get the authentication configuration which matches the given URI, orEMPTYif there is none.AuthenticationContextConfigurationClient.getAuthenticationConfiguration(URI uri, AuthenticationContext authenticationContext, int protocolDefaultPort) Get the authentication configuration which matches the given URI, orEMPTYif there is none, setting a default protocol port.AuthenticationContextConfigurationClient.getAuthenticationConfiguration(URI uri, AuthenticationContext authenticationContext, int protocolDefaultPort, String abstractType, String abstractTypeAuthority) Get the authentication configuration which matches the given URI and type, orEMPTYif there is none, setting a default protocol port.AuthenticationContextConfigurationClient.getAuthenticationConfigurationNoOverrides(URI uri, AuthenticationContext authenticationContext, String abstractType, String abstractTypeAuthority) Get the authentication configuration which matches the given URI and type, orEMPTYif there is none.AuthenticationConfiguration.rewriteUser(org.wildfly.security.auth.server.NameRewriter rewriter) Create a new configuration which is the same as this configuration, but rewrites the user name using the given name rewriter.AuthenticationConfiguration.rewriteUserOnlyWith(org.wildfly.security.auth.server.NameRewriter rewriter) Create a new configuration which is the same as this configuration, but rewrites the user name using only the given name rewriter.AuthenticationConfiguration.setSaslMechanismSelector(SaslMechanismSelector saslMechanismSelector) Set the SASL mechanism selector for this authentication configuration.AuthenticationConfiguration.useAnonymous()Create a new configuration which is the same as this configuration, but which uses an anonymous login.AuthenticationConfiguration.useAuthorizationName(String name) Create a new configuration which is the same as this configuration, but which attempts to authorize to the given name after authentication.AuthenticationConfiguration.useAuthorizationPrincipal(Principal principal) Create a new configuration which is the same as this configuration, but which attempts to authorize to the given principal after authentication.AuthenticationConfiguration.useBearerTokenCredential(BearerTokenCredential credential) Create a new configuration which is the same as this configuration, but which uses the givenBearerTokenCredentialto authenticate.AuthenticationConfiguration.useCallbackHandler(CallbackHandler callbackHandler) Create a new configuration which is the same as this configuration, but which uses the given callback handler to authenticate.AuthenticationConfiguration.useCallbackHandler(CallbackHandler callbackHandler, Set<CallbackKind> callbackKinds) Create a new configuration which is the same as this configuration, but which uses the given callback handler to authenticate.AuthenticationConfiguration.useCertificateCredential(PrivateKey privateKey, X509Certificate... certificateChain) Create a new configuration which is the same as this configuration, but which uses the given private key and X.509 certificate chain to authenticate.AuthenticationConfiguration.useCertificateCredential(X509CertificateChainPrivateCredential credential) Create a new configuration which is the same as this configuration, but which uses the given private key and X.509 certificate chain to authenticate.AuthenticationConfiguration.useChoice(BiPredicate<Class<? extends ChoiceCallback>, String> matchPredicate, String choice) Create a new configuration which is the same as this configuration, but which uses the given choice if the given predicate evaluates totrue.AuthenticationConfiguration.useCredential(Credential credential) Create a new configuration which is the same as this configuration, but which uses the given credential to authenticate.AuthenticationConfiguration.useCredentialCallbackHandler(CallbackHandler callbackHandler) Create a new configuration which is the same as this configuration, but which uses the given callback handler to acquire a password with which to authenticate, when a password-based authentication algorithm is in use.AuthenticationConfiguration.useCredentials(org.wildfly.security.credential.source.CredentialSource credentials) Create a new configuration which is the same as this configuration, but which uses the given identity credentials to acquire the credential required for authentication.AuthenticationConfiguration.useCredentialStoreEntry(CredentialStore credentialStore, String alias) Create a new configuration which is the same as this configuration, but uses credentials found at the given alias and credential store.AuthenticationConfiguration.useDefaultProviders()Use the default provider discovery behaviour of combining service loader discovered providers with the system default security providers when locating security implementations.AuthenticationConfiguration.useForwardedAuthenticationCredentials(org.wildfly.security.auth.server.SecurityDomain securityDomain) Create a new configuration which is the same as this configuration, but which forwards the authentication credentials from the current identity of the given security domain.AuthenticationConfiguration.useForwardedAuthenticationIdentity(org.wildfly.security.auth.server.SecurityDomain securityDomain) Create a new configuration which is the same as this configuration, but which forwards the authentication name from the current identity of the given security domain.AuthenticationConfiguration.useForwardedAuthorizationIdentity(org.wildfly.security.auth.server.SecurityDomain securityDomain) Create a new configuration which is the same as this configuration, but which forwards the authorization name from the current identity of the given security domain.AuthenticationConfiguration.useForwardedIdentity(org.wildfly.security.auth.server.SecurityDomain securityDomain) Create a new configuration which is the same as this configuration, but which forwards the authentication name and credentials from the current identity of the given security domain.AuthenticationConfiguration.useGSSCredential(GSSCredential credential) Create a new configuration which is the same as this configuration, but which uses the given GSS-API credential to authenticate.Deprecated.This configuration is not supported by most providers and will be removed in a future release.AuthenticationConfiguration.useKerberosSecurityFactory(org.wildfly.security.SecurityFactory<? extends Credential> kerberosSecurityFactory) Deprecated.AuthenticationConfiguration.useKeyManagerCredential(X509KeyManager keyManager) Create a new configuration which is the same as this configuration, but which uses the given key manager to acquire the credential required for authentication.AuthenticationConfiguration.useKeyStoreCredential(KeyStore.Entry keyStoreEntry) Create a new configuration which is the same as this configuration, but which uses the given key store and alias to acquire the credential required for authentication.AuthenticationConfiguration.useKeyStoreCredential(KeyStore keyStore, String alias) Create a new configuration which is the same as this configuration, but which uses the given key store and alias to acquire the credential required for authentication.AuthenticationConfiguration.useKeyStoreCredential(KeyStore keyStore, String alias, KeyStore.ProtectionParameter protectionParameter) Create a new configuration which is the same as this configuration, but which uses the given key store and alias to acquire the credential required for authentication.AuthenticationConfiguration.useLocalKerberosCredential(Oid[] mechanismOids) Deprecated.can be ommited - kerberos based authentication mechanism obtains credential himselfAuthenticationConfiguration.useMaskedPassword(byte[] maskedPasswordBytes, String algorithm, char[] initialKeyMaterial, int iterationCount, byte[] salt, byte[] initializationVector) Create a new configuration which is the same as this configuration, but which uses the given masked password to authenticate.AuthenticationConfiguration.useMaskedPassword(String maskedPassword, String algorithm, String initialKeyMaterial, int iterationCount, String salt, String initializationVector) Create a new configuration which is the same as this configuration, but which uses the given masked password to authenticate.AuthenticationConfiguration.useMaskedPassword(MaskedPassword password) Create a new configuration which is the same as this configuration, but converts the given masked password to a clear password and uses the clear password to authenticate.AuthenticationConfiguration.useMechanismProperties(Map<String, ?> mechanismProperties) Deprecated.AuthenticationConfiguration.useMechanismProperties(Map<String, ?> mechanismProperties, boolean exclusive) Deprecated.Create a new configuration which is the same as this configuration, but which uses the given login name to authenticate.AuthenticationConfiguration.useParameterSpec(AlgorithmParameterSpec parameterSpec) Create a new configuration which is the same as this configuration, but which uses the given parameter specification.AuthenticationConfiguration.usePassword(char[] password) Create a new configuration which is the same as this configuration, but which uses the given password to authenticate.AuthenticationConfiguration.usePassword(String password) Create a new configuration which is the same as this configuration, but which uses the given password to authenticate.AuthenticationConfiguration.usePassword(Password password) Create a new configuration which is the same as this configuration, but which uses the given password to authenticate.AuthenticationConfiguration.usePort(int port) Deprecated.This configuration is not supported by most providers and will be removed in a future release.AuthenticationConfiguration.usePrincipal(Principal principal) Create a new configuration which is the same as this configuration, but which uses the given principal to authenticate.AuthenticationConfiguration.usePrincipal(org.wildfly.security.auth.principal.NamePrincipal principal) Create a new configuration which is the same as this configuration, but which uses the given principal to authenticate.AuthenticationConfiguration.useProtocol(String protocol) Deprecated.This configuration is not supported by most providers and will be removed in a future release.AuthenticationConfiguration.useProviders(Supplier<Provider[]> providerSupplier) Use the given security provider supplier to locate security implementations.AuthenticationConfiguration.useProvidersFromClassLoader(ClassLoader classLoader) Use security providers from the given class loader.Create a new configuration which is the same as this configuration, but uses the given realm for authentication.AuthenticationConfiguration.useSaslClientFactory(Supplier<SaslClientFactory> saslClientFactory) Use the given sasl client factory supplier to obtain theSaslClientFactoryto use.AuthenticationConfiguration.useSaslClientFactory(SaslClientFactory saslClientFactory) Use a pre-existingSaslClientFactoryinstead of discovery.AuthenticationConfiguration.useSaslClientFactoryFromProviders()Use provider based discovery to load availableSaslClientFactoryimplementations.AuthenticationConfiguration.useSaslMechanismProperties(Map<String, ?> mechanismProperties) Create a new configuration which is the same as this configuration, but which sets the properties that will be passed to theSaslClientFactorywhen the mechanism is created.AuthenticationConfiguration.useSaslMechanismProperties(Map<String, ?> mechanismProperties, boolean exclusive) Create a new configuration which is the same as this configuration, but which sets the properties that will be passed to theSaslClientFactorywhen the mechanism is created.AuthenticationConfiguration.useSaslProtocol(String saslProtocol) Create a new configuration which is the same as this configuration, but which specifies a different protocol to be passed to the authentication mechanisms.AuthenticationConfiguration.useTrustManager(X509TrustManager trustManager) Create a new configuration which is the same as this configuration, but which uses the given trust manager for trust verification.AuthenticationConfiguration.useWebServices(Map<String, ?> webservicesProperties) AuthenticationConfiguration.useWebServicesProperties(Map<String, ?> webServicesProperties) Create a new configuration which is the same as this configuration, but which sets the properties that can be used by WebServices client.AuthenticationConfiguration.with(AuthenticationConfiguration other) Create a new configuration which is the same as this configuration, but which adds or replaces every item in theotherconfiguration with that item, overwriting any corresponding such item in this configuration.AuthenticationConfiguration.withCapturedAccessControlContext()Create a new configuration which is the same as this configuration, but which captures the caller's access control context to be used in authentication decisions.Methods in org.wildfly.security.auth.client with parameters of type AuthenticationConfigurationModifier and TypeMethodDescriptionabstract PeerIdentityPeerIdentityContext.authenticate(AuthenticationConfiguration authenticationConfiguration) Authenticate a new peer identity.AuthenticationContextConfigurationClient.connect(URI uri, AuthenticationConfiguration configuration, int protocolDefaultPort) Deprecated.UseInet.getResolved(java.net.URI, int)withSocket(InetAddress, int)instead.AuthenticationContextConfigurationClient.createSaslClient(URI uri, AuthenticationConfiguration configuration, Collection<String> offeredMechanisms) Create a SASL client using the given URI and configuration from the given SASL client factory.AuthenticationContextConfigurationClient.createSaslClient(URI uri, AuthenticationConfiguration configuration, Collection<String> offeredMechanisms, UnaryOperator<SaslClientFactory> factoryOperator) Create a SASL client using the given URI and configuration from the given SASL client factory.AuthenticationContextConfigurationClient.createSaslClient(URI uri, AuthenticationConfiguration configuration, Collection<String> offeredMechanisms, UnaryOperator<SaslClientFactory> factoryOperator, SSLSession sslSession) Create a SASL client using the given URI and configuration from the given SASL client factory.booleanAuthenticationConfiguration.equals(AuthenticationConfiguration other) Determine whether this configuration is equal to another object.AuthenticationContextConfigurationClient.getAuthorizationPrincipal(AuthenticationConfiguration configuration) Get the authorization principal to use for the given configuration.AuthenticationContextConfigurationClient.getCallbackHandler(AuthenticationConfiguration configuration) Get an authentication callback handler for the given configuration.AuthenticationContextConfigurationClient.getDestinationInetSocketAddress(URI uri, AuthenticationConfiguration configuration, int protocolDefaultPort) Deprecated.UseInet.getResolved(java.net.URI, int)instead.AuthenticationContextConfigurationClient.getDestinationInetSocketAddress(AuthenticationConfiguration configuration) Deprecated.This configuration is not supported by most providers and will be removed in a future release.AuthenticationContextConfigurationClient.getPrincipal(AuthenticationConfiguration configuration) Get the authentication principal to use for the given configuration.AuthenticationContextConfigurationClient.getProviderSupplier(AuthenticationConfiguration configuration) AuthenticationContextConfigurationClient.getRealHost(URI uri, AuthenticationConfiguration configuration) Deprecated.UseURI.getHost()instead.AuthenticationContextConfigurationClient.getRealHost(AuthenticationConfiguration configuration) Deprecated.This configuration is not supported by most providers and will be removed in a future release.intAuthenticationContextConfigurationClient.getRealPort(URI uri, AuthenticationConfiguration configuration) Deprecated.UseURI.getPort()instead.intAuthenticationContextConfigurationClient.getRealPort(AuthenticationConfiguration configuration) Deprecated.This configuration is not supported by most providers and will be removed in a future release.AuthenticationContextConfigurationClient.getRealProtocol(URI uri, AuthenticationConfiguration configuration) Deprecated.UseURI.getScheme()instead.AuthenticationContextConfigurationClient.getRealProtocol(AuthenticationConfiguration configuration) Deprecated.This configuration is not supported by most providers and will be removed in a future release.AuthenticationContextConfigurationClient.getSaslProtocol(AuthenticationConfiguration configuration) Get the actual sasl protocol to use for the given configuration.AuthenticationContextConfigurationClient.getWsHttpMech(AuthenticationConfiguration configuration) Get the WebServices HTTP mechanism to use for the given configuration.AuthenticationContextConfigurationClient.getWsSecurityType(AuthenticationConfiguration configuration) Get the actual WS-Security type to use for the given configuration.AuthenticationContext.replacing(int idx, MatchRule rule, AuthenticationConfiguration configuration) Get a new authentication context which is the same as this one, but which replaces the rule and configuration at the given index with the given rule and configuration.AuthenticationConfiguration.with(AuthenticationConfiguration other) Create a new configuration which is the same as this configuration, but which adds or replaces every item in theotherconfiguration with that item, overwriting any corresponding such item in this configuration.AuthenticationContext.with(int idx, MatchRule rule, AuthenticationConfiguration configuration) Get a new authentication context which is the same as this one, but which includes the given rule and configuration inserted at the position of its list indicated by theidxparameter.AuthenticationContext.with(MatchRule rule, AuthenticationConfiguration configuration) Get a new authentication context which is the same as this one, but which includes the given rule and configuration at the end of its list.
empty()method instead