Class KerberosRealmSettings
java.lang.Object
net.shibboleth.shared.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 voidGet the keytab.Get the password.Get the service principal name.voidSet the keytab to use.voidsetPassword(String newPassword) Set the password to use.voidsetServicePrincipal(String principal) Set the service principal name.Methods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, 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:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-