public class KerberosSettings extends AbstractInitializableComponent
| Modifier and Type | Field and Description |
|---|---|
private String |
loginModuleClassName
Class name of JAAS LoginModule to acquire Kerberos credentials.
|
private Collection<KerberosRealmSettings> |
realmSettings
List of realms (KerberosRealmSettings objects).
|
private boolean |
refreshKrb5Config
Refresh the Kerberos config before running?
|
| Constructor and Description |
|---|
KerberosSettings()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
String |
getLoginModuleClassName()
Return name of the JAAS LoginModule to use to acquire Kerberos credentials.
|
Collection<KerberosRealmSettings> |
getRealms()
Get list of realms.
|
boolean |
getRefreshKrb5Config()
Return whether to refresh the Kerberos configuration before running.
|
void |
setLoginModuleClassName(String name)
Set the name of the JAAS LoginModule to use to acquire Kerberos credentials.
|
void |
setRealms(Collection<KerberosRealmSettings> realms)
Collection of realms (KerberosRealmSettings objects).
|
void |
setRefreshKrb5Config(boolean flag)
Set whether to refresh the Kerberos configuration before running.
|
destroy, doDestroy, initialize, isDestroyed, isInitialized@Nonnull @NotEmpty private String loginModuleClassName
private boolean refreshKrb5Config
@NonnullAfterInit @NonnullElements private Collection<KerberosRealmSettings> realmSettings
public void setLoginModuleClassName(@Nonnull@NotEmpty String name)
name - name of login module class@Nonnull @NotEmpty public String getLoginModuleClassName()
public void setRefreshKrb5Config(boolean flag)
flag - flag to setpublic boolean getRefreshKrb5Config()
public void setRealms(@Nonnull@NonnullElements Collection<KerberosRealmSettings> realms)
realms - realms to set.@Nonnull @NonnullElements @NotLive @Unmodifiable public Collection<KerberosRealmSettings> getRealms()
protected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.