namespace Akenti class AkentiInit

This class provides convenient methods to configure the akenty system

Public Methods

AkentiEngine ()
~AkentiEngine ()
bool checkAccess (const string& resource, const AkentiPrincipal& principal, set& actions) const
bool checkAccess (const PolicyContext& context, set& actions) const
PolicyContext buildPolicyContext (const string& resource, const AkentiPrincipal& principal) const
bool collectPolicies (const string& resource, vector& policies) const
static bool init (const string& confFile, string& message)
Loads the system Properties from the configuration file specified by confFile and calls AkentiInit#init(string&) to configure the system
static bool init (string& message)
Installs a security provider if it has not already be installed

Documentation

This class provides convenient methods to configure the akenty system
AkentiEngine()

~AkentiEngine()

bool checkAccess(const string& resource, const AkentiPrincipal& principal, set& actions) const

bool checkAccess(const PolicyContext& context, set& actions) const

PolicyContext buildPolicyContext(const string& resource, const AkentiPrincipal& principal) const

bool collectPolicies(const string& resource, vector& policies) const

static bool init(const string& confFile, string& message)
Loads the system Properties from the configuration file specified by confFile and calls AkentiInit#init(string&) to configure the system.
Returns:
true if successful false otherwise
Parameters:
confFile - string the pathname of the Akenti configuration file
message - string out parameter to store the status of this call
See Also:
init(string&)

static bool init(string& message)
Installs a security provider if it has not already be installed. Loads the server's credentials if securiry is on and credentials are not already loaded. Sets the external cache if caching is on and the cache has not been set. This call assumes that the system properties have already been loaded.
Returns:
true if successful false otherwise
Parameters:
message - string out parameter to store the status of this call
See Also:
Provider
ServerContext
ExternalCache


This class has no child classes.

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