Quantcast
Viewing all articles
Browse latest Browse all 3131

Local OAuth2.0 on Tomcat - neo-java-web-sdk-2.16.5.1

Hi,

 

Pinging Martin Raepple or anyone else with an understanding of HCP OAuth

 

I'm trying to use local OAuth on the latest Tomcat local install and getting error:

 

[http-nio-8249-exec-10] ERROR c.s.c.s.o.a.l.client.LocalClientsStorageAccessor - Problem while getting or creating json file:.\config_master\com.sap.cloud.security.oauth.as.local\clients.json

java.io.IOException: The system cannot find the path specified

  at java.io.WinNTFileSystem.createFileExclusively(Native Method) ~[na:1.7.0_75]

  at java.io.File.createNewFile(File.java:1006) ~[na:1.7.0_75]

  at com.sap.core.jpaas.security.utils.FileUtils.getOrCreateJsonFile(FileUtils.java:128) ~[com.sap.core.jpaas.security.utils.jar:na]

  at com.sap.cloud.security.oauth2.as.local.client.LocalClientsStorageAccessor.<init>(LocalClientsStorageAccessor.java:34) [LocalClientsStorageAccessor.class:na]

 

...

 

whenever I tried to set/retrieve clients.

 

I note that this path : \config_master\com.sap.cloud.security.oauth.as.local\ is not present in the server config by default.

 

I even tried creating the file and path. No joy.

 

Is it that OAuth doesn't work on Tomcat? Or that just not on local Tomcat? - Noting that it does work on local Java Web.

 

Thanks for some help.

 

Chris


Viewing all articles
Browse latest Browse all 3131

Trending Articles