Interface LoginContextProvider

    • Method Detail

      • getLoginContext

        @NotNull
        @NotNull LoginContext getLoginContext​(Credentials credentials,
                                              java.lang.String workspaceName)
                                       throws javax.security.auth.login.LoginException
        Returns a new login context instance for handling authentication.
        Parameters:
        credentials - The Credentials such as passed to the login method of the repository.
        workspaceName - The name of the workspace that is being accessed by the login called.
        Returns:
        a new login context
        Throws:
        javax.security.auth.login.LoginException - If an error occurs while creating a new context.