java.lang.Object
com.broadleafcommerce.resource.security.utils.compatibility.ConstantUtils

@Deprecated(forRemoval=true, since="2.0.0-GA") public final class ConstantUtils extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Temporary compatibility measure. Use equality check against org.springframework.security.oauth2.core.ClientAuthenticationMethod.CLIENT_SECRET_BASIC and org.springframework.security.oauth2.core.ClientAuthenticationMethod.CLIENT_SECRET_POST
Match client secret constants.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Deprecated, for removal: This API element is subject to removal in a future version.
    static String
    Deprecated, for removal: This API element is subject to removal in a future version.
    static boolean
    isClientSecretBasic(String clientAuthenticationMethod)
    Deprecated, for removal: This API element is subject to removal in a future version.
    static boolean
    isClientSecretPost(String clientAuthenticationMethod)
    Deprecated, for removal: This API element is subject to removal in a future version.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BASIC

      public static final String BASIC
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • POST

      public static final String POST
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Method Details

    • isClientSecretBasic

      @Deprecated(forRemoval=true, since="2.0.0-GA") public static boolean isClientSecretBasic(@Nullable String clientAuthenticationMethod)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isClientSecretPost

      @Deprecated(forRemoval=true, since="2.0.0-GA") public static boolean isClientSecretPost(@Nullable String clientAuthenticationMethod)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getClientSecretBasic

      @Deprecated(forRemoval=true, since="2.0.0-GA") public static String getClientSecretBasic()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getClientSecretPost

      @Deprecated(forRemoval=true, since="2.0.0-GA") public static String getClientSecretPost()
      Deprecated, for removal: This API element is subject to removal in a future version.