Class AuthenticationHelper
- java.lang.Object
-
- com.day.cq.analytics.sitecatalyst.util.AuthenticationHelper
-
@Deprecated public class AuthenticationHelper extends java.lang.ObjectDeprecated.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationHelper()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.Stringbase64Encode(byte[] bytes)Deprecated.static java.lang.StringgenerateApplicationKey(byte[] nonceValue, java.lang.String key)Deprecated.static java.lang.StringgenerateSharedSecret(java.lang.String password)Deprecated.static java.lang.StringgetBase64Digest(byte[] nonce, byte[] created, byte[] password)Deprecated.static java.lang.StringgetBase64DigestKey(byte[] nonce, byte[] apiPass)Deprecated.
-
-
-
Method Detail
-
generateSharedSecret
@Deprecated public static java.lang.String generateSharedSecret(java.lang.String password)
Deprecated.Generates Web Service Shared Secret.- Parameters:
password- password- Returns:
- shared secret
-
generateApplicationKey
@Deprecated public static java.lang.String generateApplicationKey(byte[] nonceValue, java.lang.String key) throws java.lang.ExceptionDeprecated.Generates ApplicationKey for Sitecatalyst WebService.- Parameters:
nonceValue- nonceValuekey- key- Returns:
- ApplicationKey
- Throws:
java.lang.Exception-Exception
-
getBase64Digest
@Deprecated public static java.lang.String getBase64Digest(byte[] nonce, byte[] created, byte[] password)Deprecated.SHA-1(nonce + created + password)- Parameters:
nonce- noncecreated- createdpassword- password- Returns:
- Base64Digest
-
getBase64DigestKey
@Deprecated public static java.lang.String getBase64DigestKey(byte[] nonce, byte[] apiPass)Deprecated.SHA-1(nonce + API_PASS)- Parameters:
nonce- nonceapiPass- apiPass- Returns:
- base64DigestKey
-
base64Encode
@Deprecated public static java.lang.String base64Encode(byte[] bytes)
Deprecated.Encodes bytes to a BASE64 String.- Parameters:
bytes- bytes- Returns:
- base64 encoded String of the bytes
-
-