Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BasicAuthentication

        public BasicAuthentication​(java.lang.String login,
                                   java.lang.String password)
    • Method Detail

      • 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