Class ProcessAuthentication

java.lang.Object
com.pervasive.datarush.authentication.ProcessAuthentication

public class ProcessAuthentication extends Object
Utilities for acquiring process-level authentication credentials.
  • Constructor Details

    • ProcessAuthentication

      public ProcessAuthentication()
  • Method Details

    • getSubject

      public static Subject getSubject(ModuleConfiguration moduleConfig, ProcessAuthenticationSettings config) throws Exception
      Constructs a subject for process-level authentication. All registered providers are invoked and the resulting subjects combined.
      Parameters:
      config - authentication settings for the providers
      Returns:
      a subject representing the combination of all subjects created
      Throws:
      Exception - if errors occur in the authentication process