readme.txt 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. * Licensed Materials - Property of IBM
  3. *
  4. * IBM Cognos Products: CAMAAA
  5. *
  6. * (C) Copyright IBM Corp. 2005, 2012
  7. *
  8. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  9. * IBM Corp.
  10. */
  11. Running the IBM Cognos SDK custom authentication TrustedSignonMapping provider sample
  12. --------------------------------------------------------------------
  13. To configure and run the sample provided, follow these steps:
  14. 1) Add the Java SDK to your path.
  15. 2) Build the sample using the command build.bat on Windows or
  16. build.sh on Unix.
  17. 3) Add the jar file to your IBM Cognos 10 classpath or copy the jar file to
  18. <install>/webapps/p2pd/WEB-INF/lib.
  19. 4) Copy the domainMapping.xml configuration file to the <install>/configuration
  20. directory.
  21. 5) Edit the domainMapping.xml configuration file as follows:
  22. Line 1: abc.cde.com=namespaceID1
  23. <domainName>=<mapped to the namespaceID>
  24. Defines the mapping between the domain name and the namespaceID. namespaceID is case-sensitive.
  25. For example,
  26. a) for a remote username in this format: userA@abc.cde.com, use abc.cde.com=namespaceID1
  27. b) for a remote username is this format: testABC\userA, use testABC=namespaceID1
  28. Line 2:domainSplitDelimiter=@
  29. <domainSplitDelimiter>=<delimiter>
  30. Defines the delimiter to split out domain information based on the remote username.
  31. For example,
  32. a) for a remote username in this format: userA@abc.cde.com, use domainSplitDelimiter=@
  33. b) for a remote username is this format: testABC\userA, use domainSplitDelimiter=\
  34. Line 3: domainSplitPosition=after
  35. <domainSplitPosition>=<before|after|none>
  36. Defines which part to extract as the domain name based on the remote_user value.
  37. For example,
  38. a) for a remote username in this format: userA@abc.cde.com (where abc.cde.com is the domain), use domainSplitPostion=after
  39. b) for a remote username is this format: testABC\userA, use domainSplitPosition=before
  40. Line 4: remoteUserSplitPosition=before
  41. <remoteUserSplitPosition>=<before|after|none>
  42. Defines which part to extract as remote_user
  43. For example, if the remote username is userA@abc.cde.com,
  44. a) to pass the whole value to the namespaceID1, set remoteUserSplitPosition=none
  45. b) to only pass userA to namespaceID1, set remoteUserSpllitPosition=before
  46. 6) In IBM Cognos Configuration, configure the Custom Java namespace
  47. using the configuration tool. Note that the class name and NamespaceID
  48. are case sensitive.
  49. Type: Custom Java provider
  50. Namespace ID: Sample1
  51. Java class name: TrustedSignonMapping
  52. 7) Apply changes and restart IBM Cognos 10.
  53. The new authentication namespace should now appear in IBM Cognos 10 for
  54. logon and security administration tasks within IBM Cognos 10.
  55. NOTE: Should IBM Cognos 10 fail to start up once the new namespace
  56. is configured, please verify your configuration. IBM Cognos 10 will
  57. not start up if it cannot successfully communicate to the
  58. authentication source.