org.mule.extras.pgp.filters
Class PGPSecurityFilter

java.lang.Object
  extended byorg.mule.impl.security.AbstractEndpointSecurityFilter
      extended byorg.mule.extras.pgp.filters.PGPSecurityFilter
All Implemented Interfaces:
Initialisable, UMOEndpointSecurityFilter

public class PGPSecurityFilter
extends AbstractEndpointSecurityFilter


Field Summary
protected static Log logger
          logger used by this class
 
Constructor Summary
PGPSecurityFilter()
           
 
Method Summary
protected  void authenticateInbound(UMOEvent event)
           
protected  void authenticateOutbound(UMOEvent event)
           
protected  void doInitialise()
           
 PGPKeyRing getKeyManager()
           
 UMOEncryptionStrategy getStrategy()
           
 boolean isSignRequired()
           
 void setKeyManager(PGPKeyRing keyManager)
           
 void setSignRequired(boolean signRequired)
           
 void setStrategy(UMOEncryptionStrategy strategy)
           
 void setStrategyName(String name)
           
 
Methods inherited from class org.mule.impl.security.AbstractEndpointSecurityFilter
authenticate, getCredentialsAccessor, getEndpoint, getSecurityManager, getSecurityProviders, initialise, isAuthenticate, setAuthenticate, setCredentialsAccessor, setEndpoint, setSecurityManager, setSecurityProviders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Log logger
logger used by this class

Constructor Detail

PGPSecurityFilter

public PGPSecurityFilter()
Method Detail

authenticateInbound

protected void authenticateInbound(UMOEvent event)
                            throws SecurityException,
                                   UnauthorisedException,
                                   UnknownAuthenticationTypeException
Specified by:
authenticateInbound in class AbstractEndpointSecurityFilter
Throws:
SecurityException
UnauthorisedException
UnknownAuthenticationTypeException

authenticateOutbound

protected void authenticateOutbound(UMOEvent event)
                             throws SecurityException,
                                    UnauthorisedException
Specified by:
authenticateOutbound in class AbstractEndpointSecurityFilter
Throws:
SecurityException
UnauthorisedException

doInitialise

protected void doInitialise()
                     throws InitialisationException
Specified by:
doInitialise in class AbstractEndpointSecurityFilter
Throws:
InitialisationException

getStrategy

public UMOEncryptionStrategy getStrategy()

setStrategy

public void setStrategy(UMOEncryptionStrategy strategy)

setStrategyName

public void setStrategyName(String name)

isSignRequired

public boolean isSignRequired()

setSignRequired

public void setSignRequired(boolean signRequired)

getKeyManager

public PGPKeyRing getKeyManager()

setKeyManager

public void setKeyManager(PGPKeyRing keyManager)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.