Here are the screenshots to demostrate how to perform client certificate authentication using the OpenShift router
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
<?xml version="1.0" encoding="utf-8"?> | |
<network-security-config> | |
<base-config> | |
<trust-anchors> | |
<certificates src="user"/> | |
<certificates src="system"/> | |
</trust-anchors> | |
</base-config> | |
</network-security-config> |
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
npm run ionic:android | |
> [email protected] ionic:android /Users/weili/work/mobile-next/cordova-showcase-template | |
> ionic cordova run android | |
? Looks like a fresh checkout! No ./node_modules directory found. Would you like to install project dependencies? Yes | |
[INFO] Installing dependencies may take several minutes! | |
> npm install | |
✔ Running command - done! |
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
use fh-mbaas | |
print("mbaas: Remove documents that are not belong to the mmetting domain") | |
db.mbaas.remove({ | |
'domain': { | |
'$ne': 'mmetting' | |
} | |
}) | |
print("mbaas: Updating hosts for codefesttest environment") |
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
func testDateInterval() { | |
let dateFormatter = DateFormatter() | |
dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss ZZZ" | |
let date1 = dateFormatter.date(from: "2018-03-16 14:00:00 +0000")! | |
let date2 = dateFormatter.date(from: "2018-03-15 14:00:00 +0000")! | |
let diff = date1.timeIntervalSinceNow | |
XCTAssertTrue(diff != 0) | |
} |
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
// | |
// OIDCAuthenticator.swift | |
// AGSAuth | |
import Foundation | |
import AGSCore | |
import AppAuth | |
public class OIDCAuthenticator: Authenticator { | |
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
apiVersion: v1 | |
kind: DeploymentConfig | |
metadata: | |
creationTimestamp: 2017-11-21T14:35:23Z | |
generation: 7 | |
labels: | |
router: router | |
name: router | |
namespace: default | |
resourceVersion: "65033" |
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
^www\.rhdev\.me(:[0-9]+)?(/.*)?$ myproject:keycloak |
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
{{/* | |
haproxy-config.cfg: contains the main config with helper backends that are used to terminate | |
encryption before finally sending to a host_be which is the backend that is the final | |
backend for a route and contains all the endpoints for the service | |
*/}} | |
{{- define "/var/lib/haproxy/conf/haproxy.config" }} | |
{{- $workingDir := .WorkingDir }} | |
{{- $defaultDestinationCA := .DefaultDestinationCA }} | |
{{- $router_ip_v4_v6_mode := env "ROUTER_IP_V4_V6_MODE" "v4" }} |
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
[base] | |
tools | |
platform-tools | |
[build-tools] | |
26.0.1 | |
26.0.0 | |
25.0.3 | |
25.0.2 |