Package org.forgerock.openam.license
Interface LicensePresenter
-
- All Known Implementing Classes:
CLILicensePresenter
public interface LicensePresenterInterface between OpenAM modules and the license system. Abstracts away the interaction between the user and the presentation/acceptance of licenses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNotice()Returns a notice to display to the user, indicating that all licenses must be accepted for the user to be able to continue.voidpresentLicenses(boolean preAccept)Displays license(s) to the user.
-
-
-
Method Detail
-
presentLicenses
void presentLicenses(boolean preAccept) throws LicenseRejectedExceptionDisplays license(s) to the user. Displays a set of licenses to the user, prompting to ensure that all licenses are accepted.- Parameters:
preAccept- Whether or not to auto-accept the license(s) displayed- Throws:
LicenseRejectedException- If the licence is rejected.
-
getNotice
String getNotice()
Returns a notice to display to the user, indicating that all licenses must be accepted for the user to be able to continue.- Returns:
- The notice to display to the user.
-
-