Skip to content

Commit

Permalink
remove wildcard imports, add helper method
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Mierzwa <[email protected]>
  • Loading branch information
Maciej Mierzwa authored and MaciejMierzwa committed Apr 12, 2023
1 parent 7766b9f commit 880996e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,14 @@ public List<ClientBlockRegistry<InetAddress>> getIpClientBlockRegistries() {
public Multimap<String, ClientBlockRegistry<String>> getAuthBackendClientBlockRegistries() {
return Multimaps.unmodifiableMultimap(authBackendClientBlockRegistries);
}


public String getExtensionsSigningKey() {
return config.dynamic.extensions.getSigningKey();
}

public String getExtensionsEncryptionKey() {
return config.dynamic.extensions.getEncryptionKey();
}

private void buildAAA() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
import java.util.regex.Pattern;
import java.util.stream.Collectors;

import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;

import org.opensearch.security.DefaultObjectMapper;
Expand Down

0 comments on commit 880996e

Please sign in to comment.