Class KerberosRealmSettings
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.idp.authn.spnego.impl.KerberosRealmSettings
- All Implemented Interfaces:
Component
,DestructableComponent
,InitializableComponent
Kerberos realm settings for the SPNEGO authentication flow.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Get the keytab.Get the password.Get the service principal name.void
Set the keytab to use.void
setPassword
(String newPassword) Set the password to use.void
setServicePrincipal
(String principal) Set the service principal name.Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
Field Details
-
servicePrincipal
The service's principal. -
keytab
The keytab to use (keytab and password are mutually exclusive). -
password
The password to use (keytab and password are mutually exclusive).
-
-
Constructor Details
-
KerberosRealmSettings
public KerberosRealmSettings()
-
-
Method Details
-
setServicePrincipal
Set the service principal name. Required.- Parameters:
principal
- service principal
-
getServicePrincipal
Get the service principal name.- Returns:
- service principal
-
setKeytab
Set the keytab to use. keytab and password are mutually exclusive.- Parameters:
newKeytab
- keytab to use
-
getKeytab
Get the keytab.- Returns:
- keytab
-
setPassword
Set the password to use. keytab and password are mutually exclusive.- Parameters:
newPassword
- password to use
-
getPassword
Get the password.- Returns:
- password
-
doInitialize
- Overrides:
doInitialize
in classAbstractInitializableComponent
- Throws:
ComponentInitializationException
-