Presto Administration : Presto Server Configuration : Work With Presto Attributes
Work With Presto Attributes
 
Manage Presto Global Attributes
Expose User Attributes from the User Repository in Presto
Manage Artifact Attributes
You use Presto attributes to provide credentials or other runtime inputs for apps, mashables or mashups.You can also use attributes to provide additional meta data for artifacts. Common examples include information for the current user, such as a credential for a mashable, shared information that should be used for all contexts, such as an application ID that should always be used for a specific mashable, or information from a previous response that is specific to the current transaction or session.
Presto attributes can be defined for these contexts:
*User Attributes: are defined by each user as part of their profile in Presto and saved in the Presto User Repository. See Manage Your Presto User Attributes for more information.
You can also choose to expose attributes from the Presto User Repository as Presto user attributes. You can expose attributes from the default User Repository or from your LDAP Directory, if Presto is configured to use LDAP. See Expose User Attributes from the User Repository in Presto for more information.
At runtime, the Presto Server first checks the Presto user attributes for the current user to resolve any references to Presto attributes used in a request. If there is no matching user attribute for the current user, the Presto Server uses the matching Presto global attribute to resolve the attribute value before processing the request.
*Global Attributes: can be used to define a default or shared value for a Presto user attribute. This can be used for all users or just for those users that have not defined a specific value.
Global attributes can also be used to define any common value that should be used in many contexts. See Manage Presto Global Attributes for instructions on creating global attributes.
*Session Attributes: are data that is available for one user session. They can be defined or updated in these ways:
*From data in a mashable or mashup response. These Presto session attributes are defined in requests using a Presto Header/Parameter. For more information, see Map Presto Attributes to Artifact Input Parameters.
*In mashup scripts. See Using Presto Attributes in Mashups for more information.
*Request Attributes: can be used to refer to HTTP headers or cookies for a specific request. For more information, see Map Presto Attributes to Artifact Input Parameters.
*Artifact Attributes: are additional meta data that you provide for individual apps, mashables or mashups. See Manage Artifact Attributes for more information.
Copyright © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback