Package com.labs64.netlicensing.provider
Class AbstractRestProvider
java.lang.Object
com.labs64.netlicensing.provider.AbstractRestProvider
- All Implemented Interfaces:
RestProvider
- Direct Known Subclasses:
RestProviderImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.labs64.netlicensing.provider.RestProvider
RestProvider.Configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(Authentication authentication) authenticate(String token) authenticate(String username, String password) voidconfigure(RestProvider.Configuration configuration) protected Authenticationprotected RestProvider.ConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.labs64.netlicensing.provider.RestProvider
call
-
Constructor Details
-
AbstractRestProvider
public AbstractRestProvider()
-
-
Method Details
-
authenticate
- Specified by:
authenticatein interfaceRestProvider- Parameters:
authentication-Authenticationobject- Returns:
- authenticated RESTful provider
-
authenticate
- Specified by:
authenticatein interfaceRestProvider- Parameters:
username- username used for authenticationpassword- password used for authentication- Returns:
- authenticated RESTful provider
-
authenticate
- Specified by:
authenticatein interfaceRestProvider- Parameters:
token- token used for authentication- Returns:
- authenticated RESTful provider
-
getAuthentication
-
configure
- Specified by:
configurein interfaceRestProvider- Parameters:
configuration-RestProvider.Configurationconfiguration to use for the provider
-
getConfiguration
-