org.globus.wsrf.impl.security.authentication.encryption
Class GssEncryptedSOAPEnvelopeBuilder
java.lang.Object
org.apache.ws.security.message.WSBaseMessage
org.apache.ws.security.message.WSEncryptBody
org.globus.wsrf.impl.security.authentication.encryption.GssEncryptedSOAPEnvelopeBuilder
- public class GssEncryptedSOAPEnvelopeBuilder
- extends org.apache.ws.security.message.WSEncryptBody
Used for GSI secure conversation encryption. Encrypts the body of
the message and inserts relevant information into SOAP header.
| Fields inherited from class org.apache.ws.security.message.WSEncryptBody |
embeddedKey, embeddedKeyName, encCanonAlgo, encryptionKey, keyEncAlgo, parentNode, securityTokenReference, symEncAlgo, symmetricKey, useThisCert |
| Fields inherited from class org.apache.ws.security.message.WSBaseMessage |
actor, doDebug, keyIdentifierType, mustunderstand, parts, password, timeToLive, user, wssConfig |
|
Method Summary |
javax.xml.soap.SOAPEnvelope |
build(javax.xml.soap.SOAPEnvelope envelope)
|
javax.xml.soap.SOAPMessage |
buildMessage(javax.xml.soap.SOAPEnvelope env)
|
private java.lang.String |
getContextId()
|
| Methods inherited from class org.apache.ws.security.message.WSEncryptBody |
build, createCipherValue, createDataRefList, createEnrcyptedKey, getEncryptionKey, getSecurityTokenReference, getSymmetricEncAlgorithm, getSymmetricKey, setEmbeddedKeyName, setEncCanonicalization, setKey, setKeyEnc, setParentNode, setSecurityTokenReference, setSymmetricEncAlgorithm, setSymmetricKey, setUserInfo, setUseThisCert |
| Methods inherited from class org.apache.ws.security.message.WSBaseMessage |
getKeyIdentifierType, insertSecurityHeader, setActor, setBodyID, setKeyIdentifierType, setMustUnderstand, setParts, setTimeToLive, setUserInfo, setWsuId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALGORITHM
public static final java.lang.String ALGORITHM
- See Also:
- Constant Field Values
logger
private static org.apache.commons.logging.Log logger
context
protected org.ietf.jgss.GSSContext context
contextId
protected java.lang.String contextId
msgContext
protected javax.xml.rpc.handler.MessageContext msgContext
crypto
protected static ContextCrypto crypto
GssEncryptedSOAPEnvelopeBuilder
public GssEncryptedSOAPEnvelopeBuilder(javax.xml.rpc.handler.MessageContext msgContext,
SecurityContext context)
GssEncryptedSOAPEnvelopeBuilder
protected GssEncryptedSOAPEnvelopeBuilder(javax.xml.rpc.handler.MessageContext msgContext,
org.ietf.jgss.GSSContext context,
java.lang.String contextId)
getContextId
private java.lang.String getContextId()
build
public javax.xml.soap.SOAPEnvelope build(javax.xml.soap.SOAPEnvelope envelope)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildMessage
public javax.xml.soap.SOAPMessage buildMessage(javax.xml.soap.SOAPEnvelope env)
throws java.lang.Exception
- Throws:
java.lang.Exception