org.globus.wsrf.impl.security.authentication.securemsg
Class X509EncryptHandler
java.lang.Object
javax.xml.rpc.handler.GenericHandler
org.globus.wsrf.impl.security.authentication.securemsg.X509EncryptHandler
- All Implemented Interfaces:
- javax.xml.rpc.handler.Handler
- public class X509EncryptHandler
- extends javax.xml.rpc.handler.GenericHandler
Used for GSI Secure Message. Encrypts and adds relevant information
into the security header.
|
Field Summary |
protected static org.globus.util.I18n |
i18n
|
private static org.apache.commons.logging.Log |
log
|
|
Method Summary |
private boolean |
encryptionRequested(javax.xml.rpc.handler.soap.SOAPMessageContext ctx)
|
javax.xml.namespace.QName[] |
getHeaders()
|
private java.security.cert.X509Certificate |
getPublicCredential(javax.security.auth.Subject subject)
|
boolean |
handleMessage(javax.xml.rpc.handler.soap.SOAPMessageContext ctx,
java.security.cert.X509Certificate clientCert)
|
boolean |
handleRequest(javax.xml.rpc.handler.MessageContext context)
|
boolean |
handleResponse(javax.xml.rpc.handler.MessageContext context)
|
| Methods inherited from class javax.xml.rpc.handler.GenericHandler |
destroy, handleFault, init |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i18n
protected static org.globus.util.I18n i18n
log
private static org.apache.commons.logging.Log log
X509EncryptHandler
public X509EncryptHandler()
handleRequest
public boolean handleRequest(javax.xml.rpc.handler.MessageContext context)
handleResponse
public boolean handleResponse(javax.xml.rpc.handler.MessageContext context)
handleMessage
public boolean handleMessage(javax.xml.rpc.handler.soap.SOAPMessageContext ctx,
java.security.cert.X509Certificate clientCert)
getHeaders
public javax.xml.namespace.QName[] getHeaders()
getPublicCredential
private java.security.cert.X509Certificate getPublicCredential(javax.security.auth.Subject subject)
encryptionRequested
private boolean encryptionRequested(javax.xml.rpc.handler.soap.SOAPMessageContext ctx)