/forgerock/openam-v13/openam-tools/openam-license-core/src/main/java/org/forgerock/openam/license/ |
H A D | package-info.java | 18 * Provides common code for looking up click-through license agreements to display to the user during installation 19 * or upgrade of OpenAM. Includes a {@link org.forgerock.openam.license.LicenseLocator} interface for locating a 20 * license file within the installation archive/war and basic domain objects for licenses and required license 25 package org.forgerock.openam.license
|
H A D | LicenseLog.java | 17 package org.forgerock.openam.license; 22 * Stores a persistent log of whether a user has accepted a particular license or not to some backing store. This can 23 * then be used to avoid presenting the license to the same user again in the future. 29 * Logs that the given user has accepted the given license terms. 31 * @param license the license that the user accepted 32 * @param user the user who accepted the license 33 * @param acceptedDate the timestamp at which the license was accepted. 35 void logLicenseAccepted(License license, String user, Date acceptedDate); argument 38 * Determines whether the given user has accepted the given license accordin 44 isLicenseAccepted(License license, String user) argument [all...] |
H A D | PersistentLicense.java | 17 package org.forgerock.openam.license; 23 * prompting the user to accept the license more than once. 32 * Creates a new license with the given license text. 35 * @param license the license to copy. 36 * @param user the user that this license is being displayed to. 37 * @throws NullPointerException if the license text is null. 39 public PersistentLicense(LicenseLog log, License license, String user) { argument 40 super(license); [all...] |
H A D | LicenseGuiceModule.java | 16 package org.forgerock.openam.license; 32 .toInstance(new String[]{"legal-notices/license.txt"});
|
H A D | LicenseLocator.java | 17 package org.forgerock.openam.license; 30 * @throws MissingLicenseException if a required license cannot be found by the system.
|
H A D | LicenseRejectedException.java | 17 package org.forgerock.openam.license; 20 * Error thrown when a user rejects the license terms. This exception indicates that installation or update should be 29 * Constructs the exception indicating that the given license was rejected by the user. 31 * @param rejectedLicense the license that was rejected. 34 super("User rejected required license terms"); 39 * Returns the license that was rejected by the user. 41 * @return the rejected license.
|
H A D | MissingLicenseException.java | 17 package org.forgerock.openam.license; 20 * Indicates that a license file could not be found by the license locator. This is a deployment/packaging error. 27 * Initialises the exception reporting that the given named license could not be found. 29 * @param licenseName the name of the license or license file that could not be found. 32 super("A required license could not be found: " + licenseName); 37 * Returns the name of the license that was rejected by the user. 39 * @return the rejected license name.
|
H A D | ClasspathLicenseLocator.java | 17 package org.forgerock.openam.license; 32 * Constructs a classpath license locator with the given classloader, charset and list of license files to load. 35 * @param charset the charset to use for decoding license files. 36 * @param licenseFiles the list of license file names to load. 53 * @return an input stream to the license file, or null if not found.
|
H A D | PersistentLicenseLocator.java | 17 package org.forgerock.openam.license; 23 * Decorator license locator that returns {@link PersistentLicense} instances that remember license acceptance in a 24 * log file. Delegates actual license locating to another license locator. 34 * Constructs the license locator with the given delegate locator, using the given log for recording license 38 * @param log the log to record license acceptance in. 43 throw new NullPointerException("delegate license locator is null"); 46 throw new NullPointerException("license lo [all...] |
/forgerock/openam-v13/openam-tools/openam-license-manager-cli/src/main/java/org/forgerock/openam/license/ |
H A D | package-info.java | 18 * Provides common code for presenting click-through license agreements to the user during installation 23 package org.forgerock.openam.license
|
H A D | LicensePresenterGuiceModule.java | 16 package org.forgerock.openam.license;
|
H A D | CLIPresenterClasspathLicenseLocator.java | 17 package org.forgerock.openam.license; 29 final static String[] LICENSES = { "license.txt" }; 39 * Constructs a CLI presenter classpath license locator with the given classloader, charset 40 * and list of license files to load. 43 * @param charset the charset to use for decoding license files.
|
H A D | LicensePresenter.java | 17 package org.forgerock.openam.license; 20 * Interface between OpenAM modules and the license system. 28 * Displays license(s) to the user. 33 * @param preAccept Whether or not to auto-accept the license(s) displayed
|
/forgerock/openam-v13/openam-tools/openam-license-servlet/src/main/java/org/forgerock/openam/license/ |
H A D | package-info.java | 18 * Provides code for looking up click-through license agreements, in servlets, to display to the user during 23 package org.forgerock.openam.license
|
/forgerock/openam/openam-tools/openam-license-core/src/main/java/org/forgerock/openam/license/ |
H A D | package-info.java | 18 * Provides common code for looking up click-through license agreements to display to the user during installation 19 * or upgrade of OpenAM. Includes a {@link org.forgerock.openam.license.LicenseLocator} interface for locating a 20 * license file within the installation archive/war and basic domain objects for licenses and required license 25 package org.forgerock.openam.license
|
H A D | LicenseLog.java | 17 package org.forgerock.openam.license; 22 * Stores a persistent log of whether a user has accepted a particular license or not to some backing store. This can 23 * then be used to avoid presenting the license to the same user again in the future. 29 * Logs that the given user has accepted the given license terms. 31 * @param license the license that the user accepted 32 * @param user the user who accepted the license 33 * @param acceptedDate the timestamp at which the license was accepted. 35 void logLicenseAccepted(License license, String user, Date acceptedDate); argument 38 * Determines whether the given user has accepted the given license accordin 44 isLicenseAccepted(License license, String user) argument [all...] |
H A D | PersistentLicense.java | 17 package org.forgerock.openam.license; 23 * prompting the user to accept the license more than once. 32 * Creates a new license with the given license text. 35 * @param license the license to copy. 36 * @param user the user that this license is being displayed to. 37 * @throws NullPointerException if the license text is null. 39 public PersistentLicense(LicenseLog log, License license, String user) { argument 40 super(license); [all...] |
H A D | LicenseGuiceModule.java | 16 package org.forgerock.openam.license; 32 .toInstance(new String[]{"legal-notices/license.txt"});
|
H A D | LicenseLocator.java | 17 package org.forgerock.openam.license; 30 * @throws MissingLicenseException if a required license cannot be found by the system.
|
H A D | LicenseRejectedException.java | 17 package org.forgerock.openam.license; 20 * Error thrown when a user rejects the license terms. This exception indicates that installation or update should be 29 * Constructs the exception indicating that the given license was rejected by the user. 31 * @param rejectedLicense the license that was rejected. 34 super("User rejected required license terms"); 39 * Returns the license that was rejected by the user. 41 * @return the rejected license.
|
H A D | MissingLicenseException.java | 17 package org.forgerock.openam.license; 20 * Indicates that a license file could not be found by the license locator. This is a deployment/packaging error. 27 * Initialises the exception reporting that the given named license could not be found. 29 * @param licenseName the name of the license or license file that could not be found. 32 super("A required license could not be found: " + licenseName); 37 * Returns the name of the license that was rejected by the user. 39 * @return the rejected license name.
|
H A D | ClasspathLicenseLocator.java | 17 package org.forgerock.openam.license; 32 * Constructs a classpath license locator with the given classloader, charset and list of license files to load. 35 * @param charset the charset to use for decoding license files. 36 * @param licenseFiles the list of license file names to load. 53 * @return an input stream to the license file, or null if not found.
|
/forgerock/openam/openam-tools/openam-license-manager-cli/src/main/java/org/forgerock/openam/license/ |
H A D | package-info.java | 18 * Provides common code for presenting click-through license agreements to the user during installation 23 package org.forgerock.openam.license
|
H A D | LicensePresenterGuiceModule.java | 16 package org.forgerock.openam.license;
|
/forgerock/openam/openam-tools/openam-license-servlet/src/main/java/org/forgerock/openam/license/ |
H A D | package-info.java | 18 * Provides code for looking up click-through license agreements, in servlets, to display to the user during 23 package org.forgerock.openam.license
|