| Package | Description |
|---|---|
| org.pac4j.saml.context | |
| org.pac4j.saml.sso |
| Modifier and Type | Method and Description |
|---|---|
ExtendedSAMLMessageContext |
Saml2ContextProvider.buildSpAndIdpContext(WebContext webContext) |
ExtendedSAMLMessageContext |
Saml2ContextProvider.buildSpContext(WebContext webContext) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Saml2ResponseValidator.isValidBearerSubjectConfirmationData(org.opensaml.saml2.core.SubjectConfirmationData data,
ExtendedSAMLMessageContext context)
Validate Bearer subject confirmation data
- notBefore
- NotOnOrAfter
- recipient
|
protected void |
Saml2ResponseValidator.validateAssertion(org.opensaml.saml2.core.Assertion assertion,
ExtendedSAMLMessageContext context,
org.opensaml.xml.signature.SignatureTrustEngine engine,
org.opensaml.saml2.encryption.Decrypter decrypter)
Validate the given assertion:
- issueInstant
- issuer
- subject
- conditions
- authnStatements
- signature
|
protected void |
Saml2ResponseValidator.validateAssertionConditions(org.opensaml.saml2.core.Conditions conditions,
ExtendedSAMLMessageContext context)
Validate assertionConditions
- notBefore
- notOnOrAfter
|
protected void |
Saml2ResponseValidator.validateAssertionSignature(org.opensaml.xml.signature.Signature signature,
ExtendedSAMLMessageContext context,
org.opensaml.xml.signature.SignatureTrustEngine engine)
Validate assertion signature.
|
protected void |
Saml2ResponseValidator.validateAuthenticationStatements(List<org.opensaml.saml2.core.AuthnStatement> authnStatements,
ExtendedSAMLMessageContext context)
Validate the given authnStatements:
- authnInstant
- sessionNotOnOrAfter
|
protected void |
Saml2ResponseValidator.validateIssuer(org.opensaml.saml2.core.Issuer issuer,
ExtendedSAMLMessageContext context)
Validate issuer format and value.
|
void |
Saml2ResponseValidator.validateSamlProtocolResponse(org.opensaml.saml2.core.Response response,
ExtendedSAMLMessageContext context,
org.opensaml.xml.signature.SignatureTrustEngine engine)
Validates the SAML protocol response:
- IssueInstant
- Issuer
- StatusCode
- Signature
|
void |
Saml2ResponseValidator.validateSamlResponse(ExtendedSAMLMessageContext context,
org.opensaml.xml.signature.SignatureTrustEngine engine,
org.opensaml.saml2.encryption.Decrypter decrypter)
Validates the SAML protocol response and the SAML SSO response.
|
void |
Saml2ResponseValidator.validateSamlSSOResponse(org.opensaml.saml2.core.Response response,
ExtendedSAMLMessageContext context,
org.opensaml.xml.signature.SignatureTrustEngine engine,
org.opensaml.saml2.encryption.Decrypter decrypter)
Validates the SAML SSO response by finding a valid assertion with authn statements.
|
protected void |
Saml2ResponseValidator.validateSubject(org.opensaml.saml2.core.Subject subject,
ExtendedSAMLMessageContext context,
org.opensaml.saml2.encryption.Decrypter decrypter)
Validate the given subject by finding a valid Bearer confirmation.
|
Copyright © 2014. All rights reserved.