Authentify.pm


NAME

Communiware::DE::Authentify - Dynamic element Authentify


SYNOPSIS

   <:Authentify [filter]:>


DESCRIPTION

Occurence of this dynamic element in the template causes Communiware to verify authentity of current user. I.E. if user have already supplied basic auth credentials, they are verified, otherwise HTTP protocol status 401 AUTH required is returned, causing user browser to repeat request with correct credentials (possible asking user for them).

Optional filter parameter allows to perform authorization as well as authentication. If it is specified, then filter is evalutated in the current context, and only users which are listed in its result are allowed to access the page. For all others 403 FORBIDDEN is returned.

16 октябрь 2007 13:44