Uses of Class
org.apache.ws.security.WSSecurityException

Packages that use WSSecurityException
org.apache.ws.sandbox.security.conversation   
org.apache.ws.sandbox.security.conversation.message.info   
org.apache.ws.sandbox.security.conversation.message.token   
org.apache.ws.sandbox.security.trust   
org.apache.ws.sandbox.security.trust.message.token   
org.apache.ws.sandbox.security.trust2   
org.apache.ws.security   
org.apache.ws.security.action   
org.apache.ws.security.components.crypto   
org.apache.ws.security.handler   
org.apache.ws.security.message   
org.apache.ws.security.message.token   
org.apache.ws.security.processor   
org.apache.ws.security.saml   
org.apache.ws.security.util   
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.conversation
 

Methods in org.apache.ws.sandbox.security.conversation that throw WSSecurityException
protected  java.util.Vector ConversationEngine.processConvHeader(org.w3c.dom.Element securityHeader, org.w3c.dom.Document doc, DerivedKeyCallbackHandler dkcbHandler, java.lang.String callback)
           
 byte[] KeyDerivator.generateKey(java.util.Hashtable sessionTable, java.lang.String identifier)
           
 byte[] KeyDerivator.generateKey(java.util.Hashtable sessionTable, java.lang.String identifier)
           
 org.w3c.dom.Document ConversationManager.build(org.w3c.dom.Document doc, Reference ref, byte[] sk, java.util.Vector parts)
          The method is coded such that it can be plugged into WSSignEnvelope.
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.conversation.message.info
 

Constructors in org.apache.ws.sandbox.security.conversation.message.info that throw WSSecurityException
DerivedKeyInfo(DerivedKeyToken dkt)
           
SecurityContextInfo(SecurityContextToken securityContextToken, RequestedProofToken requestedProofToken, int frequency)
          This element will be useful to store in the hashtable to get information about the security context
SecurityContextInfo(SecurityContextToken securityContextToken, byte[] sharedSecret, int frequency)
          TEMPORARY METHOD FOR TESTING ONLY TIL I GET THE LATEST PROOF TOKEN This element will be useful to store in the hashtable to get information about the security context
SecurityContextInfo(java.lang.String uuid, byte[] sharedSecret, int frequency)
           
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.conversation.message.token
 

Methods in org.apache.ws.sandbox.security.conversation.message.token that throw WSSecurityException
 SecurityTokenReference DerivedKeyToken.getSecuityTokenReference()
          Returns the SecurityTokenReference of the derived key token
 

Constructors in org.apache.ws.sandbox.security.conversation.message.token that throw WSSecurityException
DerivedKeyToken(org.w3c.dom.Element elem)
          This will create a DerivedKeyToken object with the given DErivedKeyToken element
SecurityContextToken(org.w3c.dom.Element elem)
          This is used to create a SecurityContestToken using a DOM Element
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.trust
 

Methods in org.apache.ws.sandbox.security.trust that throw WSSecurityException
 void RSTRParser.processRSTR(RequestSecurityTokenResponse rstr)
           
 RequestInfo RequestResolver.resolve()
           
static void STSUtil.replaceSecurityTokenReferences(org.w3c.dom.Document doc)
          Replaces the Security Token Reference element with its Referenced element Reason : In the Trust Comminicator no header elements are visible
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.trust.message.token
 

Methods in org.apache.ws.sandbox.security.trust.message.token that throw WSSecurityException
 BinarySecurity BaseToken.getBinarySecurityToken()
          Return the binary security token of the base token if any
 void RequestedProofToken.doDecryption(java.lang.String callback, Crypto crypto)
          Method doDecryption
 void RequestedProofToken.doEncryptProof(org.w3c.dom.Document doc, Crypto crypto, java.lang.String userInfo)
          Method doEncryptProof
 org.w3c.dom.Document RequestedProofToken.build(org.w3c.dom.Document doc, Crypto crypto, java.lang.String user, org.w3c.dom.Element parentNode)
           
 

Constructors in org.apache.ws.sandbox.security.trust.message.token that throw WSSecurityException
STSSignedToken(org.w3c.dom.Document docTobeSigned, Crypto crypto, java.lang.String alias, java.lang.String password)
           
BaseToken(org.w3c.dom.Element elem)
          Constructor for Base
RequestedProofToken(org.w3c.dom.Document doc)
          Constructor.
RequestedProofToken(org.w3c.dom.Element elem)
          COnstructor
RequestedSecurityToken(org.w3c.dom.Element elem)
          To create a RequestSecurityTokenResponse token form an element passed
RequestedSecurityToken(org.w3c.dom.Element elem, boolean parseChildElements)
          May not be usefull in future developments.
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.trust2
 

Constructors in org.apache.ws.sandbox.security.trust2 that throw WSSecurityException
Lifetime(WSSConfig wssConfig, org.w3c.dom.Document doc, org.w3c.dom.Element element)
           
 

Uses of WSSecurityException in org.apache.ws.security
 

Methods in org.apache.ws.security that throw WSSecurityException
 java.util.Vector WSSecurityEngine.processSecurityHeader(org.w3c.dom.Document doc, java.lang.String actor, javax.security.auth.callback.CallbackHandler cb, Crypto crypto)
          Process the security header given the soap envelope as W3C document.
 java.util.Vector WSSecurityEngine.processSecurityHeader(org.w3c.dom.Document doc, java.lang.String actor, javax.security.auth.callback.CallbackHandler cb, Crypto sigCrypto, Crypto decCrypto)
          Process the security header given the soap envelope as W3C document.
protected  java.util.Vector WSSecurityEngine.processSecurityHeader(org.w3c.dom.Element securityHeader, javax.security.auth.callback.CallbackHandler cb, Crypto sigCrypto, Crypto decCrypto)
          Process the security header given the wsse:Security DOM Element.
 Action WSSConfig.getAction(int action)
          Lookup action
 Processor WSSConfig.getProcessor(javax.xml.namespace.QName el)
           
 

Uses of WSSecurityException in org.apache.ws.security.action
 

Methods in org.apache.ws.security.action that throw WSSecurityException
 void Action.execute(WSHandler handler, int actionToDo, boolean mu, org.w3c.dom.Document doc, RequestData reqData)
           
 void UsernameTokenAction.execute(WSHandler handler, int actionToDo, boolean mu, org.w3c.dom.Document doc, RequestData reqData)
           
 void SAMLTokenSignedAction.execute(WSHandler handler, int actionToDo, boolean mu, org.w3c.dom.Document doc, RequestData reqData)
           
 void UsernameTokenSignedAction.execute(WSHandler handler, int actionToDo, boolean mu, org.w3c.dom.Document doc, RequestData reqData)
           
 void SAMLTokenUnsignedAction.execute(WSHandler handler, int actionToDo, boolean mu, org.w3c.dom.Document doc, RequestData reqData)
           
 void EncryptionAction.execute(WSHandler handler, int actionToDo, boolean mu, org.w3c.dom.Document doc, RequestData reqData)
           
 void SignatureAction.execute(WSHandler handler, int actionToDo, boolean mu, org.w3c.dom.Document doc, RequestData reqData)
           
 void SignatureConfirmationAction.execute(WSHandler handler, int actionToDo, boolean mu, org.w3c.dom.Document doc, RequestData reqData)
           
 void TimestampAction.execute(WSHandler handler, int actionToDo, boolean mu, org.w3c.dom.Document doc, RequestData reqData)
           
 

Uses of WSSecurityException in org.apache.ws.security.components.crypto
 

Methods in org.apache.ws.security.components.crypto that throw WSSecurityException
 java.security.cert.X509Certificate Crypto.loadCertificate(java.io.InputStream in)
          load a X509Certificate from the input stream.
 java.security.cert.X509Certificate[] Crypto.getX509Certificates(byte[] data, boolean reverse)
          Construct an array of X509Certificate's from the byte array.
 byte[] Crypto.getCertificateData(boolean reverse, java.security.cert.X509Certificate[] certs)
          get a byte array given an array of X509 certificates.
 java.security.cert.X509Certificate[] Crypto.getCertificates(java.lang.String alias)
          get the list of certificates for a given alias.
 java.lang.String Crypto.getAliasForX509Cert(java.security.cert.Certificate cert)
          Return a X509 Certificate alias in the keystore according to a given Certificate

 java.lang.String Crypto.getAliasForX509Cert(java.lang.String issuer)
          Lookup a X509 Certificate in the keystore according to a given the issuer of a Certficate.
 java.lang.String Crypto.getAliasForX509Cert(java.lang.String issuer, java.math.BigInteger serialNumber)
          Search a X509 Certificate in the keystore according to a given serial number and the issuer of a Certficate.
 java.lang.String Crypto.getAliasForX509Cert(byte[] skiBytes)
          Lookup a X509 Certificate in the keystore according to a given SubjectKeyIdentifier.
 byte[] Crypto.getSKIBytesFromCert(java.security.cert.X509Certificate cert)
          Reads the SubjectKeyIdentifier information from the certificate.
 java.lang.String Crypto.getAliasForX509CertThumb(byte[] thumb)
          Lookup a X509 Certificate in the keystore according to a given Thumbprint.
 java.security.cert.CertificateFactory Crypto.getCertificateFactory()
          Gets the CertificateFactory instantiated by the underlying implementation
 boolean Crypto.validateCertPath(java.security.cert.X509Certificate[] certs)
          Uses the CertPath API to validate a given certificate chain

 java.lang.String[] Crypto.getAliasesForDN(java.lang.String subjectDN)
          Lookup X509 Certificates in the keystore according to a given DN of the subject of the certificate

 java.security.cert.X509Certificate[] Merlin.getX509Certificates(byte[] data, boolean reverse)
          Construct an array of X509Certificate's from the byte array.
 byte[] Merlin.getCertificateData(boolean reverse, java.security.cert.X509Certificate[] certs)
          get a byte array given an array of X509 certificates.
 boolean Merlin.validateCertPath(java.security.cert.X509Certificate[] certs)
          Overridden because there's a bug in the base class where they don't use the provider variant for the certificate validator.
 java.security.cert.CertificateFactory AbstractCrypto.getCertificateFactory()
          Singleton certificate factory for this Crypto instance.
 java.security.cert.X509Certificate AbstractCrypto.loadCertificate(java.io.InputStream in)
          load a X509Certificate from the input stream.
 java.lang.String AbstractCrypto.getAliasForX509Cert(java.lang.String issuer)
          Lookup a X509 Certificate in the keystore according to a given the issuer of a Certficate.
 java.lang.String AbstractCrypto.getAliasForX509Cert(java.lang.String issuer, java.math.BigInteger serialNumber)
          Lookup a X509 Certificate in the keystore according to a given serial number and the issuer of a Certficate.
 java.lang.String AbstractCrypto.getAliasForX509Cert(byte[] skiBytes)
          Lookup a X509 Certificate in the keystore according to a given SubjectKeyIdentifier.
 java.lang.String AbstractCrypto.getAliasForX509Cert(java.security.cert.Certificate cert)
          Return a X509 Certificate alias in the keystore according to a given Certificate

 java.security.cert.X509Certificate[] AbstractCrypto.getCertificates(java.lang.String alias)
          Gets the list of certificates for a given alias.
 java.lang.String AbstractCrypto.getAliasForX509CertThumb(byte[] thumb)
          Lookup a X509 Certificate in the keystore according to a given Thumbprint.
 byte[] AbstractCrypto.getSKIBytesFromCert(java.security.cert.X509Certificate cert)
          Reads the SubjectKeyIdentifier information from the certificate.
 java.lang.String[] AbstractCrypto.getAliasesForDN(java.lang.String subjectDN)
          Lookup X509 Certificates in the keystore according to a given DN of the subject of the certificate

The search gets all alias names of the keystore and gets the certificate (chain) for each alias.

 

Uses of WSSecurityException in org.apache.ws.security.handler
 

Methods in org.apache.ws.security.handler that throw WSSecurityException
 boolean WSS4JHandler.processMessage(javax.xml.rpc.handler.MessageContext mc, boolean isRequestMessage)
          Switch for transfering control to doReceiver and doSender
 boolean WSS4JHandler.doSender(javax.xml.rpc.handler.MessageContext mc, RequestData reqData, boolean isRequest)
          Handles incoming web service requests and outgoing responses
 boolean WSS4JHandler.doReceiver(javax.xml.rpc.handler.MessageContext mc, RequestData reqData, boolean isRequest)
          handle responses
protected  void WSHandler.doSenderAction(int doAction, org.w3c.dom.Document doc, RequestData reqData, java.util.Vector actions, boolean isRequest)
          ut Performs all defined security actions to set-up the SOAP request.
protected  void WSHandler.doReceiverAction(int doAction, RequestData reqData)
           
protected  void WSHandler.checkSignatureConfirmation(RequestData reqData, java.util.Vector wsResult)
           
 Crypto WSHandler.loadSignatureCrypto(RequestData reqData)
          Hook to allow subclasses to load their Signature Crypto however they see fit.
protected  Crypto WSHandler.loadEncryptionCrypto(RequestData reqData)
          Hook to allow subclasses to load their Encryption Crypto however they see fit.
protected  void WSHandler.decodeUTParameter(RequestData reqData)
           
protected  void WSHandler.decodeSignatureParameter(RequestData reqData)
           
protected  void WSHandler.decodeEncryptionParameter(RequestData reqData)
           
protected  boolean WSHandler.decodeMustUnderstand(RequestData reqData)
           
protected  boolean WSHandler.decodeEnableSignatureConfirmation(RequestData reqData)
           
protected  boolean WSHandler.decodeTimestampPrecision(RequestData reqData)
           
protected  boolean WSHandler.decodeTimestampStrict(RequestData reqData)
           
 WSPasswordCallback WSHandler.getPassword(java.lang.String username, int doAction, java.lang.String clsProp, java.lang.String refProp, RequestData reqData)
          Get a password to construct a UsernameToken or sign a message.
protected  Crypto WSHandler.loadDecryptionCrypto(RequestData reqData)
          Hook to allow subclasses to load their Decryption Crypto however they see fit.
protected  void WSHandler.decodeSignatureParameter2(RequestData reqData)
           
protected  void WSHandler.decodeDecryptionParameter(RequestData reqData)
           
protected  javax.security.auth.callback.CallbackHandler WSHandler.getPasswordCB(RequestData reqData)
          Get the password callback class and get an instance

protected  boolean WSHandler.verifyTrust(java.security.cert.X509Certificate cert, RequestData reqData)
          Evaluate whether a given certificate should be trusted.
protected  boolean WSHandler.verifyTimestamp(Timestamp timestamp, int timeToLive)
          Evaluate whether a timestamp is considered valid on receiverside.
 

Uses of WSSecurityException in org.apache.ws.security.message
 

Methods in org.apache.ws.security.message that throw WSSecurityException
 org.w3c.dom.Document WSEncryptBody.build(org.w3c.dom.Document doc, Crypto crypto)
          Builds the SOAP envelope with encrypted Body and adds encrypted key.
 org.w3c.dom.Document WSSignEnvelope.build(org.w3c.dom.Document doc, Crypto crypto)
          Builds a signed soap envelope.
 

Uses of WSSecurityException in org.apache.ws.security.message.token
 

Methods in org.apache.ws.security.message.token that throw WSSecurityException
 java.security.cert.X509Certificate X509Security.getX509Certificate(Crypto crypto)
          Gets the X509Certificate certificate.
 void X509Security.setX509Certificate(java.security.cert.X509Certificate cert)
          Sets the X509Certificate.
 byte[] UsernameToken.getSalt()
          Get the Salt value of this UsernameToken.
static byte[] UsernameToken.generateDerivedKey(java.lang.String password, byte[] salt, int iteration)
          This static method generates a derived key as defined in WSS Username Token Profile.
 java.security.cert.X509Certificate[] PKIPathSecurity.getX509Certificates(boolean reverse, Crypto crypto)
          get the X509Certificate array.
 void PKIPathSecurity.setX509Certificates(java.security.cert.X509Certificate[] certs, boolean reverse, Crypto crypto)
          set the X509Certificate array.
 Reference SecurityTokenReference.getReference()
          Gets the Reference.
 org.w3c.dom.Element SecurityTokenReference.getTokenElement(org.w3c.dom.Document doc, WSDocInfo docInfo)
          Gets the signing token element, which maybe a BinarySecurityToken or a SAML token.
 void SecurityTokenReference.setKeyIdentifier(java.security.cert.X509Certificate cert)
          Sets the KeyIdentifer Element as a X509 certificate.
 void SecurityTokenReference.setKeyIdentifierSKI(java.security.cert.X509Certificate cert, Crypto crypto)
          Sets the KeyIdentifer Element as a X509 Subject-Key-Identifier (SKI).
 void SecurityTokenReference.setKeyIdentifierThumb(java.security.cert.X509Certificate cert)
          Sets the KeyIdentifer Element as a Thumbprint.
 void SecurityTokenReference.setSAMLKeyIdentifier(java.lang.String keyIdVal)
           
 java.security.cert.X509Certificate[] SecurityTokenReference.getKeyIdentifier(Crypto crypto)
          Gets the KeyIdentifer.
 java.lang.String SecurityTokenReference.getX509SKIAlias(Crypto crypto)
           
 java.security.cert.X509Certificate[] SecurityTokenReference.getX509IssuerSerial(Crypto crypto)
          Gets the certificate identified with X509 issuerSerial data.
 java.lang.String SecurityTokenReference.getX509IssuerSerialAlias(Crypto crypto)
          Gets the alias name of the certificate identified with X509 issuerSerial data.
 java.security.PrivateKey KeyInfo.getPrivateKey()
           
static java.security.PrivateKey KeyInfo.getPrivateKeyForName(java.lang.String name, javax.security.auth.callback.CallbackHandler cb, Crypto crypto)
           
 

Constructors in org.apache.ws.security.message.token that throw WSSecurityException
X509Security(org.w3c.dom.Element elem)
          This constructor creates a new X509 certificate object and initializes it from the data containe in the element.
UsernameToken(org.w3c.dom.Element elem)
          Constructs a UsernameToken object and parses the wsse:UsernameToken element to initialize it.
PKIPathSecurity(org.w3c.dom.Element elem)
          Constructor.
SecurityTokenReference(org.w3c.dom.Element elem)
          Constructor.
Reference(org.w3c.dom.Element elem)
          Constructor.
BinarySecurity(org.w3c.dom.Element elem)
          Constructor.
KeyInfo(org.w3c.dom.Element elem, javax.security.auth.callback.CallbackHandler cb, Crypto c)
          Constructor.
SignatureConfirmation(org.w3c.dom.Element elem)
          Constructs a SignatureConfirmation object and parses the wsse11:SignatureCOnfirmation element to initialize it.
Timestamp(org.w3c.dom.Element element)
          Constructs a Timestamp object and parses the wsu:Timestamp element to initialize it.
 

Uses of WSSecurityException in org.apache.ws.security.processor
 

Methods in org.apache.ws.security.processor that throw WSSecurityException
 void SAMLTokenProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 org.opensaml.SAMLAssertion SAMLTokenProcessor.handleSAMLToken(org.w3c.dom.Element token)
           
 void SignatureConfirmationProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 void EncryptedKeyProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 void EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey, javax.security.auth.callback.CallbackHandler cb, Crypto crypto)
           
 void EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey, java.security.PrivateKey privatekey)
           
 void EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey, javax.security.auth.callback.CallbackHandler cb, Crypto crypto, java.security.PrivateKey privateKey)
           
static byte[] EncryptedKeyProcessor.getDecodedBase64EncodedData(org.w3c.dom.Element element)
          Method getDecodedBase64EncodedData
 void TimestampProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 void TimestampProcessor.handleTimestamp(Timestamp timestamp)
           
 void Processor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig config)
           
 void SignatureProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
protected  java.security.Principal SignatureProcessor.verifyXMLSignature(org.w3c.dom.Element elem, Crypto crypto, java.security.cert.X509Certificate[] returnCert, java.util.Vector[] returnQname, byte[][] signatureValue)
          Verify the WS-Security signature.
 java.security.cert.X509Certificate[] SignatureProcessor.getCertificatesTokenReference(org.w3c.dom.Element elem, Crypto crypto)
          Extracts the certificate(s) from the Binary Security token reference.
static java.lang.String X509Util.getEncAlgo(org.w3c.dom.Node encBodyData)
           
protected static javax.crypto.SecretKey X509Util.getSharedKey(org.w3c.dom.Element keyInfoElem, java.lang.String algorithm, javax.security.auth.callback.CallbackHandler cb)
           
 void UsernameTokenProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 WSUsernameTokenPrincipal UsernameTokenProcessor.handleUsernameToken(org.w3c.dom.Element token, javax.security.auth.callback.CallbackHandler cb)
          Check the UsernameToken element.
 void ReferenceListProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 void ReferenceListProcessor.decryptDataRefEmbedded(org.w3c.dom.Document doc, java.lang.String dataRefURI, javax.security.auth.callback.CallbackHandler cb)
           
 

Uses of WSSecurityException in org.apache.ws.security.saml
 

Methods in org.apache.ws.security.saml that throw WSSecurityException
static java.security.cert.X509Certificate[] SAMLUtil.getCertificatesFromSAML(org.w3c.dom.Element elem)
          Extracts the certificate(s) from the SAML token reference.
static java.lang.String SAMLUtil.getAssertionId(org.w3c.dom.Element envelope, java.lang.String elemName, java.lang.String nmSpace)
           
 org.w3c.dom.Document WSSignSAMLEnvelope.build(org.w3c.dom.Document doc, Crypto userCrypto, org.opensaml.SAMLAssertion assertion, Crypto issuerCrypto, java.lang.String issuerKeyName, java.lang.String issuerKeyPW)
          Builds a signed soap envelope with SAML token.
 

Uses of WSSecurityException in org.apache.ws.security.util
 

Methods in org.apache.ws.security.util that throw WSSecurityException
static byte[] Base64.decode(java.lang.String encoded)
          Decodes Base64 data into octects
static javax.crypto.Cipher WSSecurityUtil.getCipherInstance(java.lang.String cipherAlgo, java.lang.String jceId)
           
static int WSSecurityUtil.decodeAction(java.lang.String action, java.util.Vector actions)
           
 



Copyright © 2004-2006 Apache Web Services. All Rights Reserved.