Skip to content

Commit

Permalink
making a default implementation
Browse files Browse the repository at this point in the history
Signed-off-by: Santhosh Gandhe <[email protected]>
  • Loading branch information
san81 committed Feb 5, 2025
1 parent 15e0b4a commit 14a5870
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public interface AtlassianAuthConfig {
/**
* Initializes the credentials for the Jira instance.
*/
void initCredentials();
default void initCredentials() {
}

/**
* Renews the credentials for the Jira instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ public AtlassianBasicAuthConfig(AtlassianSourceConfig confluenceSourceConfig) {
public String getUrl() {
return accountUrl;
}

@Override
public void initCredentials() {
//do nothing for basic authentication
}


@Override
public void renewCredentials() {
Expand Down

0 comments on commit 14a5870

Please sign in to comment.