Class BasicAuthentication
- java.lang.Object
-
- com.jalios.rest.client.authentication.BasicAuthentication
-
- All Implemented Interfaces:
Authentication
public class BasicAuthentication extends java.lang.Object implements Authentication
Implementation of Basic Authentication for Rest Client authentication.- Since:
- JCMS-6.0
- Author:
- dissert
-
-
Constructor Summary
Constructors Constructor Description BasicAuthentication(java.lang.String login, java.lang.String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAuthentication(org.restlet.data.Request request)
boolean
isDeprecated()
A authentication may be available for a few time.org.restlet.data.Response
updateAuthenticationResult(ClientSession session, org.restlet.data.Request request, org.restlet.data.Response response)
-
-
-
Method Detail
-
addAuthentication
public void addAuthentication(org.restlet.data.Request request)
- Specified by:
addAuthentication
in interfaceAuthentication
-
updateAuthenticationResult
public org.restlet.data.Response updateAuthenticationResult(ClientSession session, org.restlet.data.Request request, org.restlet.data.Response response)
- Specified by:
updateAuthenticationResult
in interfaceAuthentication
-
isDeprecated
public boolean isDeprecated()
Description copied from interface:Authentication
A authentication may be available for a few time. If it is no longer, it is Deprecated- Specified by:
isDeprecated
in interfaceAuthentication
- Returns:
- true if the method is no longer available
-
-