public abstract class ValidatorImpl extends Object implements Validator
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.collect.ImmutableSet<String> |
PKI_SAML_CONTEXTS |
protected SimpleSign |
simpleSign |
protected SystemCrypto |
systemCrypto |
| Constructor and Description |
|---|
ValidatorImpl(SystemCrypto systemCrypto,
Map<String,EntityInformation> serviceProviders) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDestination(org.opensaml.saml.saml2.core.AuthnRequest authnRequest) |
protected Map<String,EntityInformation> |
getServiceProviders() |
SimpleSign |
getSimpleSign() |
protected SystemCrypto |
getSystemCrypto() |
void |
validateAuthnRequest(org.opensaml.saml.saml2.core.AuthnRequest authnRequest,
String samlRequest,
String relayState,
String signatureAlgorithm,
String signature,
boolean strictSignature)
Validates the given AuthnRequest using the provided signatureAlgorithm and signature, if
applicable.
|
void |
validateRelayState(String relayState)
Validates the given relayState.
|
protected static final com.google.common.collect.ImmutableSet<String> PKI_SAML_CONTEXTS
protected final SystemCrypto systemCrypto
protected SimpleSign simpleSign
public ValidatorImpl(SystemCrypto systemCrypto, Map<String,EntityInformation> serviceProviders)
public void validateAuthnRequest(org.opensaml.saml.saml2.core.AuthnRequest authnRequest,
String samlRequest,
String relayState,
String signatureAlgorithm,
String signature,
boolean strictSignature)
throws SimpleSign.SignatureException,
ValidationException
ValidatorvalidateAuthnRequest in interface ValidatorSimpleSign.SignatureExceptionValidationExceptionpublic void validateRelayState(String relayState)
ValidatorvalidateRelayState in interface Validatorprotected void checkDestination(org.opensaml.saml.saml2.core.AuthnRequest authnRequest)
throws ValidationException
ValidationExceptionprotected SystemCrypto getSystemCrypto()
public SimpleSign getSimpleSign()
protected Map<String,EntityInformation> getServiceProviders()
This work is licensed under a Creative Commons Attribution 4.0 International License.