Skip to content

Commit

Permalink
Change sap sncQop getter to int
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsm5 committed Oct 21, 2020
1 parent 936b60c commit a5d6b37
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public Properties getServerProperties(String arg0) {
serverProperties.setProperty(ServerDataProvider.JCO_SNC_MODE, "1");
serverProperties.setProperty(ServerDataProvider.JCO_SNC_LIBRARY, sapSystem.getSncLibrary());
serverProperties.setProperty(ServerDataProvider.JCO_SNC_MYNAME, sapSystem.getMyName());
serverProperties.setProperty(ServerDataProvider.JCO_SNC_QOP, sapSystem.getSncQop());
serverProperties.setProperty(ServerDataProvider.JCO_SNC_QOP, sapSystem.getSncQop()+"");
}

return serverProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ public void setSncQop(int qop) throws ConfigurationException {

this.qop = qop;
}
public String getSncQop() {
return qop+"";
public int getSncQop() {
return qop;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public Properties getDestinationProperties(String destinationName) {
if(sapSystem.isSncEncrypted()) {
destinationProperties.setProperty(DestinationDataProvider.JCO_SNC_MODE, "1");
destinationProperties.setProperty(DestinationDataProvider.JCO_SNC_LIBRARY, sapSystem.getSncLibrary());
destinationProperties.setProperty(DestinationDataProvider.JCO_SNC_QOP, sapSystem.getSncQop());
destinationProperties.setProperty(DestinationDataProvider.JCO_SNC_QOP, sapSystem.getSncQop()+"");
destinationProperties.setProperty(DestinationDataProvider.JCO_SNC_SSO, sapSystem.getSncAuthMethod());
destinationProperties.setProperty(DestinationDataProvider.JCO_SNC_PARTNERNAME, sapSystem.getPartnerName());
destinationProperties.setProperty(DestinationDataProvider.JCO_SNC_MYNAME, sapSystem.getMyName());
Expand Down

0 comments on commit a5d6b37

Please sign in to comment.