@PreMatching public abstract class AbstractSamlInHandler extends Object implements javax.ws.rs.container.ContainerRequestFilter
Constructor and Description |
---|
AbstractSamlInHandler() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkBearer(org.apache.wss4j.common.saml.SamlAssertionWrapper assertionWrapper,
Certificate[] tlsCerts) |
protected boolean |
checkHolderOfKey(Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper assertionWrapper,
Certificate[] tlsCerts) |
protected boolean |
checkSenderVouches(Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper assertionWrapper,
Certificate[] tlsCerts)
Check the sender-vouches requirements against the received assertion.
|
protected void |
checkSubjectConfirmationData(Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper assertion) |
protected void |
configureAudienceRestriction(Message msg,
org.apache.wss4j.dom.handler.RequestData reqData) |
protected org.apache.wss4j.common.saml.SAMLKeyInfo |
createKeyInfoFromDefaultAlias(org.apache.wss4j.common.crypto.Crypto sigCrypto) |
protected Element |
readToken(Message message,
InputStream tokenStream) |
void |
setKeyInfoMustBeAvailable(boolean keyInfoMustBeAvailable) |
protected void |
setSecurityContext(Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper wrapper) |
void |
setSecurityContextProvider(SecurityContextProvider p) |
void |
setValidator(org.apache.wss4j.dom.validate.Validator validator) |
protected void |
throwFault(String error,
Exception ex) |
protected org.apache.wss4j.common.saml.SamlAssertionWrapper |
toWrapper(Element tokenElement) |
protected void |
validateToken(Message message,
Element tokenElement) |
protected void |
validateToken(Message message,
InputStream tokenStream) |
protected void |
validateToken(Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper assertion) |
public void setValidator(org.apache.wss4j.dom.validate.Validator validator)
public void setSecurityContextProvider(SecurityContextProvider p)
protected void validateToken(Message message, InputStream tokenStream)
protected Element readToken(Message message, InputStream tokenStream)
protected org.apache.wss4j.common.saml.SamlAssertionWrapper toWrapper(Element tokenElement)
protected void validateToken(Message message, org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)
protected void configureAudienceRestriction(Message msg, org.apache.wss4j.dom.handler.RequestData reqData)
protected org.apache.wss4j.common.saml.SAMLKeyInfo createKeyInfoFromDefaultAlias(org.apache.wss4j.common.crypto.Crypto sigCrypto) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
protected void checkSubjectConfirmationData(Message message, org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)
protected void setSecurityContext(Message message, org.apache.wss4j.common.saml.SamlAssertionWrapper wrapper)
protected boolean checkSenderVouches(Message message, org.apache.wss4j.common.saml.SamlAssertionWrapper assertionWrapper, Certificate[] tlsCerts)
protected boolean checkHolderOfKey(Message message, org.apache.wss4j.common.saml.SamlAssertionWrapper assertionWrapper, Certificate[] tlsCerts)
protected boolean checkBearer(org.apache.wss4j.common.saml.SamlAssertionWrapper assertionWrapper, Certificate[] tlsCerts)
public void setKeyInfoMustBeAvailable(boolean keyInfoMustBeAvailable)
Apache CXF