Class AuthUtil
java.lang.Object
org.codelibs.fess.ds.salesforce.util.AuthUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateJWT(String username, String clientId, String privateKeyPem, String baseUrl, long refreshInterval) static PrivateKeygetPrivateKey(String privateKeyPem)
-
Method Details
-
getPrivateKey
public static PrivateKey getPrivateKey(String privateKeyPem) throws NoSuchAlgorithmException, InvalidKeySpecException -
createJWT
public static String createJWT(String username, String clientId, String privateKeyPem, String baseUrl, long refreshInterval) throws InvalidKeyException, InvalidKeySpecException, NoSuchAlgorithmException, SignatureException
-