Quantcast
Channel: SCN : Popular Discussions - Java SDK Application Development
Viewing all articles
Browse latest Browse all 1701

How to get bttoken on long for BO 4.0

$
0
0

A workspace/report, new in 4.0, needs this bttoken. I am not getting it on login yet the 4.0 infoview app, now BI Launchpad, does get the bttoken. How does it do it?

 

Here's my code;

 

                enterpriseSession = sessionMgr.logon(getUsername(), getPassword(), host + ":" + port, authMethod);

                if (enterpriseSession != null)

                {

                    setToken(enterpriseSession.getLogonTokenMgr().getDefaultToken());

                    setToken(URLEncoder.encode(getToken(), "UTF-8"));

                }

 

This is the standard login token but not the bttoken.

Thanks in advance.


Viewing all articles
Browse latest Browse all 1701

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>