Add Nginx configuration

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Add README

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Add Nginx Crowd authentication module

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Get token from Crowd

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Move function implementation closer to its definition

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Remove printf statement

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Enable cookie debug in module

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Update SSL configs

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Add validate session function

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Remove confs

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Ignore conf

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>
Added missing terminator to command directives.

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>
Refactoring: Curl transactions separated from crowd transactions

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>
Returs NGX_* error codes that were lost in refactoring

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>
More descriptive function names for sso session creation and sso token validation.

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>
Adds crowd.token cookie in response header.

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>
Stops creating new session tokens when crowd.token is valid

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>
A session token validation is done only if request contains crowd.token_key cookie

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>
Fixes typo in return value checking

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>
Takes NGX defined error values in use.

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>