org.mule.security
Class AbstractAuthenticationFilter

java.lang.Object
  extended by org.mule.security.AbstractSecurityFilter
      extended by org.mule.security.AbstractAuthenticationFilter
All Implemented Interfaces:
MuleContextAware, Initialisable, AuthenticationFilter, SecurityFilter
Direct Known Subclasses:
AbstractEndpointSecurityFilter, DummySecurityFilter, UsernamePasswordAuthenticationFilter

public abstract class AbstractAuthenticationFilter
extends AbstractSecurityFilter
implements AuthenticationFilter

AbstractEndpointSecurityFilter provides a framework to perform inbound or outbound authentication for messages.


Field Summary
 
Fields inherited from class org.mule.security.AbstractSecurityFilter
logger, muleContext, securityManager
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
AbstractAuthenticationFilter()
           
 
Method Summary
abstract  void authenticate(MuleEvent event)
           
 void doFilter(MuleEvent event)
           
 CredentialsAccessor getCredentialsAccessor()
           
 boolean isAuthenticate()
           
 void setAuthenticate(boolean authenticate)
           
 void setCredentialsAccessor(CredentialsAccessor credentialsAccessor)
           
 
Methods inherited from class org.mule.security.AbstractSecurityFilter
doInitialise, getSecurityManager, getSecurityProviders, initialise, setMuleContext, setSecurityManager, setSecurityProviders, updatePayload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.security.SecurityFilter
getSecurityManager, getSecurityProviders, setSecurityManager, setSecurityProviders
 
Methods inherited from interface org.mule.api.lifecycle.Initialisable
initialise
 

Constructor Detail

AbstractAuthenticationFilter

public AbstractAuthenticationFilter()
Method Detail

getCredentialsAccessor

public CredentialsAccessor getCredentialsAccessor()
Specified by:
getCredentialsAccessor in interface AuthenticationFilter

setCredentialsAccessor

public void setCredentialsAccessor(CredentialsAccessor credentialsAccessor)
Specified by:
setCredentialsAccessor in interface AuthenticationFilter

isAuthenticate

public boolean isAuthenticate()

setAuthenticate

public void setAuthenticate(boolean authenticate)

doFilter

public void doFilter(MuleEvent event)
              throws SecurityException,
                     UnknownAuthenticationTypeException,
                     CryptoFailureException,
                     SecurityProviderNotFoundException,
                     EncryptionStrategyNotFoundException,
                     InitialisationException
Specified by:
doFilter in interface SecurityFilter
Specified by:
doFilter in class AbstractSecurityFilter
Throws:
SecurityException
UnknownAuthenticationTypeException
CryptoFailureException
SecurityProviderNotFoundException
EncryptionStrategyNotFoundException
InitialisationException

authenticate

public abstract void authenticate(MuleEvent event)
                           throws SecurityException,
                                  UnknownAuthenticationTypeException,
                                  CryptoFailureException,
                                  SecurityProviderNotFoundException,
                                  EncryptionStrategyNotFoundException,
                                  InitialisationException
Specified by:
authenticate in interface AuthenticationFilter
Throws:
SecurityException
UnknownAuthenticationTypeException
CryptoFailureException
SecurityProviderNotFoundException
EncryptionStrategyNotFoundException
InitialisationException


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.