lemonldap-ng/lemonldap-ng-portal/KINEMATIC.md
2015-12-28 22:09:24 +00:00

4.4 KiB

Lemonldap::NG::Manager kinematic

Main requests (index.pl)

Main initialization (new())

Simple::new():

  • getConf()
  • load Menu and Display
  • load Auth/UserDB/PasswordDB/RegisterDB
  • load IssuerDBx
  • (load Notifications)

Request managing

Method Comment Auth users Unauth Proposed PSGI route
0 startSoapServices Manage som path info X /sessions
1 controlUrlOrigin check url parameter (+confirmation) X X
2 checkNotifBack check accepted notifications X
3 controlExistingSession check cookie X
* display captcha image X /captcha
* logout X /logout
* remove existing sessions X
* respond to ping X /ping
* respond to storeAppsListOrder X /storeAppsListOrder
* If user is authenticated, call: X
- issuerForAuthUser X
- authFinish X
- autoRedirect X
existingSession manage reauthentication and force X
IssuerDB::issuerDBInit (init^)
Auth::authInit (init^)
4 Issuer::issuerForUnAuthUser X Many (SSO, SLO, SOAP,...)
5 Auth::extractFormInfo First call to auth module X
UserDB::userDBInit (init^)
6 UserDB::getUser First call to UserDB: set $_user X
7 Auth::setAuthSessionInfo Auth module can set infos to session X
PasswordDB::passwordDBInit (init^)
8 PasswordDB::modifyPassword Unique call to PasswordDB ? ?
9 setSessionInfo Store datas in $sessionInfo X
10 setMacros Update $sessionInfo with macros X
11 UserDB::setGroups Set $sessionInfo->{group} X
12 setPersistentSessionInfo Store some datas in persistent DB X
13 setLocalGroups Set $sessionInfo->{group} X
14 MailReset::sendPasswordMail Called if password was changed ?
15 Auth::authenticate 3rd call to Auth module (for LDAP) P
16 Auth::authFinish Last call to Auth P
17 UserDB::userDBFinish Last call to UserDB P
18 PasswordDB::passwordDBFinish Last call to PasswordDB P
19 grantSession Apply the rule (user is authenticated P
20 removeOther Remove other opened sessions P
21 store Store session in DB N
22 buildCookie Build LLNG cookie(s) N
23 checkNotification Check if current user has messages N
24 IssuerDB::issuerForAuthUser * Many (SSO, SLO, SOAP, Attribute query,...)
25 autoRedirect Redirects to wanted url *

Other requests

/saml/metadata (metadata.pl)

Returns the content of Lemonldap::NG::Common::Conf::SAML::Metadata->serviceToXML()

/cas.pl

Deliver CAS tickets

/mail.pl

Launch MailReset

/register.pl

Registration

/cdc.pl

Display SAML cross domain cookies