public class LicenseChecker extends Object
Constructor and Description |
---|
LicenseChecker(LicenseLocator locator,
LicenseLog log,
User user,
DebugLog debug)
Constructs the license checker with the given license locator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkLicenseAcceptance()
Checks whether the user has accepted all required license terms and prompts them to do so via the CLI if not.
|
@Inject public LicenseChecker(LicenseLocator locator, LicenseLog log, User user, DebugLog debug)
locator
- used to locate required license terms.log
- the log to use to record license acceptance.user
- the interface to interact with the current user.debug
- the debug log.NullPointerException
- if any of the arguments are null.IllegalArgumentException
- if the User.getName()
is null or
empty.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.