namespace Akenti class CheckAccessRequest : public AkentiRequest

Holds the content of a CheckAccessRequest

Inheritance:


Public Methods

CheckAccessRequest ()
Constructor
void setResource (const string& resource)
Sets the name of the resource
const string& getResource () const
Returns the name of the resource
void setAkentiPrincipal (const AkentiPrincipal& ap)
Sets the principal accessing the resource
bool containsAkentiPrincipal () const
Returns true if this CheckAccessRequest contains a principal
const AkentiPrincipal& getAkentiPrincipal () const
Returns the AkentiPrincipal that is in the message
bool containsX509Chain () const
Returns true if this CheckAccessRequest contains an X509 chain
void setX509Chain (const vector<Certificate>& certs)
Sets the X509 chain of the principal accessing the resource
const vector <Certificate> & getX509Chain () const
Returns the X509 chain of the principal accessing the resource

Inherited from AkentiRequest:

Public Methods

void setID(int id)
int getID() const
string toString() const
template bool instanceOf() const

Documentation

Holds the content of a CheckAccessRequest.
This request is used to determine the privileges of a user for a resource.
CheckAccessRequest()
Constructor

void setResource(const string& resource)
Sets the name of the resource

const string& getResource() const
Returns the name of the resource

void setAkentiPrincipal(const AkentiPrincipal& ap)
Sets the principal accessing the resource. request.

bool containsAkentiPrincipal() const
Returns true if this CheckAccessRequest contains a principal

const AkentiPrincipal& getAkentiPrincipal() const
Returns the AkentiPrincipal that is in the message.
See Also:
containsAkentiPrincipal

bool containsX509Chain() const
Returns true if this CheckAccessRequest contains an X509 chain

void setX509Chain(const vector<Certificate>& certs)
Sets the X509 chain of the principal accessing the resource

const vector <Certificate> & getX509Chain() const
Returns the X509 chain of the principal accessing the resource.
See Also:
containsX509Chain()


This class has no child classes.
See Also:
AkentiRequest

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de