java.lang.Object
com.pervasive.datarush.authentication.KerberosSubjectProvider
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionaccquireCredentials(ModuleConfiguration moduleConfig, ProcessAuthenticationSettings credentialSettings) Creates a subject based on the authentication settings provided.
-
Constructor Details
-
KerberosSubjectProvider
public KerberosSubjectProvider()
-
-
Method Details
-
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
-