Class DefaultRequestHeadersAuthenticator
java.lang.Object
org.kawanfw.sql.api.server.auth.headers.DefaultRequestHeadersAuthenticator
- All Implemented Interfaces:
RequestHeadersAuthenticator
public class DefaultRequestHeadersAuthenticator extends Object implements RequestHeadersAuthenticator
A concrete and unsafe
This class will be automatically loaded if no
RequestHeadersAuthenticator
that always grant
access to remote client users. This class will be automatically loaded if no
RequestHeadersAuthenticator
has been declared in the
aceql-server.properties
file.- Since:
- 6.3
- Author:
- Nicolas de Pomereu
-
Constructor Summary
Constructors Constructor Description DefaultRequestHeadersAuthenticator()
-
Method Summary
-
Constructor Details
-
DefaultRequestHeadersAuthenticator
public DefaultRequestHeadersAuthenticator()
-
-
Method Details
-
validate
Description copied from interface:RequestHeadersAuthenticator
Allows to check/validate the request headers as a mean of client authentication. If method returnsfalse
, user will not be granted access.- Specified by:
validate
in interfaceRequestHeadersAuthenticator
- Parameters:
headers
- the request headers sent by the client side.- Returns:
true
. (Client is always granted access).- Throws:
IOException
- if an IOException occurs
-