public class GssApiLoginModule extends ClusterLoginModule
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_KEYTAB_FILE
Option name which allows (together with the
OPTION_PRINCIPAL) simplification of security realm
configurations. |
static String |
OPTION_PRINCIPAL
Option name which allows (together with the
OPTION_KEYTAB_FILE) simplification of security realm
configurations. |
static String |
OPTION_RELAX_FLAGS_CHECK
Name of the option which allows disabling some of the checks on incoming token (e.g.
|
static String |
OPTION_SECURITY_REALM
Option name for referencing Security realm name in Hazelcast configuration.
|
static String |
OPTION_USE_NAME_WITHOUT_REALM
Option name which allows cutting off the Kerberos realm part from authenticated name.
|
callbackHandler, commitSucceeded, endpoint, logger, loginSucceeded, OPTION_SKIP_ENDPOINT, OPTION_SKIP_IDENTITY, OPTION_SKIP_ROLE, options, SHARED_STATE_IDENTITY, sharedState, subject| Constructor and Description |
|---|
GssApiLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAuthenticatedName(GSSContext gssContext) |
protected String |
getName() |
protected void |
onInitialize() |
boolean |
onLogin() |
abort, addRole, commit, getBoolOption, getIntOption, getLastIdentity, getStringOption, initialize, isSkipIdentity, isSkipRole, login, logout, onAbort, onCommit, onLogoutpublic static final String OPTION_RELAX_FLAGS_CHECK
public static final String OPTION_SECURITY_REALM
Subject with Kerberos credentials (e.g. KeyTab entry).public static final String OPTION_USE_NAME_WITHOUT_REALM
true, the '@REALM' part is removed from the name (e.g. jduke@ACME.COM becomes jduke).public static final String OPTION_KEYTAB_FILE
OPTION_PRINCIPAL) simplification of security realm
configurations. For basic scenarios you don't need to specify the OPTION_SECURITY_REALM, but you can instead
define directly kerberos principal name and keytab file path with credentials for given principal.
This property is only used when the OPTION_SECURITY_REALM is not configured.
public static final String OPTION_PRINCIPAL
OPTION_KEYTAB_FILE) simplification of security realm
configurations. For basic scenarios you don't need to specify the OPTION_SECURITY_REALM, but you can instead
define directly kerberos principal name and keytab file path with credentials for given principal.
This property is only used when the OPTION_SECURITY_REALM is not configured.
protected void onInitialize()
onInitialize in class ClusterLoginModulepublic boolean onLogin()
throws LoginException
onLogin in class ClusterLoginModuleLoginExceptionprotected String getAuthenticatedName(GSSContext gssContext) throws GSSException
GSSExceptionprotected String getName()
getName in class ClusterLoginModuleCopyright © 2023 Hazelcast, Inc.. All rights reserved.