LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EASPolicy Class Reference

#include <EASPolicyManager.h>

Public Member Functions

 EASPolicy (bool isDevicePolicy=false)
 
bool passwordRequired () const
 
bool requiresAlphaNumeric () const
 
bool allowSimplePassword () const
 
uint32_t maxRetries () const
 
uint32_t minLength () const
 
uint32_t maxInactivityInSeconds () const
 
uint32_t clampInactivityInSeconds (uint32_t inactivityInSeconds) const
 
const std::string & id () const
 
json_object * toJSON () const
 
json_object * toNewJSON () const
 
bool fromJSON (json_object *policy)
 
bool fromNewJSON (json_object *policy)
 
bool validMaxRetries () const
 
bool validMinLength () const
 
bool validInactivityInSeconds () const
 
void merge (const EASPolicy *newPolicy)
 

Friends

class EASPolicyManager
 

Constructor & Destructor Documentation

EASPolicy::EASPolicy ( bool  isDevicePolicy = false)
inline

Member Function Documentation

bool EASPolicy::allowSimplePassword ( ) const
inline
uint32_t EASPolicy::clampInactivityInSeconds ( uint32_t  inactivityInSeconds) const
bool EASPolicy::fromJSON ( json_object *  policy)
bool EASPolicy::fromNewJSON ( json_object *  policy)
const std::string& EASPolicy::id ( ) const
inline
uint32_t EASPolicy::maxInactivityInSeconds ( ) const
uint32_t EASPolicy::maxRetries ( ) const
inline
void EASPolicy::merge ( const EASPolicy newPolicy)
uint32_t EASPolicy::minLength ( ) const
inline
bool EASPolicy::passwordRequired ( ) const
inline
bool EASPolicy::requiresAlphaNumeric ( ) const
inline
json_object * EASPolicy::toJSON ( ) const
json_object * EASPolicy::toNewJSON ( ) const
bool EASPolicy::validInactivityInSeconds ( ) const
inline
bool EASPolicy::validMaxRetries ( ) const
inline
bool EASPolicy::validMinLength ( ) const
inline

Friends And Related Function Documentation

friend class EASPolicyManager
friend

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