Class SpnegoSystemProperties
java.lang.Object
org.apereo.cas.configuration.model.support.spnego.SpnegoSystemProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-spnego")
public class SpnegoSystemProperties
extends Object
implements Serializable
This is
SpnegoSystemProperties
.- Since:
- 6.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe Kerberos conf.The Kerberos debug.The Kerberos kdc.The Kerberos realm.The Login conf.Absolute path to the jaas login configuration file.boolean
The Use subject creds only.setKerberosConf
(String kerberosConf) The Kerberos conf.setKerberosDebug
(String kerberosDebug) The Kerberos debug.setKerberosKdc
(String kerberosKdc) The Kerberos kdc.setKerberosRealm
(String kerberosRealm) The Kerberos realm.setLoginConf
(String loginConf) The Login conf.Absolute path to the jaas login configuration file.setUseSubjectCredsOnly
(boolean useSubjectCredsOnly) The Use subject creds only.
-
Constructor Details
-
SpnegoSystemProperties
public SpnegoSystemProperties()
-
-
Method Details
-
getLoginConf
The Login conf.Absolute path to the jaas login configuration file. This should define the spnego authentication details. Make sure you have at least specified the JCIFS Service Principal defined. -
getKerberosConf
The Kerberos conf. As with all Kerberos installations, a Kerberos Key Distribution Center (KDC) is required. It needs to contain the user name and password you will use to be authenticated to Kerberos. As with most Kerberos installations, a Kerberos configuration file krb5.conf is consulted to determine such things as the default realm and KDC. Typically, the default realm and the KDC for that realm are indicated in the Kerberos krb5.conf configuration file. The path to the configuration file must typically be defined as an absolute path. -
getKerberosKdc
The Kerberos kdc. -
getKerberosRealm
The Kerberos realm. -
getKerberosDebug
The Kerberos debug. -
isUseSubjectCredsOnly
public boolean isUseSubjectCredsOnly()The Use subject creds only. -
setLoginConf
The Login conf.Absolute path to the jaas login configuration file. This should define the spnego authentication details. Make sure you have at least specified the JCIFS Service Principal defined.- Returns:
this
.
-
setKerberosConf
The Kerberos conf. As with all Kerberos installations, a Kerberos Key Distribution Center (KDC) is required. It needs to contain the user name and password you will use to be authenticated to Kerberos. As with most Kerberos installations, a Kerberos configuration file krb5.conf is consulted to determine such things as the default realm and KDC. Typically, the default realm and the KDC for that realm are indicated in the Kerberos krb5.conf configuration file. The path to the configuration file must typically be defined as an absolute path.- Returns:
this
.
-
setKerberosKdc
The Kerberos kdc.- Returns:
this
.
-
setKerberosRealm
The Kerberos realm.- Returns:
this
.
-
setKerberosDebug
The Kerberos debug.- Returns:
this
.
-
setUseSubjectCredsOnly
The Use subject creds only.- Returns:
this
.
-