Class PowerAuthRequestCanonizationUtils

java.lang.Object
io.getlime.security.powerauth.http.PowerAuthRequestCanonizationUtils

public class PowerAuthRequestCanonizationUtils extends Object
Canonization utilities for PowerAuth requests.
  • Constructor Details

    • PowerAuthRequestCanonizationUtils

      public PowerAuthRequestCanonizationUtils()
  • Method Details

    • canonizeGetParameters

      public static String canonizeGetParameters(String queryString)
      Take the GET request query string (for example, "param1=key1&param2=key2") and convert it to the canonized form by sorting the key value pairs primarily by keys and by values in case the keys are equal.
      Parameters:
      queryString - The original get query string, obtained for example by 'request.getQueryString();'.
      Returns:
      Canonized query string.