OpenWGA 7.0 - OpenWGA Concepts and Features

Design and development » Service APIs

Service APIs bundled with OpenWGA

The following interface classes come pre-bundled with OpenWGA. The usage of all shoud be documented in WGA Server API Javadoc reference.
Name Interface class Purpose
Administrative mail service de.innovationgate.wgpublisher.WGAAdminNotificationService Sending mail messages to the administrator of this system.
Application log service de.innovationgate.wgpublisher.log.AppLog Retrieving application log content
Hashed password reading/writing service de.innovationgate.wgpublisher.HashedPasswordService Service for reading/writing hashed password items like <tml:input type="hashedpassword"> creates them are used as password items on authentication content stores. This effectively is a high-level version of the uni-directional encryption service which additionally provides the storage format needed for these items.
Image link reader service de.innovationgate.wgpublisher.webtml.utils.ImageLinkReader Reading and parsing image links stored in content items
Image scaling (format-neutral) de.innovationgate.utils.ImageScaler Provides the currently active image scaler implementation, usable for any image format. Same as WGA.createImageScaler() on WGA Server API.
Image scaling (mimetype-specific) de.innovationgate.utils.MimeTypeSpecificImageScalerFactory Provides image scalers for specific mime types
Registration for temporary downloads de.innovationgate.wgpublisher.TemporaryDownloadService Registers files on the servers file system with a users session, so only this user can download the file for a limited time of at least 30 minutes. Does the registration and provides the download URL.
Uni-directional encryption service de.innovationgate.utils.security.HashingService Encrypts binary data into an unrecoverable form, which however can be compared to other data for equality. Interface provides both, encryption and comparision functionality.