Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Signature API client Java

Copyright 2016 Posten Norge AS. All Rights Reserved.
Copyright 2023 Posten Bring AS. All Rights Reserved.

This product includes software developed by Posten Norge AS. - https://www.posten.no/
This product includes software developed by Posten Bring AS. - https://www.posten.no/
Licensed under Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.html


Expand Down
4 changes: 2 additions & 2 deletions bom/NOTICE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Signature API client Java

Copyright 2016 Posten Norge AS. All Rights Reserved.
Copyright 2023 Posten Bring AS. All Rights Reserved.

This product includes software developed by Posten Norge AS. - https://www.posten.no/
This product includes software developed by Posten Bring AS. - https://www.posten.no/
Licensed under Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.html


Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (C) Posten Norge AS
Copyright (C) Posten Bring AS

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions lib/NOTICE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Signature API client Java

Copyright 2016 Posten Norge AS. All Rights Reserved.
Copyright 2023 Posten Bring AS. All Rights Reserved.

This product includes software developed by Posten Norge AS. - https://www.posten.no/
This product includes software developed by Posten Bring AS. - https://www.posten.no/
Licensed under Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.html


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public Builder addDocumentBundleProcessor(DocumentBundleProcessor processor) {

/**
* Override which organization number which is expected from the server's certificate.
* By default, this is the organization number of Posten Norge AS, and should <em>not</em>
* By default, this is the organization number of Posten Bring AS, and should <em>not</em>
* be overridden unless you have a specific need such as doing testing against your own
* stubbed implementation of the Posten signering API.
*
Expand All @@ -340,7 +340,7 @@ public Builder serverOrganizationNumber(String serverOrganizationNumber) {
/**
* Override the validation of the server's certificate. This method is mainly
* intended for tests if you need to override (or even disable) the default
* validation that the server identifies itself as "Posten Norge AS".
* validation that the server identifies itself as "Posten Bring AS".
*
* Calling this method for a production deployment is probably <em>not</em> what you intend to do!
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class ApacheHttpClientSslConfigurer implements Configurer<PoolingHttpClie
public ApacheHttpClientSslConfigurer(KeyStoreConfig keyStoreConfig, ProvidesCertificateResourcePaths trustedCertificates) {
this.keyStoreConfig = keyStoreConfig;
this.trustedCertificates = trustedCertificates;
this.certificateChainValidation = new OrganizationNumberValidation("984661185"); // Posten Norge AS organization number
this.certificateChainValidation = new OrganizationNumberValidation("984661185"); // Posten Bring AS organization number
}

public ApacheHttpClientSslConfigurer trust(ProvidesCertificateResourcePaths certificates) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) Posten Norge AS
* Copyright (C) Posten Bring AS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/test/resources/junit-platform.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) Posten Norge AS
# Copyright (C) Posten Bring AS
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (C) Posten Norge AS
Copyright (C) Posten Bring AS

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions src/NOTICE.template
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Signature API client Java

Copyright 2016 Posten Norge AS. All Rights Reserved.
Copyright 2023 Posten Bring AS. All Rights Reserved.

This product includes software developed by Posten Norge AS. - https://www.posten.no/
This product includes software developed by Posten Bring AS. - https://www.posten.no/
Licensed under Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.html


Expand Down