Public Types | Public Member Functions | Protected Member Functions | List of all members
iauth::CStaticRightsProviderComp Class Reference

#include <CStaticRightsProviderComp.h>

Inheritance diagram for iauth::CStaticRightsProviderComp:
icomp::CComponentBase iauth::IRightsProvider icomp::IComponent istd::IChangeable istd::IPolymorphic istd::IPolymorphic

Public Types

typedef icomp::CComponentBase BaseClass
 

Public Member Functions

virtual bool HasRight (const QByteArray &operationId, bool beQuiet=false) const
 Checks if user has rights for specific operation. More...
 
- Public Member Functions inherited from icomp::IComponent
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const =0
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")=0
 
virtual const IComponentContextGetComponentContext () const =0
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)=0
 

Protected Member Functions

virtual void OnComponentCreated ()
 

Detailed Description

Definition at line 20 of file CStaticRightsProviderComp.h.

Member Typedef Documentation

Definition at line 25 of file CStaticRightsProviderComp.h.

Member Function Documentation

virtual bool iauth::CStaticRightsProviderComp::HasRight ( const QByteArray &  operationId,
bool  beQuiet = false 
) const
virtual

Checks if user has rights for specific operation.

Parameters
operationIdid of operation.
beQuietif it is true, user can not be asked for password during this check.

Implements iauth::IRightsProvider.

virtual void iauth::CStaticRightsProviderComp::OnComponentCreated ( )
protectedvirtual

The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy