Project

General

Profile

Actions

Feature #5961

closed

Implement user authentication and display

Added by Matt Jones over 11 years ago. Updated over 11 years ago.

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

0%

Estimated time:
Bugzilla-Id:
Actions #1

Updated by Matt Jones over 11 years ago

  • Target version changed from 1.0.0 to 1.1.0
Actions #2

Updated by ben leinfelder over 11 years ago

  • Target version changed from 1.1.0 to 1.0.0
Actions #3

Updated by ben leinfelder over 11 years ago

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

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.

Actions #4

Updated by ben leinfelder over 11 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

Actions

Also available in: Atom PDF