Skip to content

Commit

Permalink
Merge pull request #111 from vil02/5075_make_some_java_classes_proper…
Browse files Browse the repository at this point in the history
…_utilities
  • Loading branch information
ThisaruGuruge authored Nov 3, 2023
2 parents cb38b51 + e56e65e commit d8daae1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.10.1"
version = "2.10.3"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ This file contains all the notable changes done to the Ballerina SOAP package th

## [Unreleased]

### Changed
- [Make some of the Java classes proper utility classes](https://github.com/ballerina-platform/ballerina-standard-library/issues/5075)

## [0.8.0] - 2023-10-16

### Added
Expand Down
4 changes: 3 additions & 1 deletion native/src/main/java/org/wssec/WsSecurity.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
import static org.wssec.WsSecurityUtils.convertDocumentToString;
import static org.wssec.WsSecurityUtils.setUTChildElements;

public class WsSecurity {
public final class WsSecurity {

private WsSecurity() {}

public static Object applyUsernameTokenPolicy(BObject wsSecHeader, BString username,
BString password, BString passwordType) {
Expand Down
4 changes: 3 additions & 1 deletion native/src/main/java/org/wssec/WsSecurityUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@
import static org.wssec.Constants.XML_DS_NS;
import static org.wssec.Constants.XML_ENC_NS;

public class WsSecurityUtils {
public final class WsSecurityUtils {

private WsSecurityUtils() {}

public static void buildSignature(RequestData reqData, WSSecSignature sign) throws Exception {
List<WSEncryptionPart> parts = new ArrayList<>(1);
Expand Down

0 comments on commit d8daae1

Please sign in to comment.