Presto Development and APIs : Use Presto 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 Presto session ID (in a cookie) that Presto uses to determine user permissions.
Presto is configured to use an SSO solution for authentication.
No
The SSO user agent adds user identity information to the request. Presto does not authenticate the user but does use the identity information to determine user permissions.
Presto is configured to use SSL and digital certificates authentication.
No
Presto does not authenticate the user but does use identity information from the certificate to determine user permissions.
Presto is configured to use simple credentials for authentication.
This is the default authentication mechanism when you first install Presto.
Yes
If the mashable or mashup you are invoking does not grant guest access, then users must have run permissions and Presto must have user credentials to authenticate the user and check their permissions.
If you omit user credentials, Presto 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 © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback