AuthenticationStrategyBasicAuth

Implements the HTTP Basic Auth protocol; does not bind the InteractionContext onto the HttpSession .

API

AuthenticationStrategyBasicAuth.java
class AuthenticationStrategyBasicAuth {
  public static final String HEADER_AUTHORIZATION;
  public static final String BASIC_AUTH_PREFIX;
  InteractionContext lookupValid(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
  void bind(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, InteractionContext auth)     (1)
}
1 bind(HttpServletRequest, HttpServletResponse, InteractionContext)

This implementation is stateless and so does not support binding the InteractionContext (aka authentication) into a store (eg a session); instead each request is authenticated afresh.

Members

bind(HttpServletRequest, HttpServletResponse, InteractionContext)

This implementation is stateless and so does not support binding the InteractionContext (aka authentication) into a store (eg a session); instead each request is authenticated afresh.