org.globus.wsrf.impl.security.authentication.wssec
Class GSSSecurityEngine

java.lang.Object
  extended byorg.apache.ws.security.WSSecurityEngine
      extended byorg.globus.wsrf.impl.security.authentication.wssec.GSSSecurityEngine

public class GSSSecurityEngine
extends org.apache.ws.security.WSSecurityEngine


Field Summary
private static GSSSecurityEngine engine
           
private static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.ws.security.WSSecurityEngine
binaryToken, ENCRYPTED_KEY, REFERENCE_LIST, SAML_TOKEN, SIGNATURE, timeStamp, usernameToken, wssConfig
 
Constructor Summary
GSSSecurityEngine()
           
 
Method Summary
static SecurityContext getContext(org.apache.axis.MessageContext msgContext, org.apache.xml.security.keys.KeyInfo keyInfo)
           
private static SecurityContext getContext(org.apache.axis.MessageContext msgContext, java.lang.String contextId)
           
static org.apache.ws.security.WSSecurityEngine getInstance()
           
protected  javax.crypto.SecretKey getSharedKey(org.w3c.dom.Element keyInfoElem, java.lang.String algorithm, javax.security.auth.callback.CallbackHandler cb)
           
 
Methods inherited from class org.apache.ws.security.WSSecurityEngine
decryptDataRefEmbedded, getCertificatesFromSAML, getCertificatesTokenReference, getDecodedBase64EncodedData, getDecryptedBytes, getInstance, handleEncryptedKey, handleEncryptedKey, handleEncryptedKey, handleSAMLToken, handleTimestamp, handleUsernameToken, processSecurityHeader, processSecurityHeader, processSecurityHeader, verifyXMLSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

engine

private static GSSSecurityEngine engine

log

private static org.apache.commons.logging.Log log
Constructor Detail

GSSSecurityEngine

public GSSSecurityEngine()
Method Detail

getInstance

public static org.apache.ws.security.WSSecurityEngine getInstance()

getSharedKey

protected javax.crypto.SecretKey getSharedKey(org.w3c.dom.Element keyInfoElem,
                                              java.lang.String algorithm,
                                              javax.security.auth.callback.CallbackHandler cb)
                                       throws org.apache.ws.security.WSSecurityException
Throws:
org.apache.ws.security.WSSecurityException

getContext

public static SecurityContext getContext(org.apache.axis.MessageContext msgContext,
                                         org.apache.xml.security.keys.KeyInfo keyInfo)
                                  throws WSSecurityException
Throws:
WSSecurityException

getContext

private static SecurityContext getContext(org.apache.axis.MessageContext msgContext,
                                          java.lang.String contextId)
                                   throws WSSecurityException
Throws:
WSSecurityException