Commit e5f132bb authored by Christos Tranoris's avatar Christos Tranoris
Browse files

fix for prefSecurityMethods

parent 4c2f9de0
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ public class CapifService {
              "securityInfo": [
                {
                  "prefSecurityMethods": [
                    "OAUTH"
                    "%s"
                  ],
                  "authenticationInfo": "string",
                  "authorizationInfo": "string",
@@ -276,7 +276,7 @@ public class CapifService {
              },
              "supportedFeatures": "fff"
            }
            """.formatted(defaultProfile.getAefId() , serviceApi.getApiId() ) ;
            """.formatted(defaultProfile.getSecurityMethods().get(0), defaultProfile.getAefId() , serviceApi.getApiId() ) ;


        ObjectMapper mapper = new ObjectMapper();