This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
auth:ticket:integratorguide [2017/02/25 14:09] admin [Ticket API] |
auth:ticket:integratorguide [2024/04/04 15:50] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Integrator Guide ===== | + | <html><!-- nomoodle --></html>{{ :logo-apl.png?nolink |}} <html><!-- /nomoodle --></html> |
- | ===== Auth Ticket : Direct access auth ===== | + | |
+ | ===== Ticket based authentication : Integrator Guide===== | ||
+ | =====Ticket Direct Access (to Moodle) plugin===== | ||
+ | |||
+ | ====Introduction==== | ||
This guide is provided for : | This guide is provided for : | ||
Line 10: | Line 14: | ||
This plugin provides the way to some other plugins to send pre-authenticated tickets to users. This addresses a set of security considerations : | This plugin provides the way to some other plugins to send pre-authenticated tickets to users. This addresses a set of security considerations : | ||
+ | |||
+ | === Ticket encryption methods === | ||
+ | |||
+ | This component provides either DES or RSA encryption methods to encode/decode tickets. Administrators must be aware of : | ||
+ | |||
+ | * DES (AES) uses internal Mysql/Maria DB AES_ENCRYP/AES_DECRYPT function that is not available (nor similar) in PostgreSQL. | ||
+ | * RSA is a more compatible method based on openssl underlying layer. Moodle needs have MNET network enabled and a valid local keypair available. The key length should be of 2048 bytes to ensure the ticket payload has sufficiant length to hold the targer urls. Openssl functions claim about length restrictions of the input payload when using 1024 rsa key length. (See http://php.net/manual/en/function.openssl-private-encrypt.php for more information). | ||
=== Ticket validity time === | === Ticket validity time === | ||
Line 81: | Line 92: | ||
@return an object containing ticket information. | @return an object containing ticket information. | ||
- | [[:auth:ticket|Return to component index]] | + | <html><!-- nomoodle --></html> |
+ | ---- | ||
+ | |||
+ | ====Credits==== | ||
+ | |||
+ | * Valéry Frémaux (valery@activeprolearn.com)) Developments, Documentation | ||
+ | * Florence Labord (florence@activeprolearn.com) Documentation | ||
+ | |||
+ | [[auth:ticket|Back to componant index]] - [[:Plugins|Plugins index]] - [[:start|Back to catalogue]] | ||
+ | <html><!-- /nomoodle --></html> |