Class AuthenticationHelper

java.lang.Object
com.day.cq.analytics.sitecatalyst.util.AuthenticationHelper

@Deprecated public class AuthenticationHelper extends Object
Deprecated.
  • Constructor Details

    • AuthenticationHelper

      public AuthenticationHelper()
      Deprecated.
  • Method Details

    • generateSharedSecret

      @Deprecated public static String generateSharedSecret(String password)
      Generates Web Service Shared Secret.
      Parameters:
      password - password
      Returns:
      shared secret
    • generateApplicationKey

      @Deprecated public static String generateApplicationKey(byte[] nonceValue, String key) throws Exception
      Deprecated.
      Generates ApplicationKey for Sitecatalyst WebService.
      Parameters:
      nonceValue - nonceValue
      key - key
      Returns:
      ApplicationKey
      Throws:
      Exception - Exception
    • getBase64Digest

      @Deprecated public static String getBase64Digest(byte[] nonce, byte[] created, byte[] password)
      Deprecated.
      SHA-1(nonce + created + password)
      Parameters:
      nonce - nonce
      created - created
      password - password
      Returns:
      Base64Digest
    • getBase64DigestKey

      @Deprecated public static String getBase64DigestKey(byte[] nonce, byte[] apiPass)
      Deprecated.
      SHA-1(nonce + API_PASS)
      Parameters:
      nonce - nonce
      apiPass - apiPass
      Returns:
      base64DigestKey
    • base64Encode

      @Deprecated public static String base64Encode(byte[] bytes)
      Deprecated.
      Encodes bytes to a BASE64 String.
      Parameters:
      bytes - bytes
      Returns:
      base64 encoded String of the bytes