public class BasicAuthSecurityInterceptor
extends org.wso2.msf4j.security.basic.AbstractBasicAuthSecurityInterceptor
AbstractBasicAuthSecurityInterceptor 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 authenticateFunction) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
authenticate(String userName,
String password) |
interceptRequestpublic BasicAuthSecurityInterceptor(BasicAuthSecurityInterceptor.AuthenticateFunction authenticateFunction)
Copyright © 2018 WSO2. All rights reserved.