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, "context.step[<stepNo>].subject".
So, we have planned to implement a method as, *context.currentSubject * which will return the subject of the "subject identifier step", if that step is completed. Else return the subject of the last completed step. Another implementation is to have a method to get the currently exected method. Currently, identity admin has to specify the step number in order to get the details. "context.step[<stepNo>]". This will affect the reusability of the code. With this new implementation, the identity admin can use, *context.currentStep* which will return the executing step. Please share your comments on the naming of the methods. thanks, Senthalan. -- *Senthalan Kanagalingam* *Software Engineer - WSO2 Inc.* *Mobile : +94 (0) 77 18 77 466* <http://wso2.com/signature>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
