diff options
| author | Thomas <> | 2021-03-01 19:40:12 +0100 | 
|---|---|---|
| committer | Thomas <> | 2021-03-01 19:40:12 +0100 | 
| commit | 41dfc9938c5e5da2dfeed251c37865a72d115f75 (patch) | |
| tree | dd201022b13ea6e6507fe20f31bf28ca63bcb879 /eaaf_core/src/main/java | |
| parent | da964d59a926c23ef6a14210b59de30742e1e45c (diff) | |
| download | EAAF-Components-41dfc9938c5e5da2dfeed251c37865a72d115f75.tar.gz EAAF-Components-41dfc9938c5e5da2dfeed251c37865a72d115f75.tar.bz2 EAAF-Components-41dfc9938c5e5da2dfeed251c37865a72d115f75.zip | |
change endpoints for protocol-finalization controller and add basic modul for end-points
Diffstat (limited to 'eaaf_core/src/main/java')
2 files changed, 6 insertions, 4 deletions
| diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java index 925d6fe2..abb3d685 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java @@ -560,7 +560,7 @@ public class ProtocolAuthenticationService implements IProtocolAuthenticationSer    private IGuiBuilderConfiguration evaluateRequiredErrorHandlingMethod(IRequest first, String errorId) {      if (first != null && first.isProcessInIframe()) {        return guiConfigFactory.getDefaultIFrameParentHopGui(first, -          "/" + ProtocolFinalizationController.ENDPOINT_ERRORHANDLING, +          ProtocolFinalizationController.ENDPOINT_ERRORHANDLING,            errorId);      } @@ -571,7 +571,7 @@ public class ProtocolAuthenticationService implements IProtocolAuthenticationSer    private String generateErrorRedirectUrl(final HttpServletRequest req, String errorKey) {      String redirectUrl = null;      redirectUrl = ServletUtils.getBaseUrl(req); -    redirectUrl += "/" + ProtocolFinalizationController.ENDPOINT_ERRORHANDLING + "?" +    redirectUrl += ProtocolFinalizationController.ENDPOINT_ERRORHANDLING + "?"          + EaafConstants.PARAM_HTTP_ERROR_CODE + "=" + errorKey;      return redirectUrl; diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java index 4ff41836..6a566f00 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java @@ -52,8 +52,10 @@ import at.gv.egiz.eaaf.core.impl.utils.TransactionIdUtils;  @Controller  public class ProtocolFinalizationController extends AbstractController {    private static final Logger log = LoggerFactory.getLogger(ProtocolFinalizationController.class); -  public static final String ENDPOINT_FINALIZEPROTOCOL = "finalizeAuthProtocol"; -  public static final String ENDPOINT_ERRORHANDLING = "errorHandling"; +  public static final String ENDPOINT_FINALIZEPROTOCOL =  +      EaafConstants.ENDPOINT_PREFIX_SECURED + "/finalizeAuthProtocol"; +  public static final String ENDPOINT_ERRORHANDLING =  +      EaafConstants.ENDPOINT_PREFIX_SECURED + "/errorHandling";    @Autowired(required = true)    IRequestStorage requestStorage; | 
