Class BasicAuthenticationProvider
- java.lang.Object
-
- com.inteliqua.rest.authentication.BasicAuthenticationProvider
-
- All Implemented Interfaces:
EliquaAuthenticationProvider
@Deprecated public class BasicAuthenticationProvider extends Object implements EliquaAuthenticationProvider
Deprecated.Basic Authentication provider.
-
-
Constructor Summary
Constructors Constructor Description BasicAuthenticationProvider(String username, String password)Deprecated.Basic ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringauthenticate()Deprecated.Performs the authentication process and returns the authentication token.AuthenticationTypegetAuthenticationType()Deprecated.Retrieves the type of authentication used by this provider.StringgetHeaderKey()Deprecated.Retrieves the header key used for authentication.
-
-
-
Method Detail
-
getAuthenticationType
public AuthenticationType getAuthenticationType()
Deprecated.Description copied from interface:EliquaAuthenticationProviderRetrieves the type of authentication used by this provider.- Specified by:
getAuthenticationTypein interfaceEliquaAuthenticationProvider- Returns:
- the
AuthenticationTyperepresenting the authentication method.
-
getHeaderKey
public String getHeaderKey()
Deprecated.Description copied from interface:EliquaAuthenticationProviderRetrieves the header key used for authentication.- Specified by:
getHeaderKeyin interfaceEliquaAuthenticationProvider- Returns:
- a
Stringrepresenting the header key.
-
authenticate
public String authenticate()
Deprecated.Description copied from interface:EliquaAuthenticationProviderPerforms the authentication process and returns the authentication token.- Specified by:
authenticatein interfaceEliquaAuthenticationProvider- Returns:
- a
Stringrepresenting the authentication token.
-
-