Class RESTBasicAuthHandler
- java.lang.Object
-
- org.wso2.carbon.integrator.core.handler.RESTBasicAuthHandler
-
- All Implemented Interfaces:
org.apache.synapse.rest.Handler
public class RESTBasicAuthHandler extends Object implements org.apache.synapse.rest.Handler
This class can be added as a handler to enforce Basic Auth
-
-
Constructor Summary
Constructors Constructor Description RESTBasicAuthHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(String s, Object o)
Map
getProperties()
boolean
handleRequest(org.apache.synapse.MessageContext messageContext)
boolean
handleResponse(org.apache.synapse.MessageContext messageContext)
-
-
-
Method Detail
-
handleRequest
public boolean handleRequest(org.apache.synapse.MessageContext messageContext)
- Specified by:
handleRequest
in interfaceorg.apache.synapse.rest.Handler
-
handleResponse
public boolean handleResponse(org.apache.synapse.MessageContext messageContext)
- Specified by:
handleResponse
in interfaceorg.apache.synapse.rest.Handler
-
addProperty
public void addProperty(String s, Object o)
- Specified by:
addProperty
in interfaceorg.apache.synapse.rest.Handler
-
getProperties
public Map getProperties()
- Specified by:
getProperties
in interfaceorg.apache.synapse.rest.Handler
-
-