class CheckAccessRequest

Holds the content of a CheckAccessRequest.

Inheritance:


Public Methods

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


Inherited from AkentiRequest:

Public Methods

ovoid setID(int id)
oint getID() const
ostring toString() const
otemplate<class T> bool instanceOf() const


Documentation

Holds the content of a CheckAccessRequest.

This request is used to determine the privileges of a user for a resource.

o CheckAccessRequest()
Constructor

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

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

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

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

oconst AkentiPrincipal& getAkentiPrincipal() const
Returns the AkentiPrincipal that is in the message.

See Also:
containsAkentiPrincipal

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

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

oconst vector<Certificate> & getX509Chain() const
Returns the X509 chain of the principal accessing the resource.

See Also:
containsX509Chain()


This class has no child classes.
Friends:
class AkentiRequest
class AkentiRequestResponseImplFactory
See Also:
AkentiRequest

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.