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