diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-06-28 13:12:37 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-06-28 13:12:37 +0200 |
commit | 8556c8dce6b5ab9053a40b01817b5a2f29eeccd5 (patch) | |
tree | 19ecbcb75d527773cd0a170014cf922d51be2da6 /eaaf_modules/eaaf_module_auth_sl20/src | |
parent | 127c11a020d3fea36c981d3c206ac7931330e7c0 (diff) | |
download | EAAF-Components-8556c8dce6b5ab9053a40b01817b5a2f29eeccd5.tar.gz EAAF-Components-8556c8dce6b5ab9053a40b01817b5a2f29eeccd5.tar.bz2 EAAF-Components-8556c8dce6b5ab9053a40b01817b5a2f29eeccd5.zip |
fix some small bugs
Diffstat (limited to 'eaaf_modules/eaaf_module_auth_sl20/src')
2 files changed, 2 insertions, 2 deletions
diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20JSONBuilderUtils.java b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20JSONBuilderUtils.java index 84e02887..ba069ac7 100644 --- a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20JSONBuilderUtils.java +++ b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20JSONBuilderUtils.java @@ -438,7 +438,7 @@ public class SL20JSONBuilderUtils { final ObjectNode req = mapper.getMapper().createObjectNode(); addSingleIntegerElement(req, SL20Constants.SL20_VERSION, SL20Constants.CURRENT_SL20_VERSION, true); addSingleStringElement(req, SL20Constants.SL20_RESPID, respId, true); - addSingleStringElement(req, SL20Constants.SL20_INRESPTO, inResponseTo, true); + addSingleStringElement(req, SL20Constants.SL20_INRESPTO, inResponseTo, false); addSingleStringElement(req, SL20Constants.SL20_TRANSACTIONID, transactionId, false); addOnlyOnceOfTwo(req, SL20Constants.SL20_PAYLOAD, SL20Constants.SL20_SIGNEDPAYLOAD, payLoad, signedPayload); diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20JSONExtractorUtils.java b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20JSONExtractorUtils.java index ccd90dba..901eff51 100644 --- a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20JSONExtractorUtils.java +++ b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20JSONExtractorUtils.java @@ -209,7 +209,7 @@ public class SL20JSONExtractorUtils { throw new SLCommandoParserException("NO result OR encryptedResult FOUND."); else if (encryptedResult == null && mustBeEncrypted) - throw new SLCommandoParserException("result MUST be signed."); + throw new SLCommandoParserException("result MUST be encrypted."); else if (encryptedResult != null && encryptedResult.isTextual()) { try { |