This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
nocode:identity-link [2019/08/13 05:46] 740803864 [Set up] |
nocode:identity-link [2019/08/13 11:20] (current) 740803864 [Positive response] |
||
---|---|---|---|
Line 6: | Line 6: | ||
See chapters below for details. | See chapters below for details. | ||
- | ===== Set up ===== | + | ===== Setup ===== |
At first, identity link must be prepared and sent to ADUCID Binder. ADUCID Binder accepts identity link HTTP requests at ''/ | At first, identity link must be prepared and sent to ADUCID Binder. ADUCID Binder accepts identity link HTTP requests at ''/ | ||
^ Name ^ Values ^ Mandatory ^ Description ^ | ^ Name ^ Values ^ Mandatory ^ Description ^ | ||
Line 22: | Line 22: | ||
We must also remember to provide generated identity link identifier to web view, e.g. Ajax JSON response or JSP expression language. | We must also remember to provide generated identity link identifier to web view, e.g. Ajax JSON response or JSP expression language. | ||
- | ===== Transaction | + | ===== Identity link itself ===== |
- | When transaction | + | When identity link data are successfully uploaded, we can start identity link itself. It can be done with use of [[web-integration: |
<code javascript> | <code javascript> | ||
- | aducid.setStartOperationUrl("/ | + | aducid.setStartOperationUrl("/ |
- | aducid.setResultOperationUrl("/ | + | aducid.setResultOperationUrl("/ |
aducid.setProxyUrl("/ | aducid.setProxyUrl("/ | ||
</ | </ | ||
- | Expression '' | + | Expression '' |
===== Response processing ===== | ===== Response processing ===== | ||
- | User is now redirected to '' | + | User is now redirected to '' |
+ | |||
+ | There is also saved used remote AIM in HTTP attributes. It can be accessed as an attribute with prefix '' | ||
==== Positive response ==== | ==== Positive response ==== | ||
- | See [[nocode:transactions# | + | When identity link was successful ('' |
+ | |||
+ | <code javascript> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | When '' | ||
+ | |||
+ | <code javascript> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | </ | ||
==== Negative response ==== | ==== Negative response ==== | ||
See [[nocode: | See [[nocode: | ||