org.mule.module.pgp.filters
Class PGPSecurityFilter

java.lang.Object
  extended by org.mule.security.AbstractSecurityFilter
      extended by org.mule.security.AbstractAuthenticationFilter
          extended by org.mule.module.pgp.filters.PGPSecurityFilter
All Implemented Interfaces:
MuleContextAware, Initialisable, AuthenticationFilter, SecurityFilter

public class PGPSecurityFilter
extends AbstractAuthenticationFilter


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
PGPSecurityFilter()
           
 
Method Summary
protected  void authenticateInbound(MuleEvent event)
           
protected  void authenticateOutbound(MuleEvent event)
           
protected  void doInitialise()
           
 PGPKeyRing getKeyManager()
           
 EncryptionStrategy getStrategy()
           
 boolean isSignRequired()
           
 void setKeyManager(PGPKeyRing keyManager)
           
 void setSignRequired(boolean signRequired)
           
 void setStrategy(EncryptionStrategy strategy)
           
 void setStrategyName(String name)
           
 
Methods inherited from class org.mule.security.AbstractAuthenticationFilter
authenticate, 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
 

Constructor Detail

PGPSecurityFilter

public PGPSecurityFilter()
Method Detail

authenticateInbound

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

authenticateOutbound

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

doInitialise

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

getStrategy

public EncryptionStrategy getStrategy()

setStrategy

public void setStrategy(EncryptionStrategy 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-2014 MuleSoft, Inc.. All Rights Reserved.