-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1886 from ldclakmal/fix-security-bbes
Update instructions of security BBEs
- Loading branch information
Showing
23 changed files
with
45 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...-service-basic-auth-ldap-user-store/graphql_service_basic_auth_ldap_user_store.server.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path and private key file path.) | ||
# You may need to change the certificate file path and private key file path. | ||
bal run graphql_service_basic_auth_ldap_user_store.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
6 changes: 2 additions & 4 deletions
6
examples/graphql-service-jwt-auth/graphql_service_jwt_auth.server.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path, private key file path and | ||
# trusted certificate file path.) | ||
# You may need to change the certificate file path, private key file path, and | ||
# trusted certificate file path. | ||
bal run graphql_service_jwt_auth.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
6 changes: 2 additions & 4 deletions
6
examples/graphql-service-mutual-ssl/graphql_service_mutual_ssl.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path, private key file path, and | ||
# trusted certificate file path.) | ||
# You may need to change the certificate file path, private key file path, and | ||
# trusted certificate file path. | ||
bal run graphql_service_mutual_ssl.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
6 changes: 2 additions & 4 deletions
6
examples/graphql-service-oauth2/graphql_service_oauth2.server.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path, private key file path and | ||
# trusted certificate file path.) | ||
# You may need to change the certificate file path, private key file path, and | ||
# trusted certificate file path. | ||
bal run graphql_service_oauth2.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path and private key file path.) | ||
# You may need to change the certificate file path and private key file path. | ||
bal run graphql_service_ssl_tls.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Before testing this sample, first start a sample service secured with Basic Auth. | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the trusted certificate file path.) | ||
# As a prerequisite, start a sample service secured with Basic Auth. | ||
# You may need to change the trusted certificate file path. | ||
bal run http_client_basic_auth.bal | ||
Hello, World! |
6 changes: 2 additions & 4 deletions
6
examples/http-client-bearer-token-auth/http_client_bearer_token_auth.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Before testing this sample, first start a secured sample service. | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the trusted certificate file path.) | ||
# As a prerequisite, start a secured sample service. | ||
# You may need to change the trusted certificate file path. | ||
bal run http_client_bearer_token_auth.bal | ||
Hello, World! |
13 changes: 3 additions & 10 deletions
13
examples/http-client-mutual-ssl/http_client_mutual_ssl.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
# As a prerequisite, navigate to the directory that contains the | ||
# `http_service_mutual_ssl.bal` file and execute the `bal run` command below. | ||
# (You may need to change the certificate file path and private key file path.) | ||
bal run http_service_mutual_ssl.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 | ||
|
||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path, private key file path and | ||
# trusted certificate file path.) | ||
# As a prerequisite, start a sample service secured with mutual SSL. | ||
# You may need to change the certificate file path, private key file path, and | ||
# trusted certificate file path. | ||
bal run http_client_mutual_ssl.bal | ||
Hello, World! |
6 changes: 2 additions & 4 deletions
6
...oauth2-client-credentials-grant-type/http_client_oauth2_client_credentials_grant_type.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Before testing this sample, first start a sample service secured with OAuth2. | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the trusted certificate file path.) | ||
# As a prerequisite, start a sample service secured with OAuth2. | ||
# You may need to change the trusted certificate file path. | ||
bal run http_client_oauth2_client_credentials_grant_type.bal | ||
Hello, World! |
6 changes: 2 additions & 4 deletions
6
examples/http-client-oauth2-password-grant-type/http_client_oauth2_password_grant_type.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Before testing this sample, first start a sample service secured with OAuth2. | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the trusted certificate file path.) | ||
# As a prerequisite, start a sample service secured with OAuth2. | ||
# You may need to change the trusted certificate file path. | ||
bal run http_client_oauth2_password_grant_type.bal | ||
Hello, World! |
6 changes: 2 additions & 4 deletions
6
...tp-client-oauth2-refresh-token-grant-type/http_client_oauth2_refresh_token_grant_type.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Before test this sample, first start a sample service secured with OAuth2. | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the trusted certificate file path.) | ||
# As a prerequisite, start a sample service secured with OAuth2. | ||
# You may need to change the trusted certificate file path. | ||
bal run http_client_oauth2_refresh_token_grant_type.bal | ||
Hello, World! |
6 changes: 2 additions & 4 deletions
6
examples/http-client-self-signed-jwt-auth/http_client_self_signed_jwt_auth.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Before testing this sample, first start a sample service secured with JWT Auth. | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the trusted certificate file path and private key file path.) | ||
# As a prerequisite, start a sample service secured with OAuth2. | ||
# You may need to change the trusted certificate file path and private key file path. | ||
bal run http_client_self_signed_jwt_auth.bal | ||
Hello, World! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
# As a prerequisite, navigate to the directory that contains the | ||
# `http_service_ssl_tls.bal` file and execute the `bal run` command below. | ||
# (You may need to change the certificate file path and private key file path.) | ||
bal run http_service_ssl_tls.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 | ||
|
||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the trusted certificate file path.) | ||
# As a prerequisite, start a sample service secured with SSL. | ||
# You may need to change the trusted certificate file path. | ||
bal run http_client_ssl_tls.bal | ||
Hello, World! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ttp-service-basic-auth-ldap-user-store/http_service_basic_auth_ldap_user_store.server.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path and private key file path.) | ||
# You may need to change the certificate file path and private key file path. | ||
bal run http_service_basic_auth_ldap_user_store.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
6 changes: 2 additions & 4 deletions
6
examples/http-service-jwt-auth/http_service_jwt_auth.server.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path, private key file path and | ||
# trusted certificate file path.) | ||
# You may need to change the certificate file path, private key file path, and | ||
# trusted certificate file path. | ||
bal run http_service_jwt_auth.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path, private key file path, and | ||
# trusted certificate file path.) | ||
# You may need to change the certificate file path, private key file path, and | ||
# trusted certificate file path. | ||
bal run http_service_mutual_ssl.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path, private key file path and | ||
# trusted certificate file path.) | ||
# You may need to change the certificate file path, private key file path, and | ||
# trusted certificate file path. | ||
bal run http_service_oauth2.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
# (You may need to change the certificate file path and private key file path.) | ||
# You may need to change the certificate file path and private key file path. | ||
bal run http_service_ssl_tls.bal | ||
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
examples/security-jwt-issue-validate/security_jwt_issue_validate.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# To run this sample, navigate to the directory that contains the `.bal` file, | ||
# and execute the `bal run` command below. | ||
bal run url_encode_decode.bal | ||
URL encoded value: data%3Dvalue | ||
URL decoded value: data=value |