com.jalios.rest.client.authentication
Class BasicAuthentication

java.lang.Object
  extended by com.jalios.rest.client.authentication.BasicAuthentication
All Implemented Interfaces:
Authentication

public class BasicAuthentication
extends Object
implements Authentication

Implementation of Basic Authentication for Rest Client authentication.

Since:
JCMS-6.0
Author:
dissert

Constructor Summary
BasicAuthentication(String login, String password)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAuthentication

public BasicAuthentication(String login,
                           String password)
Method Detail

addAuthentication

public void addAuthentication(org.restlet.data.Request request)
Specified by:
addAuthentication in interface Authentication

updateAuthenticationResult

public org.restlet.data.Response updateAuthenticationResult(ClientSession session,
                                                            org.restlet.data.Request request,
                                                            org.restlet.data.Response response)
Specified by:
updateAuthenticationResult in interface Authentication

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 interface Authentication
Returns:
true if the method is no longer available


Copyright © 2001-2007 Jalios SA. All Rights Reserved.