[ whitefrost.com | Account Manager 4 Product Page ]

Core.Tools.AccountManager.WebHandler.SecurityHandlerUtil Class Reference

List of all members.

Static Private Member Functions

static internal Map.Account GetContextAccount (CoreHandler Handler, PageContext page_context, RequestContext request_context)
 Helper for identifying read-access account when handler supports Anonymous Browsing DO NOT use this method for retrieving an account for update, delete, or create actions. 1) Use the authenticated account first 2) Use the request_context's account user, if available 3) Use the product user if Anonymous Browsing is enabled.
static internal void RenderDataPolicy (PageContext page_context, RequestContext request_context, Map.Account account, Map.Data data)
static internal void RenderGroupPolicy (PageContext page_context, RequestContext request_context, Map.Account account, Map.BaseGroup group)
static internal void RenderPolicy (RequestContext request_context, String statement, bool read, bool write, bool change, bool delete)


Member Function Documentation

static internal Map.Account Core.Tools.AccountManager.WebHandler.SecurityHandlerUtil.GetContextAccount ( CoreHandler  Handler,
PageContext  page_context,
RequestContext  request_context 
) [static, private]

Helper for identifying read-access account when handler supports Anonymous Browsing DO NOT use this method for retrieving an account for update, delete, or create actions. 1) Use the authenticated account first 2) Use the request_context's account user, if available 3) Use the product user if Anonymous Browsing is enabled.

Parameters:
page_context 
request_context 
Returns:

static internal void Core.Tools.AccountManager.WebHandler.SecurityHandlerUtil.RenderDataPolicy ( PageContext  page_context,
RequestContext  request_context,
Map.Account  account,
Map.Data  data 
) [static, private]

static internal void Core.Tools.AccountManager.WebHandler.SecurityHandlerUtil.RenderGroupPolicy ( PageContext  page_context,
RequestContext  request_context,
Map.Account  account,
Map.BaseGroup  group 
) [static, private]

static internal void Core.Tools.AccountManager.WebHandler.SecurityHandlerUtil.RenderPolicy ( RequestContext  request_context,
String  statement,
bool  read,
bool  write,
bool  change,
bool  delete 
) [static, private]


The documentation for this class was generated from the following file:
Stephen W. Cote, 2009, whitefrost.com