Class KerberosSettings
java.lang.Object
net.shibboleth.idp.authn.spnego.impl.KerberosSettings
Kerberos settings for the SPNEGO authentication flow.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringClass name of JAAS LoginModule to acquire Kerberos credentials.private Collection<KerberosRealmSettings>List of realms (KerberosRealmSettings objects).private booleanRefresh the Kerberos config before running? -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn name of the JAAS LoginModule to use to acquire Kerberos credentials.Get list of realms.booleanReturn whether to refresh the Kerberos configuration before running.voidSet the name of the JAAS LoginModule to use to acquire Kerberos credentials.voidsetRealms(Collection<KerberosRealmSettings> realms) Collection of realms (KerberosRealmSettings objects).voidsetRefreshKrb5Config(boolean flag) Set whether to refresh the Kerberos configuration before running.
-
Field Details
-
loginModuleClassName
Class name of JAAS LoginModule to acquire Kerberos credentials. -
refreshKrb5Config
private boolean refreshKrb5ConfigRefresh the Kerberos config before running? -
realmSettings
List of realms (KerberosRealmSettings objects).
-
-
Constructor Details
-
KerberosSettings
public KerberosSettings()Constructor.
-
-
Method Details
-
setLoginModuleClassName
Set the name of the JAAS LoginModule to use to acquire Kerberos credentials.- Parameters:
name- name of login module class
-
getLoginModuleClassName
Return name of the JAAS LoginModule to use to acquire Kerberos credentials.- Returns:
- name of login module class
-
setRefreshKrb5Config
public void setRefreshKrb5Config(boolean flag) Set whether to refresh the Kerberos configuration before running.- Parameters:
flag- flag to set
-
getRefreshKrb5Config
public boolean getRefreshKrb5Config()Return whether to refresh the Kerberos configuration before running.- Returns:
- true if Kerberos configuration is to be refreshed
-
setRealms
Collection of realms (KerberosRealmSettings objects).- Parameters:
realms- realms to set.
-
getRealms
Get list of realms.- Returns:
- list of realms
-