Package overit.geocall.base.auth
Class ApiKeyAuthenticator
java.lang.Object
overit.geocall.rs.auth.TokenAuthenticator
overit.geocall.base.auth.ApiKeyAuthenticator
- All Implemented Interfaces:
overit.geocall.rs.auth.Authenticator
public class ApiKeyAuthenticator
extends overit.geocall.rs.auth.TokenAuthenticator
-
Field Summary
FieldsFields inherited from class overit.geocall.rs.auth.TokenAuthenticator
AUTHORIZATION_HEADER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final overit.geocall.rs.auth.Authenticationparse(String apiKey, HttpServletRequest request) protected StringretrieveToken(HttpServletRequest request) Methods inherited from class overit.geocall.rs.auth.TokenAuthenticator
authenticateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.rs.auth.Authenticator
bind
-
Field Details
-
API_KEY_HEADER
- See Also:
-
-
Constructor Details
-
ApiKeyAuthenticator
public ApiKeyAuthenticator()
-
-
Method Details
-
getWWWAuthenticateHeader
- Specified by:
getWWWAuthenticateHeaderin interfaceoverit.geocall.rs.auth.Authenticator- Overrides:
getWWWAuthenticateHeaderin classoverit.geocall.rs.auth.TokenAuthenticator
-
getFeatures
-
getDefinition
-
retrieveToken
- Overrides:
retrieveTokenin classoverit.geocall.rs.auth.TokenAuthenticator
-
parse
protected final overit.geocall.rs.auth.Authentication parse(String apiKey, HttpServletRequest request) - Specified by:
parsein classoverit.geocall.rs.auth.TokenAuthenticator
-