Business Analytics Development and APIs : Use Business Analytics Connect for Javascript : Guest or Authenticated Access with PC4JS
Guest or Authenticated Access with PC4JS
With the one exception shown below, you do not need to login or provide user credentials when sending requests with PC4JS:
If
Provide Credentials?
Why
The user is already authenticated.
No
The request has a Business Analytics session ID (in a cookie) that Business Analytics uses to determine user permissions.
Business Analytics is configured to use an SSO solution for authentication.
No
The SSO user agent adds user identity information to the request. Business Analytics does not authenticate the user but does use the identity information to determine user permissions.
Business Analytics is configured to use SSL and digital certificates authentication.
No
Business Analytics does not authenticate the user but does use identity information from the certificate to determine user permissions.
Business Analytics is configured to use simple credentials for authentication.
This is the default authentication mechanism when you first install Business Analytics.
Yes
If the mashable or mashup you are invoking does not grant guest access, then users must have run permissions and Business Analytics must have user credentials to authenticate the user and check their permissions.
If you omit user credentials, Business Analytics will process the request as a guest user causing the invocation to fail as unauthorized.
This request should use guest access.
No
PC4JS automatically ensures that requests with no user credentials can be processed anonymously as a guest user.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback