Project

General

Profile

Feature #5961

Implement user authentication and display

Added by Matt Jones over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

History

#1 Updated by Matt Jones over 9 years ago

  • Target version changed from 1.0.0 to 1.1.0

#2 Updated by ben leinfelder about 9 years ago

  • Target version changed from 1.1.0 to 1.0.0

#3 Updated by ben leinfelder about 9 years ago

  • Assignee set to ben leinfelder
  • Status changed from New to In Progress

I have the login working with both the Perl registry and the Metacat servlet. It's rather complex, but ends up working out just fine.
First, we submit the user credentials (username+organization, password) to the Perl registry which logs us in using the Metacat Perl client.
At that point the CGI sends back a CGISESSID cookie and a Metacat login form with the same username+password credentials that we can submit to the Metacat API which, when successful, sends us back a JSESSIONID cookie.
So we have a cookie for each service that we are authenticated for.
With the CGI cookie we can upload and edit registry data sets
With the Metacat JSESSIONID we can search for private content.

Upon initial login, the AppModel (and nav header) show the current username. I need to add a server call that checks whether this (both) session is still valid, but other wise this is working well.

#4 Updated by ben leinfelder about 9 years ago

  • Status changed from In Progress to Closed

Integrated the login with the nav bar -- now displaying the user's full name (from Metacat) when they are authenticated with username+password. works across browser refreshes

Also available in: Atom PDF