aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kollmann <christian.kollmann@a-sit.at>2021-07-12 09:46:53 +0200
committerChristian Kollmann <christian.kollmann@a-sit.at>2021-07-12 09:49:02 +0200
commitce2ba5f8d0a63e91dcbc6c5b80509f28d7fb32e8 (patch)
tree4a00be7ad04cc2cbb5708a6e332a5cc66d021b3d
parentcbf1d0408519d0763a1a87b733c16a1ba5d022ba (diff)
downloadNational_eIDAS_Gateway-ce2ba5f8d0a63e91dcbc6c5b80509f28d7fb32e8.tar.gz
National_eIDAS_Gateway-ce2ba5f8d0a63e91dcbc6c5b80509f28d7fb32e8.tar.bz2
National_eIDAS_Gateway-ce2ba5f8d0a63e91dcbc6c5b80509f28d7fb32e8.zip
Rename bean to match class name
-rw-r--r--eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/tasks/GenerateAuthnRequestTask.java10
-rw-r--r--eidas_modules/authmodule-eIDAS-v2/src/main/resources/eIDAS.Authentication.process.xml4
-rw-r--r--eidas_modules/authmodule-eIDAS-v2/src/main/resources/eidas_v2_auth.beans.xml2
3 files changed, 8 insertions, 8 deletions
diff --git a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/tasks/GenerateAuthnRequestTask.java b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/tasks/GenerateAuthnRequestTask.java
index 92f58877..9e8ff9ae 100644
--- a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/tasks/GenerateAuthnRequestTask.java
+++ b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/tasks/GenerateAuthnRequestTask.java
@@ -60,12 +60,12 @@ import lombok.extern.slf4j.Slf4j;
/**
* Authentication-process task that generates the Authn. Request to eIDAS Node.
- *
+ *
* @author tlenz
*
*/
@Slf4j
-@Component("ConnecteIDASNodeTask")
+@Component("GenerateAuthnRequestTask")
public class GenerateAuthnRequestTask extends AbstractAuthServletTask {
@Autowired
@@ -110,7 +110,7 @@ public class GenerateAuthnRequestTask extends AbstractAuthServletTask {
// set citizen country code for foreign uses
authnRequestBuilder.citizenCountryCode(citizenCountryCode);
-
+
//set Issuer
final String issur = basicConfig.getBasicConfiguration(Constants.CONIG_PROPS_EIDAS_NODE_ENTITYID);
if (StringUtils.isEmpty(issur)) {
@@ -121,7 +121,7 @@ public class GenerateAuthnRequestTask extends AbstractAuthServletTask {
}
authnRequestBuilder.issuer(issur);
-
+
// Add country-specific informations into eIDAS request
ccSpecificProcessing.preProcess(citizenCountryCode, pendingReq, authnRequestBuilder);
@@ -206,7 +206,7 @@ public class GenerateAuthnRequestTask extends AbstractAuthServletTask {
* one countrycode on each instance. In consequence, more than one eIDAS Ref.
* Impl nodes are required to support producation, testing, or QS stages for one
* country by using one ms-specific eIDAS connector
- *
+ *
* @param environment Environment selector from CountrySlection page
* @return
*/
diff --git a/eidas_modules/authmodule-eIDAS-v2/src/main/resources/eIDAS.Authentication.process.xml b/eidas_modules/authmodule-eIDAS-v2/src/main/resources/eIDAS.Authentication.process.xml
index 2379295b..da35b0c7 100644
--- a/eidas_modules/authmodule-eIDAS-v2/src/main/resources/eIDAS.Authentication.process.xml
+++ b/eidas_modules/authmodule-eIDAS-v2/src/main/resources/eIDAS.Authentication.process.xml
@@ -3,11 +3,11 @@
xmlns:pd="http://reference.e-government.gv.at/namespace/moa/process/definition/v1">
- <pd:Task id="createAuthnRequest" class="ConnecteIDASNodeTask" />
+ <pd:Task id="createAuthnRequest" class="GenerateAuthnRequestTask" />
<pd:Task id="receiveAuthnResponse" class="ReceiveResponseFromeIDASNodeTask" async="true" />
<pd:Task id="finalizeAuthentication" class="FinalizeAuthenticationTask" />
<pd:Task id="generateIdentityLink" class="CreateIdentityLinkTask" />
-
+
<pd:Task id="initialRegisterSearch" class="InitialSearchTask" />
<pd:Task id="createNewErnpEntryTask" class="CreateNewErnpEntryTask" />
diff --git a/eidas_modules/authmodule-eIDAS-v2/src/main/resources/eidas_v2_auth.beans.xml b/eidas_modules/authmodule-eIDAS-v2/src/main/resources/eidas_v2_auth.beans.xml
index cec75682..9dac91e5 100644
--- a/eidas_modules/authmodule-eIDAS-v2/src/main/resources/eidas_v2_auth.beans.xml
+++ b/eidas_modules/authmodule-eIDAS-v2/src/main/resources/eidas_v2_auth.beans.xml
@@ -95,7 +95,7 @@
<!-- Authentication Process Tasks -->
- <bean id="ConnecteIDASNodeTask"
+ <bean id="GenerateAuthnRequestTask"
class="at.asitplus.eidas.specific.modules.auth.eidas.v2.tasks.GenerateAuthnRequestTask"
scope="prototype" />