Home | Trees | Index | Help |
---|
Package twisted :: Package enterprise :: Module dbcred :: Class DatabaseAuthorizer |
|
OriginalAccessor
--+ |Authorizer
--+ |Augmentation
--+ | DatabaseAuthorizer
Method Summary | |
---|---|
__init__(self,
dbpool,
serviceCollection)
| |
__delattr__(self,
k)
(inherited from OriginalAccessor )
| |
__getattr__(self,
k)
(inherited from OriginalAccessor )
| |
__setattr__(self,
k,
v)
(inherited from OriginalAccessor )
| |
__setstate__(self,
state)
(inherited from Augmentation )
| |
Create an empty identity (no perspectives). | |
Store an identity in the database. | |
Add a perspective by name to an identity. | |
changePassword(self,
identityName,
hashedPassword,
callback,
errback)
| |
Create an identity of an appropriate type for this Authorizer. (inherited from Authorizer )
| |
createSchema(self)
(inherited from Augmentation )
| |
get_application(self)
(inherited from Authorizer )
| |
Get the identities in the db. | |
get the identity from the database with the specified name. | |
Get the perspectives for an identity. | |
getServiceNamed(self,
name)
(inherited from Authorizer )
| |
Get the known services. | |
Example callback for database operation success. (inherited from Augmentation )
| |
Example callback for database operation failure. (inherited from Augmentation )
| |
*actually* del self.k without incurring side-effects. (inherited from OriginalAccessor )
| |
*actually* set self.k to v without incurring side-effects. (inherited from OriginalAccessor )
| |
Delete an identity | |
Delete a perspective for an identity | |
runInteraction(self,
interaction,
*args,
**kw)
(inherited from Augmentation )
| |
runOperation(self,
*args,
**kw)
(inherited from Augmentation )
| |
runQuery(self,
*args,
**kw)
(inherited from Augmentation )
| |
schemaCreated(self,
result)
(inherited from Augmentation )
| |
schemaNotCreated(self,
error)
(inherited from Augmentation )
| |
Set the application for this authorizer. (inherited from Authorizer )
| |
Set the service collection for this authorizer. (inherited from Authorizer )
| |
_cbIdentity(self,
identData)
|
Class Variable Summary | |
---|---|
str |
schema
|
Method Details |
---|
addEmptyIdentity(self, identityName, hashedPassword, callback=None, errback=None)Create an empty identity (no perspectives). Used by web admin interface. |
addIdentity(self, identity)Store an identity in the database. |
addPerspective(self, identityName, perspectiveName, serviceName, callback=None, errback=None)Add a perspective by name to an identity. |
getIdentities(self)Get the identities in the db. Used by web admin interface. |
getIdentityRequest(self, name)get the identity from the database with the specified name. |
getPerspectives(self, identity_name)Get the perspectives for an identity. Used by the web admin interface. |
getServices(self)Get the known services. Used by the web admin interface. |
removeIdentity(self, identityName)Delete an identity |
removePerspective(self, identityName, perspectiveName, callback=None, errback=None)Delete a perspective for an identity |
Class Variable Details |
---|
schema
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Thu May 8 13:18:21 2003 | http://epydoc.sf.net |