Class WSBaseMessage

java.lang.Object
org.apache.ws.security.message.WSBaseMessage
Direct Known Subclasses:
WSAddSignatureConfirmation, WSAddTimestamp, WSEncryptBody, WSSAddSAMLToken, WSSAddUsernameToken, WSSignEnvelope

public class WSBaseMessage extends Object
This is the base class for WS Security messages. It provides common functions and fields used by the specific message classes such as sign, encrypt, and username token.
Author:
Werner Dittmann (Werner.Dittmann@t-online.de)
  • Field Details

    • actor

      protected String actor
    • mustunderstand

      protected boolean mustunderstand
    • user

      protected String user
    • password

      protected String password
    • keyIdentifierType

      protected int keyIdentifierType
    • parts

      protected Vector parts
    • timeToLive

      protected int timeToLive
    • doDebug

      protected boolean doDebug
    • wssConfig

      protected WSSConfig wssConfig
  • Constructor Details

    • WSBaseMessage

      public WSBaseMessage()
      Deprecated.
      replaced by WSSecBase()
      Constructor.
    • WSBaseMessage

      public WSBaseMessage(String actor)
      Deprecated.
      replaced by WSSecBase() and WSSecHeader for actor specification.
      Constructor.

      Parameters:
      actor - The actor name of the wsse:Security header
    • WSBaseMessage

      public WSBaseMessage(String actor, boolean mu)
      Deprecated.
      replaced by WSSecBase() and WSSecHeader for actor and mustunderstand specification.
      Constructor.

      Parameters:
      actor - The actor name of the wsse:Security header
      mu - Set mustUnderstand to true or false
  • Method Details