Package AccessGrid :: Module SharedApplication :: Class SharedApplicationI
[show private | hide private]
[frames | no frames]

Class SharedApplicationI

    SOAPInterface --+        
                    |        
AuthorizationManagerI --+    
                        |    
      AuthorizationIMixIn --+
                            |
            SOAPInterface --+
                            |
                           SharedApplicationI


SharedApplication is the interface class for an application


Method Summary
  __init__(self, impl)
The server side interface object.
  GetComponents(self, private_token)
  GetData(self, private_token, key)
  GetDataChannel(self, private_token)
  GetDataKeys(self, private_token)
  GetId(self)
  GetParticipants(self, private_token)
  GetState(self, private_token)
  GetVenueURL(self, private_token)
  Join(self, clientProfile)
  Leave(self, private_token)
  SetData(self, private_token, key, value)
  SetParticipantProfile(self, private_token, profile)
  SetParticipantStatus(self, private_token, status)
  _authorize(self, *args, **kw)
The authorization callback.
    Inherited from AuthorizationIMixIn
  GetAuthorizationManager(self)
Accessor to retrieve the authorization manager from the mixin.
    Inherited from AuthorizationManagerI
  AddAction(self, action)
Add an action to the authorization manager.
  AddRole(self, role)
Add a role to the authorization manager.
  AddRolesToAction(self, action, roleList)
Add multiple roles to an action.
  AddRoleToAction(self, action, role)
Add a role to the specified action.
  AddSubjectsToRole(self, role, subjectList)
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)
Import 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, action)
Retrieve the entire list of Roles.
  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, action, role)
Remove a Role from the action.
  RemoveSubjectsFromRole(self, role, subjectList)
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 SOAPInterface
  _IsValid(self)
This method is here to support calls that just want to see if there is a valid server endpoint for communication from the client.
  IsValid(self)
This method is here to support calls that just want to see if there is a valid server endpoint for communication from the client.
  _GetCaller(self)
This method implements the guts of extracting the subject from the soap call.
  _GetContext(self)
This method implements the guts of extracting the subject and the action from the SOAP call.
  _GetMethodActions(self)
This method extracts all the methods and creates MethodActions for them, which means Authorization can be automatically loaded with actions for all the methods on an interface object.

Method Details

__init__(self, impl)
(Constructor)

The server side interface object. This gets an implementation to initialize itself with.
Parameters:
impl - the implementation object this interface represents
           (type=AccessGrid.Security.AuthorizationManager)
Overrides:
AccessGrid.Security.AuthorizationManager.AuthorizationManagerI.__init__ (inherited documentation)

_authorize(self, *args, **kw)

The authorization callback.
Overrides:
AccessGrid.Security.AuthorizationManager.AuthorizationManagerI._authorize (inherited documentation)

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