Class SecurityConstants

java.lang.Object
com.bluebell.greenhouse.radicle.security.constants.SecurityConstants

public final class SecurityConstants extends Object
Constants used with regard to system security.
Version:
1.0.4
Author:
Stephen Prizio
  • Field Details

    • API_KEY_TOKEN

      public static final String API_KEY_TOKEN
      Expected header for incoming requests to contain the api token.
      See Also:
    • USER_REQUEST_KEY

      public static final String USER_REQUEST_KEY
      The key on HttpServletRequests containing the current User context.
      See Also:
    • API_TOKEN_PREFIX

      public static final String API_TOKEN_PREFIX
      The prefix for greenhouse api tokens.
      See Also:
    • API_AUTHORIZATION_HEADER_KEY

      public static final String API_AUTHORIZATION_HEADER_KEY
      The header for http authorization requests.
      See Also:
    • API_AUTHORIZATION_BEARER_HEADER_KEY

      public static final String API_AUTHORIZATION_BEARER_HEADER_KEY
      The header for http bearer tokens.
      See Also:
    • DEFAULT_API_TOKEN_TTL

      public static final org.javatuples.Pair<Long, ChronoUnit> DEFAULT_API_TOKEN_TTL
      The default TTL for api tokens when none is provided.
    • BB_ADMIN_KEY

      public static final String BB_ADMIN_KEY
      A unique key that can be used from the front-end to signify an admin action.
      See Also: