TopCoder Direct - Update Login and add Admin Login

Register
Submit a solution
The challenge is finished.

Challenge Overview

  1. We want to update the existing login page to use auth0 to do the username / password login. Use the same approach as the social login which utilizes the auth0. The callback of the login is in /reg2. After auth0, auth0 will call the callback and set the sso cookie then redirect to direct. The SSO cookie will make the direct login the user. Please make sure the Remember Me feature is also implemented properly.
  2. LDAP connection configuration - For the LDAP connection name, please make change to  make it configurable / tokenized, with the rest auth0 in Direct.properties, in prod it is 'LDAP', qa is 'QA-LDAP'. Make sure you update the example token.properties file.
  3. Add another page, which uses the existing login approach, call it 'Admin Login', this is for the impersonation. You can remove all the social logins. Change "Login to your account" into "Admin Login". The recommended action name is "AdminLogin" - like www.topcoder.com/direct/AdminLogin

VM Environment:

You need a TopCoder VM with forum enabled to work on this challenge, please request the VM in the challenge forum.

Information about VM can be found below:

VM specific information is found here: http://apps.topcoder.com/wiki/display/projects/Direct+VM and http://www.topcoder.com/wiki/display/docs/VM+Image+2.5. Upon registration as a submitter or reviewer you will need to request a VM based on the new TopCoder Cockpit/Direct image. To request your image, please use the forum. Before requesting your VM, you need to ensure that you have an SSH key created and in your member profile. Instructions to do so are here: http://www.topcoder.com/wiki/display/projects/Generate+SSH+Key, and instructions to connect afterwards are here: http://www.topcoder.com/wiki/display/projects/Connect+Using+SSH+Key.

For auth0 configuarion on VM, please refer to the configuration for TC Site (tc.cloud.topcoder.com/reg2/callback.action) : (login with user 'tc' on VM), it has the correct configuration for testing auth0 in VM environment.

SVN Repository

https://coder.topcoder.com/tcs/clients/cronos/applications/direct/trunk���

Revision 246570

Documentation Standards

Please document the author name inside the change notes, rather than appending to existing author tag so we can easily see who made change with the version upgrade.
Add @challenge tag to show the challenge ID
<p>                                                                                    
Version 1.1 (Module Assembly - TC Cockpit Launch F2F contest) @author hohosky @challenge 300432424                        
<ul>                                                                                   
    <li>Updated {@link #executeAction()} to calculate the iterative review payment</li>
</ul>                                                                                  
</p> 



Final Submission Guidelines

  • The added / updated source codes and configuration files etc.
  • A detailed deployment guide with how to setup the auth0 test on VM, and provide details verification steps.
  • A README file with your VM IP address in it, your VM will be used to test as part of the review process. 

Review style

Final Review

Community Review Board

Approval

User Sign-Off

Challenge links

ID: 30044719