Class ClientRedirectValidation.ClientRedirectResponse
java.lang.Object
com.broadleafcommerce.auth.server.service.ClientRedirectValidation.ClientRedirectResponse
- Enclosing class:
- ClientRedirectValidation
Encapsulates the result of a redirect URI validation.
-
Constructor Summary
ConstructorsConstructorDescriptionClientRedirectResponse(boolean valid, String sanitizedUrl) Creates a newClientRedirectResponseinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe URL to use for redirection.inthashCode()booleanisValid()Whether the requested redirect URI is valid and trusted for the client.voidsetSanitizedUrl(String sanitizedUrl) The URL to use for redirection.voidsetValid(boolean valid) Whether the requested redirect URI is valid and trusted for the client.toString()
-
Constructor Details
-
ClientRedirectResponse
Creates a newClientRedirectResponseinstance. -
ClientRedirectResponse
public ClientRedirectResponse()
-
-
Method Details
-
isValid
public boolean isValid()Whether the requested redirect URI is valid and trusted for the client. -
getSanitizedUrl
-
setValid
public void setValid(boolean valid) Whether the requested redirect URI is valid and trusted for the client. -
setSanitizedUrl
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-