@ProviderType public static final class AuthenticationStrategy.Kerberos extends Object implements AuthenticationStrategy
KerberosAuthenticationProvider file (jaas.conf) as specified in the Configuration instance and also a standard krb5.conf file is
required. This API uses Kerberos for client authentication through GSS-API (Generic Security
Services Application Program Interface).AuthenticationStrategy.BasicUserNamePassword, AuthenticationStrategy.ClientCertificateAuthentication, AuthenticationStrategy.Kerberos, AuthenticationStrategy.OAuth2| Modifier and Type | Method and Description |
|---|---|
TypedProperties |
getAuthenticationConfiguration() |
static AuthenticationStrategy.Kerberos |
of(String jaasLoginContextName)
A factory method that creates a
Kerberos instance. |
static AuthenticationStrategy.Kerberos |
of(String jaasLoginContextName,
String kerberosPrincipalInstanceName)
A factory method that creates a
Kerberos instance. |
AuthenticationStrategy.Kerberos |
withMutualAuthentication()
A factory method to configure mutual authentication when using Kerberos.
|
AuthenticationStrategy.Kerberos |
withReloadableJaasConfiguration()
A factory method to configure reloading behavior of a (
jaas.conf) file. |
AuthenticationStrategy.Kerberos |
withUserName(String userName)
A factory method to configure non default user name when using Kerberos.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationpublic TypedProperties getAuthenticationConfiguration()
public static AuthenticationStrategy.Kerberos of(String jaasLoginContextName)
Kerberos instance.
Uses defaults to 'solace' for kerberosPrincipalInstanceName
jaasLoginContextName - the alias used to identify the correct configuration within the
jaas.conf filepublic static AuthenticationStrategy.Kerberos of(String jaasLoginContextName, String kerberosPrincipalInstanceName)
Kerberos instance.jaasLoginContextName - the alias used to identify the correct configuration
within the jaas.conf file; the context name of
SolaceGSS is commonly usedkerberosPrincipalInstanceName - the instance part of the Kerberos
principal identity, the entire identity to be
setup on a KDC (the Key Distribution Center that issues
Kerberos tickets) looks like [kerberosPrincipalInstanceName]@[hostname],
where the host name is the corresponding host name of an
PubSub+ brokerpublic AuthenticationStrategy.Kerberos withMutualAuthentication()
public AuthenticationStrategy.Kerberos withReloadableJaasConfiguration()
jaas.conf) file.public AuthenticationStrategy.Kerberos withUserName(String userName)
userName - user nameCopyright 2019-2025 Solace Corporation. All rights reserved.