public class HttpBasicAuthenticationFilter extends AbstractAuthenticationFilter
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger
logger used by this class
|
muleContext, securityManager| Constructor and Description |
|---|
HttpBasicAuthenticationFilter() |
| Modifier and Type | Method and Description |
|---|---|
Event |
authenticate(Event event)
Authenticates the current message if authenticate is set to true.
|
protected Authentication |
createAuthentication(String username,
String password,
Event event) |
protected void |
doInitialise() |
String |
getRealm() |
boolean |
isRealmRequired() |
void |
setRealm(String realm) |
void |
setRealmRequired(boolean realmRequired) |
protected Event |
setUnauthenticated(Event event) |
doFilter, getCredentialsAccessor, isAuthenticate, setAuthenticate, setCredentialsAccessorgetSecurityManager, getSecurityProviders, initialise, setMuleContext, setSecurityManager, setSecurityProviders, updatePayloadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSecurityManager, getSecurityProviders, setSecurityManager, setSecurityProvidersprotected void doInitialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
doInitialise in class AbstractSecurityFilterorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic String getRealm()
public void setRealm(String realm)
public boolean isRealmRequired()
public void setRealmRequired(boolean realmRequired)
protected Authentication createAuthentication(String username, String password, Event event)
public Event authenticate(Event event) throws SecurityException, UnknownAuthenticationTypeException, CryptoFailureException, SecurityProviderNotFoundException, EncryptionStrategyNotFoundException, org.mule.runtime.api.lifecycle.InitialisationException
authenticate in interface AuthenticationFilterauthenticate in class AbstractAuthenticationFilterevent - the current message recievedSecurityException - if authentication failsUnknownAuthenticationTypeExceptionCryptoFailureExceptionSecurityProviderNotFoundExceptionEncryptionStrategyNotFoundExceptionorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.