Re: [Architecture] Methods to get currentSubject and currentStep in authentication script

2018-07-20 Thread Harshan Liyanage
+1 for 'context.currentKnownSubject' Thanks, Harshan Liyanage Mobile: *+94765672894* Email: hars...@wso2.com Blog: http://harshanliyanage.blogspot.com/ Medium: https://medium.com/@harshan.dll *WSO2, Inc.:** wso2.com * lean.enterprise.middleware. On Fri, Jul 20, 2018 at 12:22

Re: [Architecture] Methods to get currentSubject and currentStep in authentication script

2018-07-20 Thread Pulasthi Mahawithana
Hi Senthalan, Shall we have it something like, 'context.currentKnownSubject'? That would imply that it returns the subject value from what it knows by the time of execution. On Wed, Jul 18, 2018 at 4:30 PM Senthalan Kanagalingam wrote: > Hi Harshan, > > No, when configuring the authentication

Re: [Architecture] Methods to get currentSubject and currentStep in authentication script

2018-07-18 Thread Senthalan Kanagalingam
Hi Harshan, No, when configuring the authentication steps, we can specify any step as subject-identifier-step. There will be no relationship between subject-identifier-step and last-authenticated-step. thanks On Mon, Jul 16, 2018 at 3:39 PM Harshan Liyanage wrote: > Hi Senthalan, > >

Re: [Architecture] Methods to get currentSubject and currentStep in authentication script

2018-07-16 Thread Harshan Liyanage
Hi Senthalan, According to your explanation, context.currentSubject will return either *subject-identifier-step *or *last-authenticated-step. *Do we have any direct relationship between the *subject-identifier-step *and *last-authenticated-step? *I'm just asking to clarify things. Regards,

Re: [Architecture] Methods to get currentSubject and currentStep in authentication script

2018-07-12 Thread Harshan Liyanage
Hi Senthalan, What I understood by reading your description on the behavior of the *context.currentSubject *method is that it always returns the subject of the *last-completed-subject-identifier-step* rather than the subject of the current subject identifier step. If my understanding is correct,

[Architecture] Methods to get currentSubject and currentStep in authentication script

2018-07-10 Thread Senthalan Kanagalingam
Hi all, I am working on to get the currently authenticated subject and currently executing step from the authentication script. Now, if the identity admin wants to get the authenticated subject, he/she has to know which step was set as the subject identifier step and have to call,