Class TermsAndConditionsCallback
java.lang.Object
org.forgerock.openam.authentication.callbacks.TermsAndConditionsCallback
- All Implemented Interfaces:
Callback
A callback to collect a user's acceptance of the configured Terms & Conditions.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Get a builder for constructing a new TermsAndConditionsCallback.booleanRetrieve the acceptance.The create date of the Terms & Conditions.getTerms()Retrieve the Terms & Conditions.Retrieves the version.voidsetAccept(boolean accept) Sets whether the Terms have been accepted.
-
Method Details
-
getTerms
Retrieve the Terms & Conditions.- Returns:
- the Terms & Conditions
-
getVersion
Retrieves the version.- Returns:
- the version
-
getCreateDate
The create date of the Terms & Conditions.- Returns:
- the create date.
-
setAccept
Sets whether the Terms have been accepted.- Parameters:
accept- boolean representing the acceptance of the terms.
-
getAccept
Retrieve the acceptance.- Returns:
- the acceptance of the Terms & Conditions.
-
builder
Get a builder for constructing a new TermsAndConditionsCallback.- Returns:
- a new builder
-