Re: [Architecture] [IAM] Function Library for Adaptive Authentication

2018-08-09 Thread Dakshika Jayathilaka
Hi Anuradha,

Can you clarify below questions

1. Is this contain only just functions or js class?
2. How are we allowing users to add this on adaptive steps?
3. What will happen if they use the same method names on there? Is there
any package model or how it works?

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Associate Technical Lead
WSO2, Inc.
lean.enterprise.middleware
0771100911


On Wed, Aug 8, 2018 at 3:51 PM Anuradha Karunarathna 
wrote:

> Hi all,
>
>
> Currently, I am working on a project to manage function libraries in
> adaptive authentication. Here is a brief summary of the project and my
> progress.
>
> Introduction:
>
> WSO2 Identity server has a feature called script based adaptive
> authentication. It provides the facility to change the authentication flow
> based on conditions in JavaScript. However, at the moment each service
> provider needs to have its own set of Javascript functions. Therefore, if
> the identity admin needs to have the same function for several service
> provider, the same JS function needs to be duplicated. As a result, the
> process of managing authentication scripts gets difficult.
>
> As a solution to this problem, it is going to introduce a set of function
> libraries which can be required in authentication scripts. Under this
> project, I will implement UI to add/delete/edit/import/export function
> libraries, a database schema to hold text artifact libraries, a method to
> include the functions from the library to authentication scripts and a
> common set of functions as standard libraries.
>
> Progress:
>
> Currently, I am designing the required UI to manage function libraries to
> WSO2 Identity Server Management Console. The designed UIs are as follows.
>
>
> Function library management option is available under the manage section
> of the main menu in IS Management console.
>
>
> UI of adding  new function library:
>
> It prompts for a unique function library name which will be used when
> importing it in authentication scripts, a description about the function
> library and an editor to write the function library.
>
>
> UI of listing function libraries:
>
> This page prompts the available list of function libraries with the edit,
> delete, export functionalities.
>
> Please provide any feedback on designs.
>
> Thanks,
>
> *Anuradha Karunarathna*
> Intern-Software Engineering | WSO2,inc.
>
>
> ___
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


[Architecture] [IAM] Function Library for Adaptive Authentication

2018-08-08 Thread Anuradha Karunarathna
Hi all,


Currently, I am working on a project to manage function libraries in
adaptive authentication. Here is a brief summary of the project and my
progress.

Introduction:

WSO2 Identity server has a feature called script based adaptive
authentication. It provides the facility to change the authentication flow
based on conditions in JavaScript. However, at the moment each service
provider needs to have its own set of Javascript functions. Therefore, if
the identity admin needs to have the same function for several service
provider, the same JS function needs to be duplicated. As a result, the
process of managing authentication scripts gets difficult.

As a solution to this problem, it is going to introduce a set of function
libraries which can be required in authentication scripts. Under this
project, I will implement UI to add/delete/edit/import/export function
libraries, a database schema to hold text artifact libraries, a method to
include the functions from the library to authentication scripts and a
common set of functions as standard libraries.

Progress:

Currently, I am designing the required UI to manage function libraries to
WSO2 Identity Server Management Console. The designed UIs are as follows.


Function library management option is available under the manage section of
the main menu in IS Management console.


UI of adding  new function library:

It prompts for a unique function library name which will be used when
importing it in authentication scripts, a description about the function
library and an editor to write the function library.


UI of listing function libraries:

This page prompts the available list of function libraries with the edit,
delete, export functionalities.

Please provide any feedback on designs.

Thanks,

*Anuradha Karunarathna*
Intern-Software Engineering | WSO2,inc.
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture