Skip to content

Commit

Permalink
fixup! Visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jfreden committed Nov 21, 2024
1 parent fcb3e10 commit dda19b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugin/security/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
exports org.elasticsearch.xpack.security.operator to org.elasticsearch.internal.operator, org.elasticsearch.internal.security;
exports org.elasticsearch.xpack.security.authz to org.elasticsearch.internal.security;
exports org.elasticsearch.xpack.security.authc to org.elasticsearch.xcontent;
exports org.elasticsearch.xpack.security.authc.saml to org.elasticsearch.server;
exports org.elasticsearch.xpack.security.authc.saml to org.elasticsearch.internal.security;
exports org.elasticsearch.xpack.security.slowlog to org.elasticsearch.server;
exports org.elasticsearch.xpack.security.authc.support to org.elasticsearch.internal.security;
exports org.elasticsearch.xpack.security.rest.action.apikey to org.elasticsearch.internal.security;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ private static void logDiff(final List<Credential> newCredentials, final AtomicR
}

// Package-private for testing
static List<X509Credential> buildEncryptionCredential(RealmConfig config) throws IOException, GeneralSecurityException {
public static List<X509Credential> buildEncryptionCredential(RealmConfig config) throws IOException, GeneralSecurityException {
return buildCredential(
config,
RealmSettings.realmSettingPrefix(config.identifier()) + ENCRYPTION_SETTING_KEY,
Expand All @@ -395,7 +395,7 @@ static List<X509Credential> buildEncryptionCredential(RealmConfig config) throws
);
}

static SigningConfiguration buildSigningConfiguration(RealmConfig config) throws IOException, GeneralSecurityException {
public static SigningConfiguration buildSigningConfiguration(RealmConfig config) throws IOException, GeneralSecurityException {
final List<X509Credential> credentials = buildCredential(
config,
RealmSettings.realmSettingPrefix(config.identifier()) + SIGNING_SETTING_KEY,
Expand Down

0 comments on commit dda19b7

Please sign in to comment.