public class TrustedApplicationsUtility extends Object
Modifier and Type | Method and Description |
---|---|
static TrustedApplicationsUtility |
getInstance()
Get instance of
TrustedApplicationsUtility to authorize Clients of JCS |
boolean |
isTrustedApplicationsConfigured()
Return whether trusted applications are configured or not
|
boolean |
validateSignature(Object payload,
String signature)
Returns true if the payload and signature is coming from a trusted application, false otherwise
|
public static TrustedApplicationsUtility getInstance()
TrustedApplicationsUtility
to authorize Clients of JCSTrustedApplicationsUtility
public boolean validateSignature(Object payload, String signature)
payload
- payload received from clientsignature
- Signature received from clientpublic boolean isTrustedApplicationsConfigured()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.