Class ProcessAuthentication


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

      • ProcessAuthentication

        public ProcessAuthentication()
    • Method Detail

      • 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