-
Notifications
You must be signed in to change notification settings - Fork 2
Work Plan Phase II Radius , Potential Issues and Lower Priority Tasks
William Lowe edited this page Nov 5, 2018
·
6 revisions
-
Implement oxAuth RP Interception Script Support
- Clone oxAuth and study it's operating mechanism - done 100%
- Make changes to oxAuth to support interception scripts.
The only area which needs change at this level is
org.xdi.oxauth.auth.AuthenticationFilter
There will be little to no need to changeorg.xdi.oxauth.auth.Authenticator
The function(s) likely to be affected is (are):- private void processPostAuth (line 279)
- private void processBasicAuth( line 198)
- public void doFilter (line 84)
- Based on the existing code in org.xdi.oxauth.auth.AuthenticationFilter , implement RP Interception Script support while using a script name as a parameter in the request.
- Write a one step super gluu interception script based on the SuperGluuExternalAuthenticator.py
- Write unit tests to validate our changes
- Further review by the team
-
Based on work done in (1) add support for oxAuth RP interception script in Radius. This will be a matter of just adding a single parameter to the request (script to be executed). This is top priority.
- From my understanding how interception scripts work (or will work in this case) , there is a potential performance bottleneck , since the token grant response (wether successful or not) cannot (from what I see at least) be delivered asynchronously. This means a server thread being actively used to wait for user confirmation on his device (or timing out eventually) , but in any case held in that state for too long. We will have to find a workaround to that.
- Moving the code requiring LDAP data access to oxCore
- Use oxAuth Client instead of a wrapper around apache Http client (due to initial error reporting issues with oxAuth client).