org.systinet.wasp.security.ws
Interface IncomingValidator


public interface IncomingValidator

The IncomingValidator interface should be implemented by any class if developer wants to validate WS-Security configuration of incoming messages. The validate(org.systinet.wasp.security.ws.conf.MessageConf) method is called by WSO2 SOA Enablement Server WS-Security implementation to let developer/deployer check if incoming message was enough secured by WS-Security (i.e., if there was security token, signature, encrypted data, etc...).
There are two types of configuration:

Since:
4.6
Component:
Security-Providers

Method Summary
 void validate(MessageConf wsSecIncomingMessageConf)
          Called by WS-Security implementation.
 

Method Detail

validate

public void validate(MessageConf wsSecIncomingMessageConf)
              throws WSSecurityException
Called by WS-Security implementation. It checks if configuration of WSO2 SOA Enablement Server WS-Security of incoming message is sufficient (i.e., there was security token, signature, encrypted data, etc...). If it is not then exception must be thrown.

Parameters:
wsSecIncomingMessageConf - incoming message's configuration of WS-Security.
Throws:
WSSecurityException - thrown when incoming message is not secured enough