public class HttpBasicAuthenticationFilter
extends org.mule.security.AbstractEndpointSecurityFilter
HttpBasicAuthenticationFilter TODO| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger
logger used by this class
|
| Constructor and Description |
|---|
HttpBasicAuthenticationFilter() |
HttpBasicAuthenticationFilter(String realm) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticateInbound(org.mule.api.MuleEvent event)
Authenticates the current message if authenticate is set to true.
|
void |
authenticateOutbound(org.mule.api.MuleEvent event)
Authenticates the current message if authenticate is set to true.
|
protected org.mule.api.security.Authentication |
createAuthentication(String username,
String password,
org.mule.api.MuleEvent event) |
protected void |
doInitialise() |
String |
getRealm() |
boolean |
isRealmRequired() |
void |
setRealm(String realm) |
void |
setRealmRequired(boolean realmRequired) |
protected void |
setUnauthenticated(org.mule.api.MuleEvent event) |
authenticate, doFilter, getEndpoint, setEndpointgetCredentialsAccessor, isAuthenticate, setAuthenticate, setCredentialsAccessorgetSecurityManager, getSecurityProviders, initialise, setMuleContext, setSecurityManager, setSecurityProviders, updatePayloadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCredentialsAccessor, setCredentialsAccessorprotected static final org.apache.commons.logging.Log logger
public HttpBasicAuthenticationFilter()
public HttpBasicAuthenticationFilter(String realm)
protected void doInitialise()
throws org.mule.api.lifecycle.InitialisationException
doInitialise in class org.mule.security.AbstractSecurityFilterorg.mule.api.lifecycle.InitialisationExceptionpublic String getRealm()
public void setRealm(String realm)
public boolean isRealmRequired()
public void setRealmRequired(boolean realmRequired)
public void authenticateInbound(org.mule.api.MuleEvent event)
throws org.mule.api.security.SecurityException,
org.mule.api.security.SecurityProviderNotFoundException,
org.mule.api.security.UnknownAuthenticationTypeException
authenticateInbound in class org.mule.security.AbstractEndpointSecurityFilterevent - the current message recievedorg.mule.api.security.SecurityException - if authentication failsorg.mule.api.security.SecurityProviderNotFoundExceptionorg.mule.api.security.UnknownAuthenticationTypeExceptionprotected org.mule.api.security.Authentication createAuthentication(String username, String password, org.mule.api.MuleEvent event)
protected void setUnauthenticated(org.mule.api.MuleEvent event)
public void authenticateOutbound(org.mule.api.MuleEvent event)
throws org.mule.api.security.SecurityException,
org.mule.api.security.SecurityProviderNotFoundException
authenticateOutbound in class org.mule.security.AbstractEndpointSecurityFilterevent - the current event being dispatchedorg.mule.api.security.SecurityException - if authentication failsorg.mule.api.security.SecurityProviderNotFoundExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.