public class BasicAuthenticationInterceptor extends AbstractInterceptor
Interceptor.Flowid, name, router| Constructor and Description |
|---|
BasicAuthenticationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLongDescription() |
String |
getShortDescription() |
UserDataProvider |
getUserDataProvider() |
List<StaticUserDataProvider.User> |
getUsers() |
Map<String,StaticUserDataProvider.User> |
getUsersByName() |
Outcome |
handleRequest(Exchange exc) |
void |
init()
Called after parsing is complete and this has been added to the object tree (whose root is Router).
|
void |
setUserDataProvider(StaticUserDataProvider userDataProvider) |
void |
setUsers(List<StaticUserDataProvider.User> users) |
getDisplayName, getFlow, getHelpId, getId, getRouter, getRule, handleAbort, handleResponse, init, setDisplayName, setFlow, setIdpublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic List<StaticUserDataProvider.User> getUsers()
public Map<String,StaticUserDataProvider.User> getUsersByName()
public void setUsers(List<StaticUserDataProvider.User> users) throws UnsupportedEncodingException, NoSuchAlgorithmException
UnsupportedEncodingExceptionNoSuchAlgorithmExceptionpublic UserDataProvider getUserDataProvider()
public void setUserDataProvider(StaticUserDataProvider userDataProvider)
public void init()
throws Exception
AbstractInterceptorinit in class AbstractInterceptorExceptionpublic String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorpublic String getLongDescription()
getLongDescription in interface InterceptorgetLongDescription in class AbstractInterceptorCopyright © 2021. All Rights Reserved.