electric.soap.security.guards
Interface IWSSGuard

All Known Implementing Classes:
EncryptionGuard, RoleGuard, SignatureGuard

public interface IWSSGuard

IWSSGuard determines if a given set of credentials authorizes a user to execute a method on a particular web service.

Author:
webMethods

Method Summary
 boolean authorize(SOAPMessage message, java.util.Vector signatures, java.util.Vector encryptions, java.util.Vector principalList, java.util.Vector authorizationCredentials)
          Given a soap message and a set of credentials, determine if the credentials authorize the message to invoke a method on a service.
 

Method Detail

authorize

public boolean authorize(SOAPMessage message,
                         java.util.Vector signatures,
                         java.util.Vector encryptions,
                         java.util.Vector principalList,
                         java.util.Vector authorizationCredentials)
Given a soap message and a set of credentials, determine if the credentials authorize the message to invoke a method on a service. Return true if the action is authorized, false otherwise.

Parameters:
message -
signatures -
principalList -
authorizationCredentials -
Returns:
true if the message is authorized


copyright© 2001-2004 by webMethods All Rights Reserved.