Skip to content

Commit

Permalink
fix: Typo httpLoggingExludePaths jans-auth-server jans-cli jans-confi…
Browse files Browse the repository at this point in the history
…g-api jans-linux-setup docker-jans-persistence-loader
  • Loading branch information
jmunozherbas committed Mar 23, 2022
1 parent e3d9dbf commit 47a20ee
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
"logClientIdOnClientAuthentication": true,
"logClientNameOnClientAuthentication": false,
"httpLoggingEnabled": false,
"httpLoggingExludePaths": [],
"httpLoggingExcludePaths": [],
"externalLoggerConfiguration": "",
"authorizationRequestCustomAllowedParameters" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
"logClientIdOnClientAuthentication": true,
"logClientNameOnClientAuthentication": false,
"httpLoggingEnabled": false,
"httpLoggingExludePaths": [],
"httpLoggingExcludePaths": [],
"externalLoggerConfiguration": "",
"authorizationRequestCustomAllowedParameters" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public class AppConfiguration implements Configuration {
private List<String> enabledComponents;

private Boolean httpLoggingEnabled; // Used in ServletLoggingFilter to enable http request/response logging.
private Set<String> httpLoggingExludePaths; // Used in ServletLoggingFilter to exclude some paths from logger. Paths example: ["/jans-auth/img", "/jans-auth/stylesheet"]
private Set<String> httpLoggingExcludePaths; // Used in ServletLoggingFilter to exclude some paths from logger. Paths example: ["/jans-auth/img", "/jans-auth/stylesheet"]
private String externalLoggerConfiguration; // Path to external log4j2 configuration file. This property might be configured from oxTrust: /identity/logviewer/configure

public Boolean getRequireRequestObjectEncryption() {
Expand Down Expand Up @@ -1956,12 +1956,12 @@ public void setHttpLoggingEnabled(Boolean httpLoggingEnabled) {
this.httpLoggingEnabled = httpLoggingEnabled;
}

public Set<String> getHttpLoggingExludePaths() {
return httpLoggingExludePaths;
public Set<String> getHttpLoggingExcludePaths() {
return httpLoggingExcludePaths;
}

public void setHttpLoggingExludePaths(Set<String> httpLoggingExludePaths) {
this.httpLoggingExludePaths = httpLoggingExludePaths;
public void setHttpLoggingExcludePaths(Set<String> httpLoggingExcludePaths) {
this.httpLoggingExcludePaths = httpLoggingExcludePaths;
}

public String getLoggingLevel() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
chain.doFilter(httpRequest, httpResponse);
return;
}
Set<String> excludedPaths = appConfiguration.getHttpLoggingExludePaths();
Set<String> excludedPaths = appConfiguration.getHttpLoggingExcludePaths();
if (!CollectionUtils.isEmpty(excludedPaths)) {
for (String excludedPath : excludedPaths) {
String requestURI = httpRequest.getRequestURI();
Expand Down
4 changes: 2 additions & 2 deletions jans-cli/cli/jca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4764,7 +4764,7 @@ components:
httpLoggingEnabled:
type: boolean
description: Enable/Disable request/response logging filter.
httpLoggingExludePaths:
httpLoggingExcludePaths:
type: array
description: List of base URI for which request/response logging filter should not record activity.
items:
Expand Down Expand Up @@ -5793,7 +5793,7 @@ components:
externalLoggerConfiguration:
description: Path to external log4j2 configuration file.
type: string
httpLoggingExludePaths:
httpLoggingExcludePaths:
description: List of paths to exclude from logger.
type: array
items:
Expand Down
2 changes: 1 addition & 1 deletion jans-cli/docs/cli/cli-jans-authorization-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ Getting access token for scope https://jans.io/oauth/jans-auth-server/config/pro
"cibaEnabled": false,
"discoveryCacheLifetimeInMinutes": 60,
"httpLoggingEnabled": false,
"httpLoggingExludePaths": null,
"httpLoggingExcludePaths": null,
"externalLoggerConfiguration": null,
"redirectUrisRegexEnabled": false
}
Expand Down
6 changes: 3 additions & 3 deletions jans-cli/docs/cli/cli-logging-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Getting access token for scope https://jans.io/oauth/config/logging.readonly
"disableJdkLogger": true,
"enabledOAuthAuditLogging": false,
"externalLoggerConfiguration": null,
"httpLoggingExludePaths": null
"httpLoggingExcludePaths": null
}
```

Expand All @@ -53,7 +53,7 @@ To update logging configuration, get the schema first:
"disableJdkLogger": true,
"enabledOAuthAuditLogging": false,
"externalLoggerConfiguration": null,
"httpLoggingExludePaths": [
"httpLoggingExcludePaths": [
"/auth/img",
"/auth/stylesheet"
]
Expand Down Expand Up @@ -89,7 +89,7 @@ Server Response:
"disableJdkLogger": false,
"enabledOAuthAuditLogging": true,
"externalLoggerConfiguration": null,
"httpLoggingExludePaths": [
"httpLoggingExcludePaths": [
"/auth/img",
"/auth/stylesheet"
]
Expand Down
2 changes: 1 addition & 1 deletion jans-cli/docs/im/im-jans-authorization-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ Select 1 to get all the details about Jans authorization server configuration. I
"cibaEnabled": false,
"discoveryCacheLifetimeInMinutes": 60,
"httpLoggingEnabled": false,
"httpLoggingExludePaths": null,
"httpLoggingExcludePaths": null,
"externalLoggerConfiguration": null,
"redirectUrisRegexEnabled": false
}
Expand Down
8 changes: 4 additions & 4 deletions jans-cli/docs/im/im-janssen-logging-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Getting access token for scope https://jans.io/oauth/config/logging.readonly
"disableJdkLogger": true,
"enabledOAuthAuditLogging": false,
"externalLoggerConfiguration": null,
"httpLoggingExludePaths": null
"httpLoggingExcludePaths": null
}
```
To update the current logging configuration select option 2. For example, I have updated `logging level INFO to DEBUG` and enabled `enabledOAuthAuditLogging`.
Expand Down Expand Up @@ -57,7 +57,7 @@ externalLoggerConfiguration:

«List of paths to exclude from logger. Type: array of string separated by _,»
Example: /auth/img, /auth/stylesheet
httpLoggingExludePaths:
httpLoggingExcludePaths:
Obtained Data:

{
Expand All @@ -67,7 +67,7 @@ Obtained Data:
"disableJdkLogger": true,
"enabledOAuthAuditLogging": true,
"externalLoggerConfiguration": null,
"httpLoggingExludePaths": null
"httpLoggingExcludePaths": null
}

Continue? y
Expand All @@ -81,7 +81,7 @@ Please wait while posting data ...
"disableJdkLogger": true,
"enabledOAuthAuditLogging": true,
"externalLoggerConfiguration": null,
"httpLoggingExludePaths": null
"httpLoggingExcludePaths": null
}

```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Logging {
private boolean disableJdkLogger;
private boolean enabledOAuthAuditLogging;
private String externalLoggerConfiguration;
private Set<String> httpLoggingExludePaths = new HashSet<String>();
private Set<String> httpLoggingExcludePaths = new HashSet<String>();

public Logging() {
}
Expand Down Expand Up @@ -70,11 +70,11 @@ public void setExternalLoggerConfiguration(String externalLoggerConfiguration) {
this.externalLoggerConfiguration = externalLoggerConfiguration;
}

public Set<String> getHttpLoggingExludePaths() {
return httpLoggingExludePaths;
public Set<String> getHttpLoggingExcludePaths() {
return httpLoggingExcludePaths;
}

public void setHttpLoggingExludePaths(Set<String> httpLoggingExludePaths) {
this.httpLoggingExludePaths = httpLoggingExludePaths;
public void setHttpLoggingExcludePaths(Set<String> httpLoggingExcludePaths) {
this.httpLoggingExcludePaths = httpLoggingExcludePaths;
}
}
4 changes: 2 additions & 2 deletions jans-config-api/docs/jans-config-api-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4764,7 +4764,7 @@ components:
httpLoggingEnabled:
type: boolean
description: Enable/Disable request/response logging filter.
httpLoggingExludePaths:
httpLoggingExcludePaths:
type: array
description: List of base URI for which request/response logging filter should not record activity.
items:
Expand Down Expand Up @@ -5793,7 +5793,7 @@ components:
externalLoggerConfiguration:
description: Path to external log4j2 configuration file.
type: string
httpLoggingExludePaths:
httpLoggingExcludePaths:
description: List of paths to exclude from logger.
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public Response updateLogConf(@Valid Logging logging) {
if (!StringUtils.isBlank(logging.getExternalLoggerConfiguration())) {
conf.getDynamic().setExternalLoggerConfiguration(logging.getExternalLoggerConfiguration());
}
conf.getDynamic().setHttpLoggingExludePaths(logging.getHttpLoggingExludePaths());
conf.getDynamic().setHttpLoggingExcludePaths(logging.getHttpLoggingExcludePaths());

configurationService.merge(conf);

Expand All @@ -82,7 +82,7 @@ private Logging getLoggingConfiguration() {
logging.setEnabledOAuthAuditLogging(appConfiguration.getEnabledOAuthAuditLogging());
}
logging.setExternalLoggerConfiguration(appConfiguration.getExternalLoggerConfiguration());
logging.setHttpLoggingExludePaths(appConfiguration.getHttpLoggingExludePaths());
logging.setHttpLoggingExcludePaths(appConfiguration.getHttpLoggingExcludePaths());
return logging;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
"logClientIdOnClientAuthentication": true,
"logClientNameOnClientAuthentication": false,
"httpLoggingEnabled": false,
"httpLoggingExludePaths": [],
"httpLoggingExcludePaths": [],
"externalLoggerConfiguration": "",
"authorizationRequestCustomAllowedParameters" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
"logClientIdOnClientAuthentication": true,
"logClientNameOnClientAuthentication": false,
"httpLoggingEnabled": false,
"httpLoggingExludePaths": [],
"httpLoggingExcludePaths": [],
"externalLoggerConfiguration": "",
"authorizationRequestCustomAllowedParameters" : [
{
Expand Down

0 comments on commit 47a20ee

Please sign in to comment.