Establishing Security Bridges for Your Business Intelligence Tool
This topic provides an overview of security bridges and discusses PeopleSoft-delivered Application Programming Interfaces (APIs).
Role Collection
This class is a collection class of individual Role classes. The collection will inherit the normal Java methods to traverse the collection, for example, next(), first() and so forth. Also methods such as add(), remove() can be used and implemented as an ArrayList.
Public Methods
Name |
RoleCollection(JDBCConnection dbCon) |
Returns |
Nothing |
Parameters |
JDBCConnection dbCon. A valid JDBC Connection. |
Description |
This is the constructor used to instantiate the Role collection. |
Name |
LoadAllRoles() |
Returns |
Nothing |
Parameters |
None |
Description |
This method clears out the current elements in the collection and load it with all the currently defined Roles in EPM. |
Role
This class defines a single Role defined in the EPM row-level security framework.
Public Methods
Name |
getUsers(); |
Returns |
List of UserNames |
Parameters |
None |
Description |
The method will return a List of User Names that belong to this Role. A standard Java List object can be used to implement this. |
Name |
getAccessibleDimensions(); |
Returns |
List of Dimension Names |
Parameters |
None |
Description |
The method will return a List Dimension names that this Role can access. |
Name |
getName(); |
Returns |
String Name |
Parameters |
None |
Description |
Get method for Name |
Name |
getType(); |
Returns |
String Name |
Parameters |
None |
Description |
Get method for Type |
Name |
getDescription(); |
Returns |
Stirng Descr |
Parameters |
None |
Description |
Get method for Description |
Name |
getLongDescription(); |
Returns |
String Description |
Parameters |
None |
Description |
Getter method for Long Description |
User Collection
This class contains the same information as the Role Collection class. The only difference is that the values for this class represent user collection and not role collection.
User
This class contains information about a single User defined in EPM Security.
Public Methods
Name |
User(JDBCConnection dbCon, String Name); |
Returns |
Nothing |
Parameters |
JDBC Connection, String UserName |
Description |
The constructor for the User class. Takes Name as the one and only parameter. |
Name |
getRoles(); |
Returns |
List of RoleNames |
Parameters |
None |
Description |
The method will instantiate a List of Role Names that contain this User. |
Name |
getName(); |
Returns |
String Name |
Parameters |
None |
Description |
Get method for Name |
Dimension Collection
This class contains information about the list of dimensions defined as secured dimensions in EPM Security. Each element of the collection is a Dimension class that represents one secured Dimension in the EPM system. The collection will inherit the normal Java methods to traverse the collection, for example, next(), first() and so forth. Also methods such as add(), remove() can be used.
Public Methods
Name |
LoadAllDimensions() |
Returns |
Nothing |
Parameters |
None |
Description |
This method will clear out the current elements in the collection and load it with all the currently secured dimensions in EPM. |
Dimension
This class contains information about a single Dimension defined in the EPM database.
Public Methods
Name |
getRoles() |
Returns |
List of Role Names |
Parameters |
Nothing |
Description |
This method will return a list of all Role names that have access to this dimension. |
Name |
getUsers() |
Returns |
List of User Names |
Parameters |
Nothing |
Description |
This method will return a list of all User names that have access to this dimension. |
Name |
getDimName() |
Returns |
Stirng Name |
Parameters |
None |
Description |
Get method for Name. |
Name |
getDimTableName() |
Returns |
String TableName |
Parameters |
None |
Description |
Get method for Table Name. |
Name |
getDimKeyName() |
Returns |
String KeyName |
Parameters |
None |
Description |
Get method for Key Name. |
Name |
isSecured() |
Returns |
Boolean |
Parameters |
None |
Description |
Get method for isSecured. |
MetricCollection
This class contains information about metric collection.
Public Methods
Name |
LoadAllMetrics() |
Returns |
Nothing |
Parameters |
None |
Description |
This method will clear out the current elements in the collection and load it with all the currently secured metrics in EPM. |
Metric
This class contains information about the metrics (columns) setup in EPM Security. This is for the Column-level security.
Public Methods
Name |
getColName() |
Returns |
String Column Name |
Parameters |
None. |
Description |
This method will return the column name that the metric defines. |
Name |
getRecName() |
Returns |
String Record Name |
Parameters |
None |
Description |
This method will return the Record name that the metric defines. |
JDBCConnection
This class is used to connect to a database using a JDBC driver.
Public Methods
Name |
makeConnection() |
Returns |
Nothing |
Parameters |
None |
Description |
This method will connect to a JDBC database. The parameters needed to connect will be read from jdbcconnection.property file. |
Name |
closeConnection() |
Returns |
Nothing |
Parameters |
None |
Description |
This method will close the connection. |
Name |
getDbResultSet(String pTheQuery) |
Returns |
ResultSet |
Parameters |
Query sent to the database. |
Description |
This method will execute the query and return a ResultSet object. |