Remove security trace from server.xml configs

This commit is contained in:
Andrew Guibert 2018-05-10 16:29:54 -05:00
parent 95efe7781b
commit af6c80456c
4 changed files with 16 additions and 28 deletions

View File

@ -14,20 +14,16 @@
<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" />
<keyStore id="defaultKeyStore" password="Liberty" />
<keyStore id="defaultKeyStore" password="Liberty" />
<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>

View File

@ -15,18 +15,17 @@
<httpEndpoint id="defaultHttpEndpoint" host="*" httpPort="${httpPort}" httpsPort="${httpsPort}" />
<applicationManager autoExpand="true"/>
<sslDefault sslRef="RpSSLConfig" />
<ssl
id="RpSSLConfig"
<sslDefault sslRef="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" />
<keyStore id="defaultKeyStore" password="secret2" />
<keyStore id="defaultKeyStore" password="secret2" />
<quickStartSecurity userName="admin" userPassword="admin"/>
<!-- This configuration allows cross-origin HTTP requests, such
@ -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>

View File

@ -11,29 +11,24 @@
</featureManager>
<applicationManager autoExpand="true"/>
<sslDefault sslRef="RpSSLConfig" />
<ssl
id="RpSSLConfig"
<sslDefault sslRef="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"
keyName="rebike"
issuer="https://auth-service-libertybikes.mybluemix.net"
audiences="client">
</mpJwt>
<mpJwt id="myMpJwt"
keyName="rebike"
issuer="https://auth-service-libertybikes.mybluemix.net"
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>