diff options
author | Raquel Medina <raquel.medina@konsulko.com> | 2019-02-15 17:10:40 +0200 |
---|---|---|
committer | raquel medina <raquel.medina@konsulko.com> | 2019-05-01 23:11:48 +0000 |
commit | 509e8df88f8ad8d7e299e6d01077b7014624de3c (patch) | |
tree | d196701550c5cc3f29bf0c6134dfe5763d4974f4 /README.md | |
parent | ccaceac74b340e93bc68bce628772270e36df2aa (diff) |
binding: identity: fix segfault & update to v3 forgerock binding calls
On user login via nfc, the identity service segfaults on nfc event
processing. Fix segfault, update forgerock compilation unit to use
binding V3 call methods and review the identity agent baseline to
remove unused code / tidy up.
Bug-AGL: SPEC-2158
Change-Id: Ic87e630e9d028ba22937468375631b8e908011f8
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
(cherry picked from commit 8f64868f9edd313eaee9a73abc3f79110da5f132)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 42 |
1 files changed, 18 insertions, 24 deletions
@@ -9,14 +9,14 @@ Overview The binding currently reads its configuration from a file. -Then, it starts a GATT Bluetooth LE "User Data" service. - -When the email characteristic is written, the server is queried to -get the data associated with the key (keytoken=...) for the -current vehicle (vin=...). The key is the email value set. -This is the login process. - -An event notifying that a user logged is sent to applications. +When an NFC tag is detected, the server is queried to +get the data associated with the key provided (keytoken=...) for +the current vehicle (vin=...). This key is an alfanumeric value +linked to the user. +If this query is successful, the user is considered to be +logged in. An event notifying that a new user logged in, is sent +to the applications that registered an interest (i.e., this is not +a broadcasted event). The configuration file ---------------------- @@ -68,18 +68,6 @@ Not setting *idp* or *appli* implies that no token is queried. Verbs of API ------------ -### agl-identity-agent/advise - -Starts offering service on BT interface (hci0). - -No argument needed. - -### agl-identity-agent/unadvise - -Stops offering service on BT interface (hci0). - -No argument needed. - ### agl-identity-agent/subscribe Subscribes to event notifications. @@ -92,11 +80,12 @@ Unsubscribes from event notifications. No argument needed. -### agl-identity-agent/login +### agl-identity-agent/fake-login -Not implemented, always fails. - -No argument needed. +Test identity agent interface sending login event to interested +parties. +This case allows to isolate the agent from the +agl-service-nfc and oidc interface. ### agl-identity-agent/logout @@ -104,6 +93,11 @@ Logout from the current identity. No argument needed. +### agl-identity-agent/fake-auth + +Test the identity agent functionality without the need for +agl-service-nfc. + ### agl-identity-agent/get Returns the data for the current identity. |