public interface JiraSetupService
Modifier and Type | Method and Description |
---|---|
void |
createLink(URI remoteRpcUrl,
URI localRpcUrl,
String username,
String password,
boolean setupUserManagement)
Create an authenticated, reciprocated Application Link to a Jira server, and optionally set up a Jira user
directory for it.
|
void createLink(URI remoteRpcUrl, URI localRpcUrl, String username, String password, boolean setupUserManagement) throws JiraSetupException
remoteRpcUrl
- RPC URL of the remote Jira applicationlocalRpcUrl
- RPC URL of the local Jira application that is resolvable by the remote Jira applicationusername
- Jira administrator usernamepassword
- password corresponding to the supplied usernamesetupUserManagement
- if true, create a local user directory backed by the remote Jira serverJiraSetupException
- if something goes wrong with link creation, authentication or Crowd delegation.
Clients should display the exception message to the user and log the exception.Copyright © 2022 Atlassian. All rights reserved.