Deprecated API

Deprecated Methods
org.apache.ws.security.message.WSSAddUsernameToken.addCreated(Document)
          replaced by WSSecUsernameToken.addCreated() 
org.apache.ws.security.message.WSSAddUsernameToken.addNonce(Document)
          replaced by WSSecUsernameToken.addNonce() 
org.apache.ws.security.message.WSAddSignatureConfirmation.build(Document, byte[])
          replaced by WSSecSignatureConfirmation.build(Document, byte[], WSSecHeader) 
org.apache.ws.security.message.WSSignEnvelope.build(Document, Crypto)
          replaced by WSSecSignature.build(Document, Crypto, WSSecHeader) 
org.apache.ws.security.message.WSEncryptBody.build(Document, Crypto)
          replaced by WSSecEncrypt.build(Document, Crypto, WSSecHeader) 
org.apache.ws.security.saml.WSSignSAMLEnvelope.build(Document, Crypto, SAMLAssertion, Crypto, String, String)
          replaced by WSSecSignatureSAML.build(Document, Crypto, SAMLAssertion, Crypto, String, String, WSSecHeader) 
org.apache.ws.security.message.WSAddTimestamp.build(Document, int)
          replaced by WSSecTimestamp.build(Document, WSSecHeader) and WSSecTimestamp.setTimeToLive(int) 
org.apache.ws.security.message.WSSAddSAMLToken.build(Document, SAMLAssertion)
          replaced by WSSecSAMLToken.build(Document, SAMLAssertion, WSSecHeader) 
org.apache.ws.security.message.WSSAddUsernameToken.build(Document, String, String)
          replaced by WSSecUsernameToken.build(Document, WSSecHeader) and WSSecBase.setUserInfo(String, String) 
org.apache.ws.security.message.WSSecEncryptedKey.createEnrcyptedKey(Document, String)
          use createEncryptedKey(Document doc, String keyTransportAlgo) instead 
org.apache.ws.security.message.WSEncryptBody.createEnrcyptedKey(Document, String)
          use createEncryptedKey(Document doc, String keyTransportAlgo) instead 
org.apache.ws.security.WSSecurityEngineResult.getAction()
          use ((java.lang.Integer) #get(#TAG_ACTION)).intValue() instead 
org.apache.ws.security.WSSecurityEngineResult.getAssertion()
          use (SAMLAssertion) #get(#TAG_SAML_ASSERTION) instead 
org.apache.ws.security.WSSecurityEngineResult.getCertificate()
          use (X509Certificate) #get(#TAG_X509_CERTIFICATE) instead 
org.apache.ws.security.WSSecurityEngineResult.getDataRefUris()
          use #get(#TAG_DATA_REF_URIS) instead 
org.apache.ws.security.WSSecurityEngineResult.getDecryptedKey()
          use #get(#TAG_DECRYPTED_KEY) instead 
org.apache.ws.security.WSSecurityEngineResult.getEncryptedKeyId()
          use #get(#TAG_ENCRYPTED_KEY) instead 
org.apache.ws.security.message.WSEncryptBody.getEncryptionKey()
          replaced by WSSecEncryptedKey.getEncryptedEphemeralKey() 
org.apache.ws.security.message.WSSAddUsernameToken.getId()
          replaced by WSSecUsernameToken.getId() 
org.apache.ws.security.message.WSAddTimestamp.getId()
          replaced by WSSecTimestamp.getId() 
org.apache.ws.security.message.WSAddSignatureConfirmation.getId()
          replaced by WSSecSignatureConfirmation.getId() 
org.apache.ws.security.WSPasswordCallback.getIdentifer()
          use getIdentifier() instead 
org.apache.ws.security.util.WSSecurityUtil.getIDfromReference(String)
          use getIDFromReference instead 
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(String, Properties)
          use @link{#getInstance(java.lang.String, java.util.Map)} instead. 
org.apache.ws.security.message.WSBaseMessage.getKeyIdentifierType()
          replaced by WSSecBase.getKeyIdentifierType() 
org.apache.ws.security.SOAPConstants.getMustunderstand()
          use getMustUnderstand() instead 
org.apache.ws.security.SOAP12Constants.getMustunderstand()
          use getMustUnderstand() instead 
org.apache.ws.security.SOAP11Constants.getMustunderstand()
          use getMustUnderstand() instead 
org.apache.ws.security.WSSecurityEngineResult.getPrincipal()
          use (Principal) #get(#TAG_PRINCIPAL) instead 
org.apache.ws.security.message.WSSAddUsernameToken.getSecretKey()
          replaced by WSSecUsernameToken.getSecretKey() 
org.apache.ws.security.message.token.DerivedKeyToken.getSecuityTokenReference()
          use getSecurityTokenReference() instead 
org.apache.ws.security.WSSecurityEngineResult.getSecurityContextToken()
          use #get(#TAG_SECURITY_CONTEXT_TOKEN) instead 
org.apache.ws.security.message.WSEncryptBody.getSecurityTokenReference()
          replaced by WSSecEncrypt.getSecurityTokenReference() 
org.apache.ws.security.message.WSSignEnvelope.getSigCanonicalization()
          replaced by WSSecSignature.getSigCanonicalization() 
org.apache.ws.security.WSSecurityEngineResult.getSigConf()
          use (SignatureConfirmation) #get(#TAG_SIGNATURE_CONFIRMATION) instead 
org.apache.ws.security.message.WSSignEnvelope.getSignatureAlgorithm()
          replaced by WSSecSignature.getSignatureAlgorithm() 
org.apache.ws.security.WSSecurityEngineResult.getSignatureValue()
          use (byte[]) #get(#TAG_SIGNATURE_VALUE) instead 
org.apache.ws.security.message.WSSignEnvelope.getSignatureValue()
          replaced by WSSecSignature.getSignatureValue() 
org.apache.ws.security.WSSecurityEngineResult.getSignedElements()
          use (java.util.Set) #get(#TAG_SIGNED_ELEMENT_IDS) instead 
org.apache.ws.security.message.WSEncryptBody.getSymmetricEncAlgorithm()
          replaced by WSSecEncrypt.getSymmetricEncAlgorithm() 
org.apache.ws.security.message.WSEncryptBody.getSymmetricKey()
          replaced by WSSecEncrypt.getSymmetricKey() 
org.apache.ws.security.WSSecurityEngineResult.getTimestamp()
          use (Timestamp) #get(#TAG_TIMESTAMP) instead 
org.apache.ws.security.message.WSBaseMessage.insertSecurityHeader(Document)
          replaced by WSSecHeader.insertSecurityHeader(Document) 
org.apache.ws.security.message.WSSignEnvelope.isUseSingleCertificate()
          replaced by WSSecSignature.isUseSingleCertificate() 
org.apache.ws.security.message.WSBaseMessage.setActor(String)
          replaced by WSSecHeader.setActor(String) 
org.apache.ws.security.message.WSBaseMessage.setBodyID(Document)
          replaced by WSSecBase.setBodyID(Document) 
org.apache.ws.security.message.WSEncryptBody.setEmbeddedKeyName(String)
          replaced by WSSecEncrypt.setEmbeddedKeyName(String) 
org.apache.ws.security.message.WSEncryptBody.setEncCanonicalization(String)
          replaced by WSSecEncrypt.setEncCanonicalization(String) 
org.apache.ws.security.message.WSSAddUsernameToken.setId(String)
          no replacement, id is created by default in WSSecUsernameToken 
org.apache.ws.security.message.WSAddTimestamp.setId(String)
          no replacement, id is created by default in WSSecTimestamp 
org.apache.ws.security.message.WSAddSignatureConfirmation.setId(String)
          no replacement, id is created by default in WSSecSignatureConfirmation 
org.apache.ws.security.message.WSEncryptBody.setKey(byte[])
          replaced by WSSecEncrypt.setKey(byte[]) 
org.apache.ws.security.message.WSEncryptBody.setKeyEnc(String)
          replaced by WSSecEncrypt.setKeyEnc(String) 
org.apache.ws.security.message.WSBaseMessage.setKeyIdentifierType(int)
          replaced by WSSecBase.setKeyIdentifierType(int) 
org.apache.ws.security.message.WSBaseMessage.setMustUnderstand(boolean)
          replaced by WSSecHeader.setMustUnderstand(boolean) 
org.apache.ws.security.message.WSEncryptBody.setParentNode(Element)
            
org.apache.ws.security.message.WSBaseMessage.setParts(Vector)
          replaced by WSSecBase.setParts(Vector) 
org.apache.ws.security.message.WSSAddUsernameToken.setPasswordType(String)
          replaced by WSSecUsernameToken.setPasswordType(String) 
org.apache.ws.security.message.token.DerivedKeyToken.setSecuityTokenReference(Element)
          use setSecurityTokenReference(Element elem) instead 
org.apache.ws.security.message.token.DerivedKeyToken.setSecuityTokenReference(SecurityTokenReference)
          use setSecurityTokenReference(SecurityTokenReference ref) instead 
org.apache.ws.security.message.WSEncryptBody.setSecurityTokenReference(SecurityTokenReference)
          replaced by WSSecEncrypt.setSecurityTokenReference(SecurityTokenReference) 
org.apache.ws.security.message.WSSignEnvelope.setSigCanonicalization(String)
          replaced by WSSecSignature.setSigCanonicalization(String) 
org.apache.ws.security.message.WSSignEnvelope.setSignatureAlgorithm(String)
          replaced by WSSecSignature.setSignatureAlgorithm(String) 
org.apache.ws.security.WSSecurityEngineResult.setSignatureValue(byte[])
          use put(#TAG_SIGNATURE_VALUE, signatureValue) instead 
org.apache.ws.security.message.WSEncryptBody.setSymmetricEncAlgorithm(String)
          replaced by WSSecEncrypt.setSymmetricEncAlgorithm(String) 
org.apache.ws.security.message.WSEncryptBody.setSymmetricKey(SecretKey)
          replaced by WSSecEncrypt.setSymmetricKey(SecretKey) 
org.apache.ws.security.message.WSBaseMessage.setTimeToLive(int)
          replaced by WSSecTimestamp.setTimeToLive(int) 
org.apache.ws.security.message.WSEncryptBody.setUserInfo(String)
          replaced by WSSecEncryptedKey.setUserInfo(String) 
org.apache.ws.security.message.WSBaseMessage.setUserInfo(String, String)
          replaced by WSSecBase.setUserInfo(String, String) 
org.apache.ws.security.message.WSSignEnvelope.setUsernameToken(WSSAddUsernameToken)
          replaced by WSSecSignature.setUsernameToken(WSSecUsernameToken) 
org.apache.ws.security.message.WSSignEnvelope.setUseSingleCertificate(boolean)
          replaced by WSSecSignature.setUseSingleCertificate(boolean) 
org.apache.ws.security.message.WSEncryptBody.setUseThisCert(X509Certificate)
          replaced by WSSecEncryptedKey.setUseThisCert(X509Certificate) 
org.apache.ws.security.message.WSBaseMessage.setWsConfig(WSSConfig)
          replaced by WSSecBase.setWsConfig(WSSConfig) 
 

Deprecated Constructors
org.apache.ws.security.message.WSAddSignatureConfirmation()
          replaced by WSSecSignatureConfirmation.WSSecSignatureConfirmation() 
org.apache.ws.security.message.WSAddSignatureConfirmation(String)
          replaced by WSSecSignatureConfirmation.WSSecSignatureConfirmation() and WSSecHeader for actor specification. 
org.apache.ws.security.message.WSAddSignatureConfirmation(String, boolean)
          replaced by WSSecSignatureConfirmation.WSSecSignatureConfirmation() and WSSecHeader for actor and mustunderstand specification. 
org.apache.ws.security.message.WSAddTimestamp()
          replaced by WSSecTimestamp.WSSecTimestamp() 
org.apache.ws.security.message.WSAddTimestamp(String)
          replaced by WSSecTimestamp.WSSecTimestamp() and WSSecHeader for actor specification. 
org.apache.ws.security.message.WSAddTimestamp(String, boolean)
          replaced by WSSecTimestamp.WSSecTimestamp() and WSSecHeader for actor and mustunderstand specification. 
org.apache.ws.security.message.WSBaseMessage()
          replaced by WSSecBase.WSSecBase() 
org.apache.ws.security.message.WSBaseMessage(String)
          replaced by WSSecBase.WSSecBase() and WSSecHeader for actor specification. 
org.apache.ws.security.message.WSBaseMessage(String, boolean)
          replaced by WSSecBase.WSSecBase() and WSSecHeader for actor and mustunderstand specification. 
org.apache.ws.security.message.WSEncryptBody()
          replaced by WSSecEncrypt.WSSecEncrypt() 
org.apache.ws.security.message.WSEncryptBody(String)
          replaced by WSSecEncrypt.WSSecEncrypt() and WSSecHeader for actor specification. 
org.apache.ws.security.message.WSEncryptBody(String, boolean)
          replaced by WSSecEncrypt.WSSecEncrypt() and WSSecHeader for actor and mustunderstand specification. 
org.apache.ws.security.message.WSSAddSAMLToken()
          replaced by WSSecSAMLToken.WSSecSAMLToken() 
org.apache.ws.security.message.WSSAddSAMLToken(String)
          replaced by WSSecSAMLToken.WSSecSAMLToken() and WSSecHeader for actor specification. 
org.apache.ws.security.message.WSSAddSAMLToken(String, boolean)
          replaced by WSSecSAMLToken.WSSecSAMLToken() and WSSecHeader for actor and mustunderstand specification. 
org.apache.ws.security.message.WSSAddUsernameToken()
          replaced by WSSecUsernameToken.WSSecUsernameToken() 
org.apache.ws.security.message.WSSAddUsernameToken(String)
          replaced by WSSecUsernameToken.WSSecUsernameToken() and WSSecHeader for actor specification. 
org.apache.ws.security.message.WSSAddUsernameToken(String, boolean)
          replaced by WSSecUsernameToken.WSSecUsernameToken() and WSSecHeader for actor and mustunderstand specification. 
org.apache.ws.security.message.WSSignEnvelope()
          replaced by WSSecSignature.WSSecSignature() 
org.apache.ws.security.message.WSSignEnvelope(String)
          replaced by WSSecSignature.WSSecSignature() and WSSecHeader for actor specification. 
org.apache.ws.security.message.WSSignEnvelope(String, boolean)
          replaced by WSSecSignature.WSSecSignature() and WSSecHeader for actor and mustunderstand specification. 
org.apache.ws.security.saml.WSSignSAMLEnvelope()
          replaced by WSSecSignatureSAML.WSSecSignatureSAML() 
org.apache.ws.security.saml.WSSignSAMLEnvelope(String, boolean)
          replaced by WSSecSignatureSAML.WSSecSignatureSAML() and WSSecHeader for actor and mustunderstand specification. 
 



Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.