Package ddf.security.samlp.impl
Class SamlValidator.Request
java.lang.Object
ddf.security.samlp.impl.SamlValidator
ddf.security.samlp.impl.SamlValidator.Request
- Direct Known Subclasses:
SamlValidator.PostRequest,SamlValidator.RedirectRequest
- Enclosing class:
SamlValidator
-
Nested Class Summary
Nested classes/interfaces inherited from class ddf.security.samlp.impl.SamlValidator
SamlValidator.Builder, SamlValidator.PostRequest, SamlValidator.PostResponse, SamlValidator.RedirectRequest, SamlValidator.RedirectResponse, SamlValidator.Request, SamlValidator.Response -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.opensaml.saml.saml2.core.LogoutRequestFields inherited from class ddf.security.samlp.impl.SamlValidator
builder -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidA SAML LogoutRequest must include at least one SessionIndex, if the logout is initiated by Session Participant.protected org.joda.time.DateTimeprotected org.opensaml.saml.common.SAMLVersionMethods inherited from class ddf.security.samlp.impl.SamlValidator
additionalValidation, checkId, checkSamlVersion, checkTimestamp, validate
-
Field Details
-
logoutRequest
protected final org.opensaml.saml.saml2.core.LogoutRequest logoutRequest
-
-
Method Details
-
checkSessionIndexes
protected void checkSessionIndexes()A SAML LogoutRequest must include at least one SessionIndex, if the logout is initiated by Session Participant. However, if the Session Authority initiates the logout, a SessionIndex is optional. In that case, the absence of a SessionIndex means to logout of all sessions associated with the Principal. Because the SAMLValidator does not have enough information to determine who initiated the logout, this method does not throw a ValidationException. Instead, it logs the condition. -
getSamlVersion
protected org.opensaml.saml.common.SAMLVersion getSamlVersion()- Specified by:
getSamlVersionin classSamlValidator
-
getIssueInstant
protected org.joda.time.DateTime getIssueInstant()- Specified by:
getIssueInstantin classSamlValidator
-
checkRequiredFields
- Specified by:
checkRequiredFieldsin classSamlValidator- Throws:
ValidationException
-
checkDestination
- Specified by:
checkDestinationin classSamlValidator- Throws:
ValidationException
-