File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
driver-core/src/main/com/mongodb/internal/connection Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 72
72
/**
73
73
* <p>This class is not part of the public API and may be removed or changed at any time</p>
74
74
*/
75
- public class OidcAuthenticator extends SaslAuthenticator {
75
+ public final class OidcAuthenticator extends SaslAuthenticator {
76
76
77
77
private static final List <String > SUPPORTED_PROVIDERS = Arrays .asList ("aws" );
78
78
@@ -439,17 +439,14 @@ private OidcSaslClient(final MongoCredentialWithCache mongoCredentialWithCache)
439
439
440
440
@ Override
441
441
public byte [] evaluateChallenge (final byte [] challenge ) {
442
- return evaluateChallengeInternal (challenge );
442
+ return assertNotNull ( evaluateChallengeFunction ). apply (challenge );
443
443
}
444
444
445
445
@ Override
446
446
public boolean isComplete () {
447
447
return clientIsComplete ();
448
448
}
449
449
450
- public byte [] evaluateChallengeInternal (final byte [] challenge ) {
451
- return assertNotNull (evaluateChallengeFunction ).apply (challenge );
452
- }
453
450
}
454
451
455
452
private static String readAwsTokenFromFile () {
You can’t perform that action at this time.
0 commit comments