Package AccessGrid :: Package Security :: Module AuthorizationManager :: Class AuthorizationMixIn
[show private | hide private]
[frames | no frames]

Class AuthorizationMixIn

Known Subclasses:
SharedApplication, Venue, VenueServer

This allows object to inherit Authorization.
Method Summary
  __init__(self)
Normal constructor stuff, it initializes itself.
  AddRequiredRole(self, role)
Add a role to the list of required roles for this implementation.
  GetAuthorizationManager(self)
Get the URL for the Authorization Manager.
  GetRequiredRoles(self)
Return a list of roles required by this implementation for authorization to work.

Method Details

__init__(self)
(Constructor)

Normal constructor stuff, it initializes itself.

AddRequiredRole(self, role)

Add a role to the list of required roles for this implementation.
Parameters:
role - the role to add
           (type=AccessGrid.Security.Role object)

GetAuthorizationManager(self)

Get the URL for the Authorization Manager.
Returns:
a string containt the url to the authorization service.

GetRequiredRoles(self)

Return a list of roles required by this implementation for authorization to work.
Returns:
a list of AccessGrid.Security.Role objects.

Generated by Epydoc 2.1 on Thu Apr 14 16:39:27 2005 http://epydoc.sf.net