org.mule.tck.security
Class TestSecurityFilter

java.lang.Object
  extended by org.mule.security.AbstractSecurityFilter
      extended by org.mule.security.AbstractAuthenticationFilter
          extended by org.mule.tck.security.TestSecurityFilter
All Implemented Interfaces:
MuleContextAware, Initialisable, AuthenticationFilter, SecurityFilter

public class TestSecurityFilter
extends AbstractAuthenticationFilter


Nested Class Summary
static class TestSecurityFilter.StaticMessageUnauthorisedException
           
 
Field Summary
static String SECURITY_EXCEPTION_MESSAGE
           
 
Fields inherited from class org.mule.security.AbstractSecurityFilter
logger, muleContext, securityManager
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
TestSecurityFilter(boolean accept)
           
 
Method Summary
 void authenticate(MuleEvent event)
           
protected  void doInitialise()
           
 boolean wasCalled()
           
 
Methods inherited from class org.mule.security.AbstractAuthenticationFilter
doFilter, getCredentialsAccessor, isAuthenticate, setAuthenticate, setCredentialsAccessor
 
Methods inherited from class org.mule.security.AbstractSecurityFilter
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
 

Field Detail

SECURITY_EXCEPTION_MESSAGE

public static final String SECURITY_EXCEPTION_MESSAGE
See Also:
Constant Field Values
Constructor Detail

TestSecurityFilter

public TestSecurityFilter(boolean accept)
Method Detail

authenticate

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

doInitialise

protected void doInitialise()
                     throws InitialisationException
Overrides:
doInitialise in class AbstractSecurityFilter
Throws:
InitialisationException

wasCalled

public boolean wasCalled()


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