Interface RequestHeadersAuthenticator
public interface RequestHeadersAuthenticator
Allows authenticating a client user using the request headers set and sent from
the client side.
This allows an alternate or supplementary authentication to
Typical usage would be to send - using HTTP - an authentication token stored in one of the request headers to a remote cloud provider.
This allows an alternate or supplementary authentication to
UserAuthenticator
. Typical usage would be to send - using HTTP - an authentication token stored in one of the request headers to a remote cloud provider.
- Since:
- 6.3
- Author:
- Nicolas de Pomereu
-
Method Summary
-
Method Details
-
validate
Allows to check/validate the request headers as a mean of client authentication. If method returnsfalse
, user will not be granted access.- Parameters:
headers
- the request headers sent by the client side.- Returns:
true
if request headers are OK and validated. Iffalse
, the client side will not be authorized to send any command.- Throws:
IOException
- if an IOException occurs
-