-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure password expiration really is optional
Fix: #97
- Loading branch information
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
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
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
57 changes: 57 additions & 0 deletions
57
com.io7m.idstore.tests/src/main/resources/com/io7m/idstore/tests/server-config-3.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
|
||
<Configuration xmlns="urn:com.io7m.idstore:configuration:1" xmlns:tls="urn:com.io7m.idstore.tls:1"> | ||
|
||
<Branding ProductTitle="idstore"/> | ||
|
||
<Database Kind="POSTGRESQL" | ||
Name="postgres" | ||
OwnerRoleName="postgres" | ||
OwnerRolePassword="12345678" | ||
WorkerRolePassword="1234abcd" | ||
Address="localhost" | ||
Port="54322" | ||
Create="true" | ||
Upgrade="true"/> | ||
|
||
<HTTPServices> | ||
<HTTPServiceAdminAPI ListenAddress="localhost" | ||
ListenPort="51000" | ||
ExternalURI="http://localhost:51000/"> | ||
<tls:TLSDisabled/> | ||
</HTTPServiceAdminAPI> | ||
<HTTPServiceUserAPI ListenAddress="localhost" | ||
ListenPort="50000" | ||
ExternalURI="http://localhost:50000/"> | ||
<tls:TLSDisabled/> | ||
</HTTPServiceUserAPI> | ||
<HTTPServiceUserView ListenAddress="localhost" | ||
ListenPort="50001" | ||
ExternalURI="http://localhost:50001/"> | ||
<tls:TLSDisabled/> | ||
</HTTPServiceUserView> | ||
</HTTPServices> | ||
|
||
<History UserLoginHistoryLimit="100" | ||
AdminLoginHistoryLimit="10000"/> | ||
|
||
<Mail SenderAddress="[email protected]" | ||
VerificationExpiration="PT24H"> | ||
<SMTP Host="mail.example.com" | ||
Port="25"/> | ||
</Mail> | ||
|
||
<OpenTelemetry LogicalServiceName="idstore"> | ||
<Metrics Endpoint="http://metrics.example.com:4317" | ||
Protocol="GRPC"/> | ||
<Traces Endpoint="http://traces.example.com:4317" | ||
Protocol="GRPC"/> | ||
</OpenTelemetry> | ||
|
||
<RateLimiting EmailVerificationRateLimit="PT10M" | ||
PasswordResetRateLimit="PT10M"/> | ||
|
||
<Sessions UserSessionExpiration="PT30M" | ||
AdminSessionExpiration="PT30M"/> | ||
|
||
</Configuration> |