Skip to content

Commit

Permalink
extended scaMethod mapping with hbci decoupled params
Browse files Browse the repository at this point in the history
  • Loading branch information
age-77 committed Aug 27, 2021
1 parent 3efdd27 commit 9f11c03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ public class TanTransportType implements Serializable {
private String inputInfo;
private boolean needTanMedia;
private AuthenticationType type;

private int timeoutDecoupledFirstStatusRequest;
private int timeoutDecoupledNextStatusRequest;
private int decoupledMaxStatusRequests;
}
2 changes: 1 addition & 1 deletion onlinebanking-hbci4java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>de.adorsys</groupId>
<artifactId>hbci4j-adorsys</artifactId>
<version>3.5.31</version>
<version>3.5.34</version>
<exclusions>
<exclusion>
<groupId>org.projectlombok</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ private List<TanTransportType> extractTanTransportTypes(PinTanPassport hbciPassp
.name(hbciTwoStepMechanism.getName())
.inputInfo(hbciTwoStepMechanism.getInputinfo())
.needTanMedia(hbciTwoStepMechanism.getNeedtanmedia().equals("2"))
.timeoutDecoupledFirstStatusRequest(hbciTwoStepMechanism.getTimeoutDecoupledFirstStatusRequest())
.timeoutDecoupledNextStatusRequest(hbciTwoStepMechanism.getTimeoutDecoupledNextStatusRequest())
.decoupledMaxStatusRequests(hbciTwoStepMechanism.getMaxDecoupledStatusRequests())
.build())
.map(tanTransportType -> {
if (!tanTransportType.isNeedTanMedia()) {
Expand Down

0 comments on commit 9f11c03

Please sign in to comment.