Sample.java is the base class implementation for the samples programs. The base class performs the following tasks:
Initializes security using the configuration available in the Oracle's Hyperion Shared Services Registry
Logs in as the admin user
In addition to java.util.HashMap and java.util.Map, Sample.java uses the following classes:
CSSAPIIF, which provides an interface to the security platform.
CSSDirectoryManagementAPIIF, which is used to create, retrieve, update and delete users, groups, and roles.
CSSException, which captures operational exceptions and error codes.
CSSSystem, which provides access to the security platform.
CSSUserProvisioningAPIIF, which supports provisioning of users and groups, and authorization using roles.
CSSGroupIF, which represents a group in the security platform and the directories.
CSSPrincipalIF, which specifies the entity that interacts with the security system.
CSSRoleIF, which depicts a role, and holds properties that classify that role and underlies its importance in the authorization process.
CSSUserIF, which represents a user in the security platform.