/** * Remove mechanism specific principals and credentials from the subject and any other state the mechanism * might have used. * * <p> * This method is called in response to {@link HttpServletRequest#logout()} and gives the authentication mechanism * the option to remove any state associated with an earlier established authenticated identity. For example, an * authentication mechanism that stores state within a cookie can send remove that cookie here. * * @param request contains the request the client has made * @param response contains the response that will be send to the client * @param httpMessageContext context for interacting with the container */ default void cleanSubject(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext) { httpMessageContext.cleanClientSubject(); }
/** * Remove mechanism specific principals and credentials from the subject and any other state the mechanism * might have used. * * <p> * This method is called in response to {@link HttpServletRequest#logout()} and gives the authentication mechanism * the option to remove any state associated with an earlier established authenticated identity. For example, an * authentication mechanism that stores state within a cookie can send remove that cookie here. * * @param request contains the request the client has made * @param response contains the response that will be send to the client * @param httpMessageContext context for interacting with the container */ default void cleanSubject(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext) { httpMessageContext.cleanClientSubject(); }
/** * Remove mechanism specific principals and credentials from the subject and any other state the mechanism * might have used. * * <p> * This method is called in response to {@link HttpServletRequest#logout()} and gives the authentication mechanism * the option to remove any state associated with an earlier established authenticated identity. For example, an * authentication mechanism that stores state within a cookie can send remove that cookie here. * * @param request contains the request the client has made * @param response contains the response that will be send to the client * @param httpMessageContext context for interacting with the container */ default void cleanSubject(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext) { httpMessageContext.cleanClientSubject(); }
/** * Remove mechanism specific principals and credentials from the subject and any other state the mechanism * might have used. * * <p> * This method is called in response to {@link HttpServletRequest#logout()} and gives the authentication mechanism * the option to remove any state associated with an earlier established authenticated identity. For example, an * authentication mechanism that stores state within a cookie can send remove that cookie here. * * @param request contains the request the client has made * @param response contains the response that will be send to the client * @param httpMessageContext context for interacting with the container */ default void cleanSubject(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext) { httpMessageContext.cleanClientSubject(); }
@Override public void cleanClientSubject() { getWrapped().cleanClientSubject(); }
@Override public void cleanClientSubject() { getWrapped().cleanClientSubject(); }
@Override public void cleanClientSubject() { getWrapped().cleanClientSubject(); }
@Override public void cleanClientSubject() { getWrapped().cleanClientSubject(); }