diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-09-11 13:34:59 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-09-11 13:34:59 +0200 |
commit | 65ffec4732de6bf5b8bebe904fd00cd09e73eb9f (patch) | |
tree | bd07b93b07dc9e8c4a31b1a0811fbcd1288ba1a5 /eaaf_modules/eaaf_module_pvp2_idp/src/main | |
parent | ea49fa2d28078d889e9f8147a3ef274301beec52 (diff) | |
download | EAAF-Components-65ffec4732de6bf5b8bebe904fd00cd09e73eb9f.tar.gz EAAF-Components-65ffec4732de6bf5b8bebe904fd00cd09e73eb9f.tar.bz2 EAAF-Components-65ffec4732de6bf5b8bebe904fd00cd09e73eb9f.zip |
add some more revisions-log messages
Diffstat (limited to 'eaaf_modules/eaaf_module_pvp2_idp/src/main')
2 files changed, 5 insertions, 1 deletions
diff --git a/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/AbstractPVP2XProtocol.java b/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/AbstractPVP2XProtocol.java index 6ee9bc91..301d8e5d 100644 --- a/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/AbstractPVP2XProtocol.java +++ b/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/AbstractPVP2XProtocol.java @@ -525,7 +525,7 @@ public abstract class AbstractPVP2XProtocol extends AbstractAuthProtocolModulCon log.debug("Extended AuthnRequest validation and processing finished"); //write revisionslog entry - revisionsLogger.logEvent(pendingReq, PVPEventConstants.AUTHPROTOCOL_PVP_REQUEST_AUTHREQUEST); + revisionsLogger.logEvent(pendingReq, PVPEventConstants.AUTHPROTOCOL_PVP_REQUEST_AUTHREQUEST, authReq.getID()); } diff --git a/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/AuthenticationAction.java b/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/AuthenticationAction.java index b6e00709..8dfb4ef6 100644 --- a/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/AuthenticationAction.java +++ b/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/AuthenticationAction.java @@ -50,6 +50,7 @@ import at.gv.egiz.eaaf.core.api.idp.IAction; import at.gv.egiz.eaaf.core.api.idp.IAuthData; import at.gv.egiz.eaaf.core.api.idp.IConfiguration; import at.gv.egiz.eaaf.core.api.idp.slo.SLOInformationInterface; +import at.gv.egiz.eaaf.core.api.logging.IRevisionLogger; import at.gv.egiz.eaaf.core.exceptions.EAAFException; import at.gv.egiz.eaaf.core.impl.data.SLOInformationImpl; import at.gv.egiz.eaaf.modules.pvp2.api.IPVP2BasicConfiguration; @@ -76,6 +77,7 @@ public class AuthenticationAction implements IAction { @Autowired(required=true) IConfiguration authConfig; @Autowired(required=true) PVP2AssertionBuilder assertionBuilder; @Autowired(required=true) IPVP2BasicConfiguration pvpBasicConfiguration; + @Autowired(required=true) IRevisionLogger revisionsLogger; private AbstractCredentialProvider pvpIDPCredentials; @@ -135,6 +137,8 @@ public class AuthenticationAction implements IAction { consumerService.getLocation(), moaRequest.getRelayState(), pvpIDPCredentials.getIDPAssertionSigningCredential(), req); + revisionsLogger.logEvent(req, 3105, authResponse.getID()); + //set protocol type sloInformation.setProtocolType(req.requestedModule()); sloInformation.setSpEntityID(req.getServiceProviderConfiguration().getUniqueIdentifier()); |