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

Class AuthorizationIWMixIn

      SOAPIWrapper --+    
                     |    
AuthorizationManagerIW --+
                         |
                        AuthorizationIWMixIn

Known Subclasses:
SharedApplicationIW, VenueIW, VenueServerIW

A MixIn class for the client side authorization support.
Method Summary
  GetAuthorizationManager(self)
This method retrieves the URL, then creates a client object using it.
    Inherited from AuthorizationManagerIW
  __init__(self, url)
Create the client side object for the authorization service specified by the url.
  AddAction(self, name)
Add an action to the authorization manager.
  AddRole(self, name)
Add a role to the authorization manager.
  AddRolesToAction(self, roleList, action)
Add multiple roles to an action.
  AddRoleToAction(self, role, action)
Add a role to the specified action.
  AddSubjectsToRole(self, subjList, role)
Add a list of subjects to a particular role.
  AddSubjectToRole(self, subj, role)
Add a subject to a particular role.
  FindRole(self, name)
Find a role in this authorization manager.
  GetPolicy(self)
Retrieve the policy.
  GetRolesForSubject(self, subject)
Get the list of roles the subject is a part of.
  ImportPolicy(self, policy)
Imports a policy.
  IsAuthorized(self, subject, action)
Check to see if the subject authorized for the action.
  ListActions(self, subject, role)
List the actions known by this authorization manager.
  ListRoles(self)
Retrieve the entire list of Roles.
  ListRolesInAction(self, action)
List the roles associated with a specific action.
  ListSubjects(self, role)
List subjects that are in a specific role.
  RemoveAction(self, name)
Remove an action from the authorization manager.
  RemoveRole(self, name)
Remove a role from the authorization manager.
  RemoveRoleFromAction(self, role, action)
Remove a Role from the action.
  RemoveSubjectFromRole(self, subj, role)
Remove the subject from the role.
  RemoveSubjectsFromRole(self, subjList, role)
Remove multiple subjects from the role.
  TestImportExport(self, policy)
A test call that verifies the policy can be imported and exported without modification.
    Inherited from SOAPIWrapper
  _IsValid(self)
Method to provide interface verification.
  IsValid(self)
Method to provide interface verification.

Method Details

GetAuthorizationManager(self)

This method retrieves the URL, then creates a client object using it.

This is the cool part, we've built it so this is a real object.
Returns:

AccessGrid.Security.AuthorizationManager.AuthoriationMangerIW


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