java.lang.Object
com.predic8.membrane.core.interceptor.oauth2client.rf.OAuthUtils

public class OAuthUtils extends Object
  • Constructor Details

    • OAuthUtils

      public OAuthUtils()
  • Method Details

    • simplifyMultipleOAuth2Answers

      public static void simplifyMultipleOAuth2Answers(@Nullable Session session)
      Tries to avoid very long cookies by dropping all OAUTH2_ANSWERS except the first one. (The SessionManager.mergeCookies produces a value with "{...answer1...},{...answer2...}". We locate the ',' in between the JSON objects and split the string.)
    • isOAuth2RedirectRequest

      public static boolean isOAuth2RedirectRequest(Exchange exc)
    • oa2redictKeyNameInSession

      public static String oa2redictKeyNameInSession(String oa2redirect)