-
Notifications
You must be signed in to change notification settings - Fork 37
/
server.xml
43 lines (36 loc) · 1.43 KB
/
server.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<server description="wlp-19.0.0.3">
<featureManager>
<feature>appSecurity-2.0</feature>
<feature>openidConnectClient-1.0</feature>
<feature>ssl-1.0</feature>
<feature>servlet-3.1</feature>
</featureManager>
<httpEndpoint id="defaultHttpEndpoint" httpPort="9080" httpsPort="9443" />
<keyStore id="defaultKeyStore" password="IFENcej8K2ADBVX94irwoj5"/>
<keyStore id="digicertRootCA" password="digicert" location="${server.config.dir}/resources/security/digicert-root-ca.jks"/>
<ssl id="oidcClientSSL" keyStoreRef="defaultKeyStore" trustStoreRef="digicertRootCA" />
<!-- Remember to remove httpsRequire=false !!!!!! -->
<openidConnectClient
id="oidc-client-simple-liberty-web-app"
clientId=""
clientSecret=""
discoveryEndpointUrl=""
tokenEndpointAuthMethod="basic"
signatureAlgorithm="RS256"
redirectToRPHostAndPort="http://localhost:9080"
httpsRequired="false"
sslRef="oidcClientSSL"
/>
<application
id="simple-liberty-web-app"
location="location-of-your-war-file"
name="simple-liberty-web-app"
type="war">
<application-bnd>
<security-role name="myrole">
<special-subject type="ALL_AUTHENTICATED_USERS" />
</security-role>
</application-bnd>
</application>
</server>