Class Saml2LogoutValidatorResult
java.lang.Object
org.springframework.security.saml2.provider.service.authentication.logout.Saml2LogoutValidatorResult
A result emitted from a SAML 2.0 Logout validation attempt
- Since:
- 5.6
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturn error details regarding the validation attemptbooleanSay whether this result indicates successstatic Saml2LogoutValidatorResultsuccess()Construct a successfulSaml2LogoutValidatorResultwithErrors(Saml2Error... errors) Construct aSaml2LogoutValidatorResult.Builder, starting with the givenerrors.
-
Method Details
-
hasErrors
public boolean hasErrors()Say whether this result indicates success- Returns:
- whether this result has errors
-
getErrors
Return error details regarding the validation attempt- Returns:
- the collection of results in this result, if any; returns an empty list otherwise
-
success
Construct a successfulSaml2LogoutValidatorResult- Returns:
- an
Saml2LogoutValidatorResultwith no errors
-
withErrors
Construct aSaml2LogoutValidatorResult.Builder, starting with the givenerrors. Note that a result with no errors is considered a success.- Parameters:
errors-- Returns:
-