Skip to content

Commit ce7074c

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 90ef203 commit ce7074c

File tree

1 file changed

+4
-2
lines changed
  • x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc

1 file changed

+4
-2
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Authentication.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,8 +1386,10 @@ public static Authentication newCloudAccessTokenAuthentication(
13861386
) {
13871387
assert authResult.isAuthenticated() : "cloud access token authn result must be successful";
13881388
final User user = authResult.getValue();
1389-
return new Authentication(new Subject(user, realmRef, TransportVersion.current(), authResult.getMetadata()),
1390-
AuthenticationType.TOKEN);
1389+
return new Authentication(
1390+
new Subject(user, realmRef, TransportVersion.current(), authResult.getMetadata()),
1391+
AuthenticationType.TOKEN
1392+
);
13911393
}
13921394

13931395
public static Authentication newCloudApiKeyAuthentication(AuthenticationResult<User> authResult, String nodeName) {

0 commit comments

Comments
 (0)