20#if !defined(ms_security_options_INCLUDED_)
21#define ms_security_options_INCLUDED_
31namespace matrix_science {
61 bool isSecurityEnabled()
const;
64 void setSecurityEnabled(
bool newVal);
67 time_t getSessionTimeout()
const;
70 void setSessionTimeout(time_t newVal);
73 time_t getDefaultPasswordExpiryTime()
const;
76 void setDefaultPasswordExpiryTime(time_t newVal);
79 unsigned int getMinimumPasswordLength()
const;
82 void setMinimumPasswordLength(
unsigned int newVal);
85 bool getUseSessionCookies()
const;
88 void setUseSessionCookies(
bool newVal);
91 bool getVerifySessionIPAddress()
const;
94 void setVerifySessionIPAddress(
bool newVal);
103 std::string getIntegraAppServerURL()
const;
106 void setIntegraAppServerURL(std::string newVal);
109 std::string getIntegraDatabaseName()
const;
112 void setIntegraDatabaseName(std::string newVal);
115 std::string getIntegraOracleServerName()
const;
118 void setIntegraOracleServerName(std::string newVal);
121 std::string getLogFileName();
124 void setLogFileName(std::string newVal);
131 std::string filename_;
133 bool securityEnabled_;
134 time_t sessionTimeout_;
135 time_t defaultPasswordExpiryTime_;
136 unsigned int minimumPasswordLength_;
137 bool useSessionCookies_;
138 bool verifySessionIPAddress_;
140 std::string logFile_;
141 std::string integraAppServerURL_;
142 std::string integraDatabaseName_;
143 std::string integraOracleServerName_;
This class is used as a base class for several Mascot Parser classes.
Definition: ms_errors.hpp:696
msg_sev
Message severity levels.
Definition: ms_log.hpp:47
Options for the Mascot security system.
Definition: ms_security_options.hpp:46