JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-DEV Archives


MOONSHOT-DEV Archives

MOONSHOT-DEV Archives


MOONSHOT-DEV@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-DEV Home

MOONSHOT-DEV Home

MOONSHOT-DEV  March 2014

MOONSHOT-DEV March 2014

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Functionality of moonshot_get_default_id

From:

Alejandro Perez Mendez <[log in to unmask]>

Date:

Tue, 18 Mar 2014 10:57:21 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (37 lines)

Hi all,

looking around the moonshot-ui code I just realized the existence of
both, moonshot_get_id, and moonshot_get_default_id methods. As far as I
understand, the former follows the typical procedure to get an ID card
to be used with the selected RP (i.e. use one existing ID<->RP
association, or launch the UI to create one). However, the latter seems
to try to return the last used ID (stored in the "default_id_card"
variable).

However, I've been playing with this function, and I have some doubts
about how it works. I hope anyone can help me understanding it:

1) The moonshot-ui seems to update the default_id_card variable after a
card is selected on the UI. However, this does not assure this variable
contains last used ID, as it is possible that a user makes use of a
different identity for which an association exists. In that case, the UI
is not shown, and the variable is not updated.

Ej.  User selects [log in to unmask] in the UI -> default_id_card =
[log in to unmask]
Then, the user accesses a server for which ID [log in to unmask] was
configured -> default_id_card = [log in to unmask]
Therefore, subsequent calls to moonshot_get_default_id will return
[log in to unmask] instead of [log in to unmask]

Is this the expected behaviour or is it a bug?

2) What's the purpose of this method anyway? Is it used under any
circumstance from mech_eap? I've seen some code in util_cred.c, but it
is unclear to me what it is supposed to do. When one tries to access a
new server which has not previous association with you, the default ID
(previous ID) is not sent. Instead, the UI pops up.

Regards,
Alejandro

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
April 2018
February 2018
January 2018
December 2017
November 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
February 2017
January 2017
December 2016
October 2016
September 2016
August 2016
June 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
August 2015
July 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager