org.wso2.carbon.ml.rest.api.handler

## Class MLBasicAuthenticationHandler

- java.lang.Object
- - org.wso2.carbon.ml.rest.api.handler.MLBasicAuthenticationHandler

- All Implemented Interfaces:
    org.apache.cxf.jaxrs.ext.RequestHandler

      public class MLBasicAuthenticationHandler
      extends Object
      implements org.apache.cxf.jaxrs.ext.RequestHandler

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MLBasicAuthenticationHandler()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | `handleRequest(org.apache.cxf.message.Message message, org.apache.cxf.jaxrs.model.ClassResourceInfo resourceInfo)` Authenticate requests received at the ml endpoint, using HTTP basic-auth headers as the authentication mechanism.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MLBasicAuthenticationHandler

          public MLBasicAuthenticationHandler()

  - ### Method Detail

    - #### handleRequest

          public javax.ws.rs.core.Response handleRequest(org.apache.cxf.message.Message message,
                                                         org.apache.cxf.jaxrs.model.ClassResourceInfo resourceInfo)

      Authenticate requests received at the ml endpoint, using HTTP basic-auth headers as the authentication mechanism. This method returns a null value which indicates that the request to be processed.
      Specified by:
        `handleRequest` in interface `org.apache.cxf.jaxrs.ext.RequestHandler`

Copyright © 2018 WSO2, Inc.. All Rights Reserved.