Coverage Report - org.mule.api.security.EndpointSecurityFilter
 
Classes in this File Line Coverage Branch Coverage Complexity
EndpointSecurityFilter
N/A
N/A
1
 
 1  
 /*
 2  
  * $Id: EndpointSecurityFilter.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.api.security;
 12  
 
 13  
 import org.mule.api.MuleEvent;
 14  
 import org.mule.api.endpoint.ImmutableEndpoint;
 15  
 import org.mule.api.lifecycle.Initialisable;
 16  
 import org.mule.api.lifecycle.InitialisationException;
 17  
 
 18  
 /**
 19  
  * <code>EndpointSecurityFilter</code> is a base filter for secure filtering of
 20  
  * inbound and outbout event flow
 21  
  */
 22  
 public interface EndpointSecurityFilter extends Initialisable
 23  
 {
 24  
     /**
 25  
      * @param manager
 26  
      */
 27  
     void setSecurityManager(SecurityManager manager);
 28  
 
 29  
     SecurityManager getSecurityManager();
 30  
 
 31  
     String getSecurityProviders();
 32  
 
 33  
     void setSecurityProviders(String providers);
 34  
 
 35  
     void setEndpoint(ImmutableEndpoint endpoint);
 36  
 
 37  
     ImmutableEndpoint getEndpoint();
 38  
 
 39  
     void setCredentialsAccessor(CredentialsAccessor accessor);
 40  
 
 41  
     CredentialsAccessor getCredentialsAccessor();
 42  
 
 43  
     void authenticate(MuleEvent event)
 44  
             throws SecurityException, UnknownAuthenticationTypeException, CryptoFailureException,
 45  
             SecurityProviderNotFoundException, EncryptionStrategyNotFoundException, InitialisationException;
 46  
 }