public class GssApiLoginModule extends ClusterLoginModule
| Modifier and Type | Field and Description |
|---|---|
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() |
boolean |
onLogin() |
abort, addRole, commit, getBoolOption, getIntOption, getLastIdentity, getStringOption, initialize, isSkipIdentity, isSkipRole, login, logout, onAbort, onCommit, onInitialize, 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 boolean onLogin()
throws LoginException
onLogin in class ClusterLoginModuleLoginExceptionprotected String getAuthenticatedName(GSSContext gssContext) throws GSSException
GSSExceptionprotected String getName()
getName in class ClusterLoginModuleCopyright © 2020 Hazelcast, Inc.. All rights reserved.