Module datarush.commons
Class ProcessAuthenticationSettings
java.lang.Object
com.pervasive.datarush.authentication.ProcessAuthenticationSettings
- All Implemented Interfaces:
Serializable
A collection of settings made available to
ProcessSubjectProvider
implementations.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new settings object with defaults. -
Method Summary
Modifier and TypeMethodDescriptionGets the configured keytab file for authenticating the Kerberos principal.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.
-
Constructor Details
-
ProcessAuthenticationSettings
public ProcessAuthenticationSettings()Creates a new settings object with defaults. By default, no Kerberos settings are provided.
-
-
Method Details
-
getKerberosPrincipal
Gets the configured Kerberos principal name.- Returns:
- the principal name
-
setKerberosPrincipal
Sets the name of the Kerberos principal to use for the process.- Parameters:
principal- the principal name
-
getKerberosKeytab
Gets the configured keytab file for authenticating the Kerberos principal.- Returns:
- the path to the keytab file
-
setKerberosKeytab
Sets the keytab file to use to authenticate as the configured Kerberos principal.- Parameters:
path- the path to the keytab file
-