public class UsernamePasswordAuthenticationFilter extends AbstractAuthenticationFilter
MuleMessage based on expressions specified via the username and password setters. These
are then used to create a DefaultMuleAuthentication object which is passed to the authenticate method of the
SecurityManager.logger, muleContext, securityManagerPHASE_NAME| Constructor and Description |
|---|
UsernamePasswordAuthenticationFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(MuleEvent event)
Authenticates the current message.
|
protected Authentication |
getAuthenticationToken(MuleEvent event) |
String |
getPassword() |
String |
getUsername() |
void |
setPassword(String password) |
void |
setUsername(String username) |
doFilter, getCredentialsAccessor, isAuthenticate, setAuthenticate, setCredentialsAccessordoInitialise, getSecurityManager, getSecurityProviders, initialise, setMuleContext, setSecurityManager, setSecurityProviders, updatePayloadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSecurityManager, getSecurityProviders, setSecurityManager, setSecurityProvidersinitialisepublic UsernamePasswordAuthenticationFilter()
public void authenticate(MuleEvent event) throws SecurityException, SecurityProviderNotFoundException, UnknownAuthenticationTypeException
authenticate in interface AuthenticationFilterauthenticate in class AbstractAuthenticationFilterevent - the current message recievedSecurityException - if authentication failsSecurityProviderNotFoundExceptionUnknownAuthenticationTypeExceptionprotected Authentication getAuthenticationToken(MuleEvent event) throws UnauthorisedException
UnauthorisedExceptionpublic String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.