Skip to Content

Business Objects 4.1 SP7 Java SDK Trusted Authentication

Prior to SP7, the format for the TrustedPrincipal secret was along the lines of:

SharedSecret=<long hexadecimal value>

Now in SP7 FP3, the format for the TrustedPrincipal.conf file generated for trusted authentication is:



<long base 64 value>

The question is when using the method ISessionMgr.createTrustedPrincipal( String user, String cms, String trustToken ) - what is the trust token that is passed to the method supposed to look like?

Prior to SP7, you just passed the hexadecimal value (stripping off the SharedSecret= text from the TrustedPrincipal.conf file. In SP7, failing to login trying any of full contents of file, second two lines (100\n<base 64 value>), or just the base 64 value in the last line.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 17, 2018 at 10:11 PM

    you should simply be copying the entire string after "sharedsecret=" and pass that.
    I am not aware of any changes and you do not have to encode the string in any way.

    for example. If your TrustedPrincipal.conf looked like:


    Then pass in everything after the "=" sign.


    Add comment
    10|10000 characters needed characters exceeded