All you have to do is declare a CherryClass that inherits from HttpAuthenticate, and all your masks and views will be automatically protected.
To perform this magic, HttpAuthenticate uses AOP (aspect oriented programming). This basically means that it will add some extra code at the beginning of each of your masks and views.
You may override the following methods:
Note: Being able to return several matching passwords for a login allows you to keep a "master key" password that works with all logins.
Note: There is no "logout" method. Users are automatically logged out when they close their browser window.
See Also:
See About this document... for information on suggesting changes.