public class GSSAcceptorLoginModule extends Object
| Modifier and Type | Class and Description |
|---|---|
private class |
GSSAcceptorLoginModule.UsernamePasswordCallbackHandler
A JAAS username and password CallbackHandler.
|
| Modifier and Type | Field and Description |
|---|---|
private LoginModule |
krbModule
The JAAS login module to use.
|
private org.slf4j.Logger |
log
Class logger.
|
private Map<String,String> |
options
Options for the JAAS login module.
|
private KerberosRealmSettings |
realm
The realm settings.
|
private Map<String,String> |
state
Hashtable to hold state of the JAAS login module.
|
| Constructor and Description |
|---|
GSSAcceptorLoginModule(KerberosRealmSettings realmSettings,
boolean refreshKrb5Config,
String loginModuleClassName)
Constructor.
|
@Nonnull private final org.slf4j.Logger log
@Nullable private LoginModule krbModule
@Nonnull private KerberosRealmSettings realm
public GSSAcceptorLoginModule(@Nonnull KerberosRealmSettings realmSettings, boolean refreshKrb5Config, @Nonnull@NotEmpty String loginModuleClassName)
realmSettings - the settings of the realmrefreshKrb5Config - whether to set the JAAS login module's option "refreshKrb5Config"loginModuleClassName - the JAAS login module to usepublic Subject login() throws LoginException
LoginException - if an error occurspublic void logout()
throws LoginException
LoginException - if an error occursCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.