Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Access Manager
Access Manager provides a centralized environment to define, store, and maintain security information for Cognos business information applications. In one central location, you can set up and maintain secure user access to data, such as cubes and reports that are created in other Cognos applications. With Access Manager, you can also set up and maintain user sign on information and auto-access privileges for the data sources and servers that contain the required data. You must use Access Manager with: Architect Cognos Query Upfront Impromptu Web Reports Visualizer NoticeCast You can choose to use Access Manager with: Impromptu PowerPlay Transformer You should plan your security strategy and implement it in Access Manager before you start using other Cognos products. First, you must identify and create users. Then you must decide how you want to group users with similar needs for access to information, and give them memberships in user classes. These user classes are given access privileges to the required application servers, such as PowerPlay Enterprise Server and Transformer Server, and data sources, such as Oracle, Sybase, and local cubes. After you set up your security information in Access Manager, you apply that information in the Other Cognos products.
1.1
1.2
'*** Create and log into the object *** Set objAuthApp = CreateObject("Authenticator2.Application") Set objAuthDoc = objAuthApp.Documents.OpenWithBasicSignon("Namespace", _ "Administrator", "password", 0) '*** Sets the Root User Class as the Parent and adds a child class *** Set objRootClass = objAuthDoc.RootUserClass Set objUserClass = objRootClass.UserClasses.add("NewUserClass") '*** Creates two new classes UNDER the child class from previous step *** objUserClass = objRootClass.UserClasses("NewUserClass").UserClasses.add("NewClass_sub1") objUserClass = objRootClass.UserClasses("NewUserClass").UserClasses("NewClass_sub1"). UserClasses.Add_ ("NewClass_sub2") objAuthApp.Quit End Sub In the above example, three new user classes are created at various levels beneath the Root User class. Assuming that there were no pre-existing user classes, the resulting hierarchy would look like this: - RootUser Class - NewUserClass - NewClass_sub1 - NewClass_sub2
1.3
1.4
Sub Main()
'* declare program variables Dim objAuthApp As Object Dim objLAEConfig As Object Dim objDSConfig As Object Dim laef '*Open an LAE file with the name ByUser[current year]-[currentmonth][currentday].lae laef = "C:\Temp\Backup-" & Year(Now) & "-" & Month(Now) & "-" & Day(Now) & ".lae" ''* Open Access Manager with appropriate parameters '* The namespace used in this example is Cognos '* The user is Administrator and the password is Admin1234 '* The top level for this example is RootUserClass Set objAuthApp = CreateObject("Authenticator2.Application") Set objLAEConfig = objAuthApp.LAEConfigurations.Add(laef) Set objDSConfig = objAuthApp.DSConfigurations.Add _ ("directory server name", 389, "o=Cognos,c=CA", 0) objAuthApp.Export "Default", "Administrator", "password", True objAuthApp.Quit Set objLAEConfig = Nothing Set objAuthApp = Nothing End Sub
1.5
The document attached below explains how to create and implement the trusted signon plug-in.
1.6
1.7
Set objLAEConfig = objAuthApp.LAEConfigurations.Add(laef) Set objDSConfig = objAuthApp.DSConfigurations.Add _ ("directory server name", 389, "o=Cognos,c=CA", 0) objAuthApp.Export "Default", "Administrator", "password", True objAuthApp.Quit Set objLAEConfig = Nothing Set objAuthApp = Nothing End Sub
1.8
Single Sign On
The document attached below illustrates the Steps to SSO Enable Cognos Application.