Copyright © 2011 Marc Worrell <marc@worrell.nl> Date: 2011-12-23
Authors: Marc Worrell (marc@worrell.nl).
init/1 | |
is_peer_allowed/1 | Check peer address to the system management IP allowlist. |
observe_acl_logoff/2 | Let the user log off, clean up any cached information. |
observe_acl_logon/2 | Let the user log on, this is the moment to start caching information. |
observe_auth_validate/2 | Check the username and password entered. |
observe_user_is_enabled/2 | Check if an user is enabled. |
sites_status_observer/3 |
init(Context::z:context()) -> ok
is_peer_allowed(Context::z:context()) -> boolean()
Check peer address to the system management IP allowlist
observe_acl_logoff(Acl_logoff, Context) -> any()
Let the user log off, clean up any cached information.
observe_acl_logon(Acl_logon, Context) -> any()
Let the user log on, this is the moment to start caching information.
observe_auth_validate(Auth_validate, Context) -> any()
Check the username and password entered
observe_user_is_enabled(User_is_enabled, Context) -> any()
Check if an user is enabled.
sites_status_observer(Context::z:context(), SitesStatus::[{atom(), z_sites_manager:site_status()}], SitesManagerContext::term()) -> ok
Generated by EDoc