Class SecurityConstants
java.lang.Object
com.bluebell.greenhouse.radicle.security.constants.SecurityConstants
Constants used with regard to system security.
- Version:
- 1.0.4
- Author:
- Stephen Prizio
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe header for http bearer tokens.static final StringThe header for http authorization requests.static final StringExpected header for incoming requests to contain the api token.static final StringThe prefix for greenhouse api tokens.static final StringA unique key that can be used from the front-end to signify an admin action.static final org.javatuples.Pair<Long, ChronoUnit> The default TTL for api tokens when none is provided.static final StringThe key onHttpServletRequests containing the currentUsercontext. -
Method Summary
-
Field Details
-
API_KEY_TOKEN
Expected header for incoming requests to contain the api token.- See Also:
-
USER_REQUEST_KEY
-
API_TOKEN_PREFIX
-
API_AUTHORIZATION_HEADER_KEY
The header for http authorization requests.- See Also:
-
API_AUTHORIZATION_BEARER_HEADER_KEY
The header for http bearer tokens.- See Also:
-
DEFAULT_API_TOKEN_TTL
The default TTL for api tokens when none is provided. -
BB_ADMIN_KEY
A unique key that can be used from the front-end to signify an admin action.- See Also:
-