public class BasicAuthSecurityInterceptor extends Object implements org.wso2.msf4j.interceptor.RequestInterceptor
RequestInterceptor to authenticate requests with basic authentication.| Modifier and Type | Class and Description |
|---|---|
static interface |
BasicAuthSecurityInterceptor.AuthenticateFunction<E extends Exception>
Function to authenticate user on given username and credentials.
|
| Constructor and Description |
|---|
BasicAuthSecurityInterceptor(BasicAuthSecurityInterceptor.AuthenticateFunction<io.ballerina.messaging.broker.auth.AuthException> authenticateFunction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
interceptRequest(org.wso2.msf4j.Request request,
org.wso2.msf4j.Response response) |
public BasicAuthSecurityInterceptor(BasicAuthSecurityInterceptor.AuthenticateFunction<io.ballerina.messaging.broker.auth.AuthException> authenticateFunction)
Copyright © 2018 WSO2. All rights reserved.