Interface ProcessSubjectProvider

  • All Known Implementing Classes:
    KerberosSubjectProvider

    public interface ProcessSubjectProvider
    Provides a mechanism for acquiring process-level authentication credentials. The subject produced can be then be used as needed in contexts requiring authenticated access.
    • Method Detail

      • accquireCredentials

        Subject accquireCredentials​(ModuleConfiguration moduleConfig,
                                    ProcessAuthenticationSettings config)
                             throws Exception
        Creates a subject based on the authentication settings provided. It is not strictly necessary to return a Subject; this can be used to authenticate for other purposes.
        Parameters:
        config - authentication settings for acquiring credentials
        Returns:
        the authenticated subject. A value of null is permitted, in which case it is ignored.
        Throws:
        Exception