Skip to content

Commit 96007df

Browse files
author
rathnapandi
committed
Enhance template creation to include api methods and inbound per method override
1 parent 53f6737 commit 96007df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/spectoconfig/src/main/java/com/axway/apim/config/GenerateTemplate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,10 @@ public SecurityProfile createPassThroughSecurityProfile() {
345345

346346
public SecurityProfile createOauthSecurityProfile(String operationId, List<String> scopes) {
347347
SecurityProfile profile = new SecurityProfile();
348-
profile.setName("Oauth2");
348+
profile.setName("Oauth2 " + operationId);
349349
profile.setIsDefault(false);
350350
SecurityDevice securityDevice = new SecurityDevice();
351-
securityDevice.setName("Oauth2 " + operationId);
351+
securityDevice.setName("Oauth2");
352352
securityDevice.setType(DeviceType.oauth);
353353
securityDevice.setOrder(0);
354354
Map<String, String> properties = new HashMap<>();

0 commit comments

Comments
 (0)