- java.lang.Object
-
- com.pervasive.datarush.authentication.KerberosSubjectProvider
-
- All Implemented Interfaces:
ProcessSubjectProvider
public class KerberosSubjectProvider extends Object implements ProcessSubjectProvider
Authenticates as a specified Kerberos principal using a keytab file. The principal name and keytab are extracted from the authentication settings provided. If either is absent, no authentication with Kerberos is attempted.
-
-
Constructor Summary
Constructors Constructor Description KerberosSubjectProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubjectaccquireCredentials(ModuleConfiguration moduleConfig, ProcessAuthenticationSettings credentialSettings)Creates a subject based on the authentication settings provided.
-
-
-
Method Detail
-
accquireCredentials
public Subject accquireCredentials(ModuleConfiguration moduleConfig, ProcessAuthenticationSettings credentialSettings) throws LoginException
Description copied from interface:ProcessSubjectProviderCreates a subject based on the authentication settings provided. It is not strictly necessary to return aSubject; this can be used to authenticate for other purposes.- Specified by:
accquireCredentialsin interfaceProcessSubjectProvidercredentialSettings- authentication settings for acquiring credentials- Returns:
- the authenticated subject. A value of
nullis permitted, in which case it is ignored. - Throws:
LoginException
-
-