ID-140
- authentication: verify signature on subjectToken and equality of device_id in subjectToken and deviceToken
- basic functionality for init attribute verification request
- refactor JWT class for more flexible usage
ID-140: simple test cases for subject+device authentication
ID-78: generate signed token containing verification pin (for init verification request)
store issue time in the subjectToken and verificationToken
ID-80 serve request to complete attribute verification
ID-137: add depednency and base code to send email,
better exception handling,
generate a fixed pin (123456: for testing)
ID-137: add play.plugins for Emailer
reigstration request:
- fix exception handling
- print(log) success
ID-137: server validates email and sends verification pin
update version dependency for nibmus-jose-jwt
ID-156: add proper JWT claims to JWS, corrected test cases
fix config
- switch to proper logging (for both stdout and application.log)
ID-157 just some minor re-org and re-word error msgs
ID-98: embed build info on the index page as hidden values (branch name and last commit tag)
ID-98: include app version on the index page. set initial version to 0.2.0 :)
- switch to milliseconds for iat and exp to avoid timezone problems
- create proper validators for subjectToken and verificationToken jsons
- check for expiry of verificationToken
- in test mode, verification pin is always "123456"
- back-to-back test of init verify and complete verify requests
- test to catch expired verificationToken
remove unused function
format fixes (Eclipse auto-format)
uppercase verification pin and reduce from 8 to 6