org.mule.extras.wssecurity.filters
Class WsSecurityFilter
java.lang.Object
org.mule.impl.security.AbstractEndpointSecurityFilter
org.mule.extras.wssecurity.filters.WsSecurityFilter
- All Implemented Interfaces:
- Initialisable, UMOEndpointSecurityFilter
- public class WsSecurityFilter
- extends AbstractEndpointSecurityFilter
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 |
WsSecurityFilter
public WsSecurityFilter()
getWsDecryptionFile
public String getWsDecryptionFile()
setWsDecryptionFile
public void setWsDecryptionFile(String wsDecryptionFile)
getWsSignatureFile
public String getWsSignatureFile()
setWsSignatureFile
public void setWsSignatureFile(String wsSignatureFile)
authenticateInbound
protected void authenticateInbound(UMOEvent event)
throws SecurityException,
CryptoFailureException,
SecurityProviderNotFoundException,
EncryptionStrategyNotFoundException,
UnknownAuthenticationTypeException
- This method's use is two-fold. First it sets the required security handlers on
the service. Secondly, it checks the properties in the message and if there
are security properties among them, it sets them on the service.
- Specified by:
authenticateInbound
in class AbstractEndpointSecurityFilter
- Throws:
SecurityException
CryptoFailureException
SecurityProviderNotFoundException
EncryptionStrategyNotFoundException
UnknownAuthenticationTypeException
authenticateOutbound
protected void authenticateOutbound(UMOEvent event)
throws SecurityException,
SecurityProviderNotFoundException,
CryptoFailureException
- This method secures the outgouing message by setting the required security
handlers.
- Specified by:
authenticateOutbound
in class AbstractEndpointSecurityFilter
- Throws:
SecurityException
SecurityProviderNotFoundException
CryptoFailureException
doInitialise
protected void doInitialise()
throws InitialisationException
- Specified by:
doInitialise
in class AbstractEndpointSecurityFilter
- Throws:
InitialisationException
getProperties
protected Properties getProperties(UMOEvent event)
- This method gets the decryption and the signature property files and returns
them as properties to the calling method.
- Parameters:
event
-
- Returns:
getAddOutboundProperties
public Map getAddOutboundProperties()
setAddOutboundProperties
public void setAddOutboundProperties(Map addOutboundProperties)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.