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
public class KerberosRealmSettings extends AbstractInitializableComponent
Kerberos realm settings for the SPNEGO authentication flow.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description KerberosRealmSettings()
-
Method Summary
Modifier and Type Method Description protected void
doInitialize()
String
getKeytab()
Get the keytab.String
getPassword()
Get the password.String
getServicePrincipal()
Get the service principal name.void
setKeytab(String newKeytab)
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
-