Package org.apache.cxf.rs.security.xml
Class AbstractXmlSigInHandler
java.lang.Object
org.apache.cxf.rs.security.xml.AbstractXmlSecInHandler
org.apache.cxf.rs.security.xml.AbstractXmlSigInHandler
- Direct Known Subclasses:
XmlSigInHandler,XmlSigInInterceptor
-
Field Summary
Fields inherited from class org.apache.cxf.rs.security.xml.AbstractXmlSecInHandler
ENC_NS, ENC_PREFIX, SIG_NS, SIG_PREFIX, SIGNING_CERT, SIGNING_PUBLIC_KEY, WSU_NS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckSignature(Message message) protected org.apache.xml.security.signature.ReferencegetReference(org.apache.xml.security.signature.XMLSignature sig) protected StringgetUserName(org.apache.wss4j.common.crypto.Crypto crypto, Message message) protected booleanisEnveloping(Element root) voidsetKeyInfoMustBeAvailable(boolean use) voidsetPersistSignature(boolean persist) voidsetRemoveSignature(boolean remove) voidsetSignatureProperties(SignatureProperties properties) voidsetSubjectConstraints(List<String> constraints) Set a list of Strings corresponding to regular expression constraints on the subject DN of a certificateprotected ElementvalidateReference(Element root, org.apache.xml.security.signature.Reference ref) Methods inherited from class org.apache.cxf.rs.security.xml.AbstractXmlSecInHandler
getDocument, getNode, isServerGet, setAllowEmptyBody, throwFault
-
Constructor Details
-
AbstractXmlSigInHandler
public AbstractXmlSigInHandler()
-
-
Method Details
-
setRemoveSignature
public void setRemoveSignature(boolean remove) -
setPersistSignature
public void setPersistSignature(boolean persist) -
checkSignature
-
getUserName
-
isEnveloping
-
getReference
protected org.apache.xml.security.signature.Reference getReference(org.apache.xml.security.signature.XMLSignature sig) -
validateReference
-
setSignatureProperties
-
setKeyInfoMustBeAvailable
public void setKeyInfoMustBeAvailable(boolean use) -
setSubjectConstraints
Set a list of Strings corresponding to regular expression constraints on the subject DN of a certificate
-