mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-18 10:23:58 +08:00
Remove security trace from server.xml configs
This commit is contained in:
parent
95efe7781b
commit
af6c80456c
@ -14,12 +14,10 @@
|
||||
<applicationManager autoExpand="true"/>
|
||||
|
||||
<sslDefault sslRef="RpSSLConfig" />
|
||||
<ssl
|
||||
id="RpSSLConfig"
|
||||
<ssl id="RpSSLConfig"
|
||||
keyStoreRef="defaultKeyStore"
|
||||
trustStoreRef="validationKeystore" />
|
||||
<keyStore
|
||||
id="validationKeystore"
|
||||
<keyStore id="validationKeystore"
|
||||
password="secret"
|
||||
type="jks"
|
||||
location="${server.config.dir}resources/security/validationKeystore.jks" />
|
||||
@ -28,6 +26,4 @@
|
||||
<quickStartSecurity userName="admin" userPassword="admin"/>
|
||||
|
||||
<jndiEntry jndiName="jwtKeyStore" value="${server.config.dir}resources/security/validationKeystore.jks"/>
|
||||
|
||||
<logging traceSpecification="*=info:com.ibm.ws.security.*=all:com.ibm.websphere.security.wim.*=all:Authentication=all:com.ibm.ws.container.service.security.internal.*=all" />
|
||||
</server>
|
Binary file not shown.
@ -15,13 +15,12 @@
|
||||
<httpEndpoint id="defaultHttpEndpoint" host="*" httpPort="${httpPort}" httpsPort="${httpsPort}" />
|
||||
|
||||
<applicationManager autoExpand="true"/>
|
||||
|
||||
<sslDefault sslRef="RpSSLConfig" />
|
||||
<ssl
|
||||
id="RpSSLConfig"
|
||||
<ssl id="RpSSLConfig"
|
||||
keyStoreRef="validationKeystore"
|
||||
trustStoreRef="validationKeystore" />
|
||||
<keyStore
|
||||
id="validationKeystore"
|
||||
<keyStore id="validationKeystore"
|
||||
password="secret2"
|
||||
type="jks"
|
||||
location="${server.config.dir}resources/security/validationKeystore.jks" />
|
||||
@ -36,6 +35,4 @@
|
||||
allowedMethods="GET, DELETE, POST, PUT"
|
||||
allowedHeaders="origin, content-type, accept, authorization, cache-control"
|
||||
maxAge="3600" />
|
||||
|
||||
<logging traceSpecification="*=info:com.ibm.ws.security.*=all:Authentication=all:com.ibm.ws.container.service.security.internal.*=all" />
|
||||
</server>
|
@ -11,29 +11,24 @@
|
||||
</featureManager>
|
||||
|
||||
<applicationManager autoExpand="true"/>
|
||||
|
||||
<sslDefault sslRef="RpSSLConfig" />
|
||||
<ssl
|
||||
id="RpSSLConfig"
|
||||
<ssl id="RpSSLConfig"
|
||||
keyStoreRef="validationKeystore"
|
||||
trustStoreRef="validationKeystore" />
|
||||
<keyStore
|
||||
id="validationKeystore"
|
||||
<keyStore id="validationKeystore"
|
||||
password="secret2"
|
||||
type="jks"
|
||||
location="${server.config.dir}resources/security/validationKeystore.jks" />
|
||||
|
||||
<jndiEntry jndiName="jwtKeyStore" value="${server.config.dir}resources/security/validationKeystore.jks"/>
|
||||
|
||||
<mpJwt
|
||||
id="myMpJwt"
|
||||
<mpJwt id="myMpJwt"
|
||||
keyName="rebike"
|
||||
issuer="https://auth-service-libertybikes.mybluemix.net"
|
||||
audiences="client">
|
||||
</mpJwt>
|
||||
audiences="client"/>
|
||||
|
||||
<httpEndpoint id="defaultHttpEndpoint" host="*" httpPort="${httpPort}" httpsPort="${httpsPort}" />
|
||||
|
||||
<applicationManager autoExpand="true"/>
|
||||
|
||||
<logging traceSpecification="*=info:com.ibm.ws.security.*=all:Authentication=all:com.ibm.ws.container.service.security.internal.*=all" />
|
||||
</server>
|
Loading…
Reference in New Issue
Block a user