Skip to content

Commit bcea3e2

Browse files
committed
renamed method
1 parent 4bfae84 commit bcea3e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cds-feature-advanced-event-mesh/src/main/java/com/sap/cds/feature/messaging/aem/client/binding/AemAuthenticationServiceView.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public boolean isTokenEndpointPresent() {
4747
* otherwise an empty {@link Optional}.
4848
*/
4949
public Optional<String> getTokenEndpoint() {
50-
return Optional.ofNullable((String) this.getAuthorizationService().get(TOKENENDPOINT_KEY));
50+
return Optional.ofNullable((String) this.getAuthenticationService().get(TOKENENDPOINT_KEY));
5151
}
5252

5353
/**
@@ -57,7 +57,7 @@ public Optional<String> getTokenEndpoint() {
5757
* empty {@link Optional}
5858
*/
5959
public Optional<String> getClientId() {
60-
return Optional.ofNullable((String) this.getAuthorizationService().get(CLIENTID_KEY));
60+
return Optional.ofNullable((String) this.getAuthenticationService().get(CLIENTID_KEY));
6161
}
6262

6363
/**
@@ -67,6 +67,6 @@ public Optional<String> getClientId() {
6767
* otherwise an empty {@link Optional}
6868
*/
6969
public Optional<String> getClientSecret() {
70-
return Optional.ofNullable((String) this.getAuthorizationService().get(CLIENTSECRET_KEY));
70+
return Optional.ofNullable((String) this.getAuthenticationService().get(CLIENTSECRET_KEY));
7171
}
7272
}

0 commit comments

Comments
 (0)