Version 2021

loadFromPath

Enables the Identity server-side API configuration (UsherConfiguration (server-side)) to be loaded from a configuration file located in the Java classpath.

Method signature

public UsherConfiguration loadFromPath(String path);

Configuration file example

Copy
{
  "usherServerBaseURL": "https://api.usher.com",
      "organizationID": 1169606,      "applicationID": 10815,
      "applicationSSLClientCertificate": "/tomcat8/security/usherkeys/ssl.client.app.cert.test.p12",
      "applicationSSLPasswordPath": "/tomcat8/security/usherkeys/file.pwd",
      "trustStorePath": "/tomcat8/security/cacerts"
}