- All Implemented Interfaces:
- com.sun.jersey.api.client.ClientHandler
public class AuthTokenFilter
extends com.sun.jersey.api.client.filter.ClientFilter
Jersey filter for accessing and sending Storage OS Auth Token. This also implements redirection manually 302.
If login is required, you are redirected to the login page. Basic Auth is taken there and a token is provided back.
This is sent back as a 302 to redirect you to your original page. The issue is that the 302 contains the response
header with the token. Standard redirect processing will lose this token when you redirect to the real page.