Skip to content

Commit

Permalink
Add an option not to require a JWT
Browse files Browse the repository at this point in the history
  • Loading branch information
jwalcorn committed Jan 8, 2024
1 parent 77f4f42 commit 66bf97b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/liberty/config/includes/ldap.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright 2017-2020 IBM Corp All Rights Reserved
Copyright 2022-2023 Kyndryl Corp, All Rights Reserved
Copyright 2022-2024 Kyndryl Corp, All Rights Reserved
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand All @@ -14,4 +14,7 @@
<server>
<jwtBuilder id="defaultJWT" keyStoreRef="defaultTrustStore" keyAlias="jwtSigner" issuer="${JWT_ISSUER}" audiences="${JWT_AUDIENCE}" />
<mpJwt id="stockTraderJWT" audiences="${JWT_AUDIENCE}" issuer="${JWT_ISSUER}" keyName="jwtSigner" ignoreApplicationAuthMethod="false" expiry="12h" sslRef="defaultSSLConfig"/>

<webAppSecurity displayAuthenticationRealm="true" logoutOnHttpSessionExpire="true" preserveFullyQualifiedReferrerUrl="true"
trackLoggedOutSSOCookies="true" ssoCookieName="StockTraderSSO" useOnlyCustomCookieName="true" ssoUseDomainFromURL="true"/>
</server>

0 comments on commit 66bf97b

Please sign in to comment.