On Mon, 29 May 2000, you wrote:
> But, say you not only want to require login first, but you also want to make
> sure they have admin permissions...you could do a chain of something like
> this:
>
> RequireLoginFirst extends RequireAdminPermissions extends
> WebMacroSiteSecurityScreen
FWIW, You can also get this without the extra extending by using the
WebMacroSecurityCheck utility. It has a method checklogin().
It also checks login before checking role automatically ( i need to add
this to the hasPermission() ) since you really need to be logged in
before you can check a role.
--
dave
[EMAIL PROTECTED]
----------------------
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]