No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 1.1KB

123456789101112131415161718192021222324252627
  1. ##@package lodel.auth Package handling authentication on Lodel2
  2. #
  3. #The authentication mechanism are divided in multiple peaces :
  4. #- The client ( @ref lodel.auth.auth.Client ) singleton class that stores
  5. #clients infos
  6. #- The @ref lodel.auth.Auth class handles authentication, sessions
  7. #creation/load/deletion
  8. #- The session handler implement as a plugin
  9. #
  10. #@par Client class
  11. #
  12. #The @ref lodel.auth.auth.Client class is an abstract singleton. It is designed
  13. #to be implemented by UI plugins. In fact we don't have the same client
  14. #informations on a web UI, on a CLI or with UDP communications. The main goal
  15. #of this class is to provide an API to interface plugins to stores client
  16. #informations allowing lodel2 to produce security log messages containing
  17. #client informations.
  18. #
  19. #@par Auth class
  20. #
  21. #The auth class is a singleton designed to actually do authentication.
  22. #This class fetch from settings the Emclass and it's field that contains
  23. #login and password. It's also an API between Client class and session handler
  24. #
  25. #@par Session handler
  26. #
  27. #Implemented as a plugin, called with hooks.