Page History
...
Table of Contents | ||
---|---|---|
|
...
シングルサインオン
Styleclass | ||
---|---|---|
| ||
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
このサービスは、Yellowfinに接続し、指定されたユーザーのログオントークンを取得します。このトークンがYellowfinログオンURLに渡されると、認証されるユーザーのログイン画面が無効化され、そのユーザーのセッションがただちに開始されます。This service connects to Yellowfin and retrieves a logon token for a given user. When this token is passed to the Yellowfin Logon URL it will disable the login screen for the authenticated users and their session will being immediately.
The LOGINUSER function will Single Sign On a given user into Yellowfin. The contents of the AdministrationPerson object will be used to define the user being logged in.LOGINUSER関数は、指定されたユーザーをYellowfinにシングルサインオンさせます。AdministrationPersonオブジェクトの内容は、ログインしているユーザーを定義するために使用されます。
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
Redirecting to Yellowfin with the login tokenUsing the token received from the webservice call (the contents of AdministrationResponse.LoginSessionId), you can forward the user to the URL:
This URL will bypass the authentication screen in Yellowfin and take the user directly into Yellowfin. The token has a limited validity period. It must be used within 5 minutes, and once it has been used, it cannot be used again. To make subsequent calls from a third party application into Yellowfin, you must call the LOGINUSER web service again. Using the token with the JavaScript APIThe SSO token can also be used with embedded JavaScript API widgets. The token is added to the scriptlet URL like this:
Specifying Session OptionsYou can pass variables/switches that toggle functionality only for the session created via this Single Sign On request. These options can be enabled by passing them via the Parameters attribute in the AdministrationRequest, or by appending them to the redirection URL. Parameters are added to the AdministrationRequest.Parameters attribute as a list of key value pairs, like:
Options passed on the login URL look like:
Here is a list of the available options:
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
This service is a drop in replacement for Options are the same as
An extra parameter needs to be added to the Configuration table of the Yellowfin database to enable this functionality:
You may need to restart Yellowfin for the database change to take affect. You will receive a web service arror |
User Replication and Managment
Styleclass | ||
---|---|---|
| ||
...
This section will outline how to create, manipulate, and delete users via web services. It is assumed that the web service is called to mirror user changes immediately after a user modification is made in the OEM application.
Functions
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to create a user:
This code will return This function will create a user in Yellowfin. The details in the AdministrationPerson object will be used in the user creation process.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to delete a user:
This code will return This function will delete a user from Yellowfin. The details in the AdministrationPerson object will be used in the user deletion process.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Retrieving & Validating User Information
Once a user has been created, the user's details can be retrieved using a web service call. The User ID field in the AdministrationPerson object is used to identify the user. As a result, a populated AdministrationPerson object will be returned. For security reasons, passwords will not be returned and will be NULL
. User information can also be validated against the application in this section.
...
Expand | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to validate a user’s password:
This code will check if the password is expired and will return This function will validate a Yellowfin user’s password. The details in the AdministrationPerson object will be used in the password validation process.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Manipulating User Information
A user's details can be modified at a later time using a web service call. The User ID field in the AdministrationPerson object is used to identify the user, so this cannot be changed. The rest of the fields within an AdministrationPerson object are populated with the new changes. For security reasons, the user's password cannot be changed with this web service call, but with a separate CHANGEPASSWORD function (below).
...
Expand | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and change the password for the specified Yellowfin user:
The code will return This function will change a specified Yellowfin user’s password.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Retrieving Objects Belonging to a User
Styleclass | ||
---|---|---|
| ||
...
Expand | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
This function will return a list of reports contained within a specified dashboard tab, that is accessible by a specified user in Yellowfin.
These are the parameters that you need to set in the AdministrationPerson and AdministrationReportGroup object:
The response returned will contain these parameters:
|
Group & Role Administration
Styleclass | ||
---|---|---|
| ||
...
Expand | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and delete the specified group in Yellowfin:
The code will return This function will delete a specified group from Yellowfin.
These are the parameters that you need to set in the AdministrationGroup object:
The response returned will contain these parameters:
|
Client Organisation Functionality
Styleclass | ||
---|---|---|
| ||
...
Expand | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and import the specified Yellowfin import objects into the application:
The code will return Refer to
The response returned will contain these parameters:
|
Object Definitions
Styleclass | ||
---|---|---|
| ||
Expand | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
|
...
horizontalrule |
---|
Styleclass | ||
---|---|---|
| ||