Add new constants to password service. Change infinite expiration time.
authorLukasz Kostyra <l.kostyra@partner.samsung.com>
Mon, 2 Dec 2013 14:16:11 +0000 (15:16 +0100)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Feb 2014 16:13:24 +0000 (17:13 +0100)
commit604d1271b7a0cffc50f8faaabfeb4dbaea019cde
tree17feae9c3cbbff80ceeed86fac935f6a7a08c495
parentf4bdb8ec7cd3d5d1ec5dc962a2707e05e5af9584
Add new constants to password service. Change infinite expiration time.

[Issue#]        SSDWSSP-700
[Feature/Bug]   Add PASSWORD_INFINITE_EXPIRATION_TIME and PASSWORD_INFINITE_ATTEMPT_COUNT constant
                to password service. Change infinite expiration time.
[Cause]         Infinite expiration time and infinite attempt count were inputed directly to
                variables in multiple places. Other infinite expiration time
[Solution]      Constants were added for simplier switching between different infinite expiration
                times and infinite attempt  counts.
[Verification]  Build, install, run tests. All should pass, except tests that treated infinite
                expiration time as 0 value.

Change-Id: I49877154e97f57ac444dbc37924bb571f4fa3abe
src/server/common/protocols.cpp
src/server/common/protocols.h
src/server/service/password-file.cpp
src/server/service/password-file.h
src/server/service/password-manager.cpp