Module datarush.commons
Class ProcessAuthenticationSettings
- java.lang.Object
-
- com.pervasive.datarush.authentication.ProcessAuthenticationSettings
-
- All Implemented Interfaces:
Serializable
public class ProcessAuthenticationSettings extends Object implements Serializable
A collection of settings made available toProcessSubjectProviderimplementations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessAuthenticationSettings()Creates a new settings object with defaults.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKerberosKeytab()Gets the configured keytab file for authenticating the Kerberos principal.StringgetKerberosPrincipal()Gets the configured Kerberos principal name.voidsetKerberosKeytab(String path)Sets the keytab file to use to authenticate as the configured Kerberos principal.voidsetKerberosPrincipal(String principal)Sets the name of the Kerberos principal to use for the process.
-
-
-
Method Detail
-
getKerberosPrincipal
public String getKerberosPrincipal()
Gets the configured Kerberos principal name.- Returns:
- the principal name
-
setKerberosPrincipal
public void setKerberosPrincipal(String principal)
Sets the name of the Kerberos principal to use for the process.- Parameters:
principal- the principal name
-
getKerberosKeytab
public String getKerberosKeytab()
Gets the configured keytab file for authenticating the Kerberos principal.- Returns:
- the path to the keytab file
-
setKerberosKeytab
public void setKerberosKeytab(String path)
Sets the keytab file to use to authenticate as the configured Kerberos principal.- Parameters:
path- the path to the keytab file
-
-