Class AuthenticationHelper
java.lang.Object
com.day.cq.analytics.sitecatalyst.util.AuthenticationHelper
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
base64Encode
(byte[] bytes) Deprecated.static String
generateApplicationKey
(byte[] nonceValue, String key) Deprecated.static String
generateSharedSecret
(String password) Deprecated.static String
getBase64Digest
(byte[] nonce, byte[] created, byte[] password) Deprecated.static String
getBase64DigestKey
(byte[] nonce, byte[] apiPass) Deprecated.
-
Constructor Details
-
AuthenticationHelper
public AuthenticationHelper()Deprecated.
-
-
Method Details
-
generateApplicationKey
@Deprecated public static String generateApplicationKey(byte[] nonceValue, String key) throws Exception Deprecated.Generates ApplicationKey for Sitecatalyst WebService. -
getBase64Digest
Deprecated.SHA-1(nonce + created + password)- Parameters:
nonce
- noncecreated
- createdpassword
- password- Returns:
- Base64Digest
-
getBase64DigestKey
Deprecated.SHA-1(nonce + API_PASS)- Parameters:
nonce
- nonceapiPass
- apiPass- Returns:
- base64DigestKey
-
base64Encode
Deprecated.Encodes bytes to a BASE64 String.- Parameters:
bytes
- bytes- Returns:
- base64 encoded String of the bytes
SitecatalystWebservice.getLoginKey(String, String, String)
instead