-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf($ReactiveStarter): abstract access log filter
abstract access log filter BREAKING CHANGE: abstract access log filter
- Loading branch information
Johnny Miller (锺俊)
committed
Dec 22, 2020
1 parent
7e8a816
commit d29ba21
Showing
20 changed files
with
193 additions
and
123 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...y/src/main/java/com/jmsoftware/maf/gateway/security/GatewayServerAccessDeniedHandler.java
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
2 changes: 1 addition & 1 deletion
2
...src/main/java/com/jmsoftware/maf/gateway/security/ServerAuthenticationEntryPointImpl.java
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
54 changes: 0 additions & 54 deletions
54
gateway/src/main/java/com/jmsoftware/maf/gateway/universal/configuration/IgnoredRequest.java
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
gateway/src/main/java/com/jmsoftware/maf/gateway/universal/package-info.java
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 @@ | ||
package com.jmsoftware.maf.gateway.universal; |
1 change: 1 addition & 0 deletions
1
gateway/src/main/java/com/jmsoftware/maf/gateway/universal/util/package-info.java
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 @@ | ||
package com.jmsoftware.maf.gateway.universal.util; |
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
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
69 changes: 69 additions & 0 deletions
69
...oftware/maf/muscleandfitnessserverreactivespringbootstarter/configuration/IgnoredUrl.java
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,69 @@ | ||
package com.jmsoftware.maf.muscleandfitnessserverreactivespringbootstarter.configuration; | ||
|
||
import com.google.common.collect.Lists; | ||
import lombok.Data; | ||
|
||
import javax.validation.Valid; | ||
import javax.validation.constraints.Pattern; | ||
import java.util.List; | ||
|
||
/** | ||
* <h1>IgnoredUrl</h1> | ||
* <p> | ||
* Ignored URL configuration. | ||
* | ||
* @author Johnny Miller (锺俊), email: johnnysviva@outlook.com | ||
* @date 5/2/20 11:41 PM | ||
**/ | ||
@Data | ||
public class IgnoredUrl { | ||
private interface Constant { | ||
String URL_REGEXP = "^(/.+)+$"; | ||
} | ||
|
||
/** | ||
* Ignored URL pattern. | ||
*/ | ||
@Valid | ||
private List<@Pattern(regexp = Constant.URL_REGEXP) String> pattern = Lists.newArrayList(); | ||
/** | ||
* Ignored GET request. | ||
*/ | ||
@Valid | ||
private List<@Pattern(regexp = Constant.URL_REGEXP) String> get = Lists.newArrayList(); | ||
/** | ||
* Ignored POST request. | ||
*/ | ||
@Valid | ||
private List<@Pattern(regexp = Constant.URL_REGEXP) String> post = Lists.newArrayList(); | ||
/** | ||
* Ignored DELETE request. | ||
*/ | ||
@Valid | ||
private List<@Pattern(regexp = Constant.URL_REGEXP) String> delete = Lists.newArrayList(); | ||
/** | ||
* Ignored PUT request. | ||
*/ | ||
@Valid | ||
private List<@Pattern(regexp = Constant.URL_REGEXP) String> put = Lists.newArrayList(); | ||
/** | ||
* Ignored HEAD request. | ||
*/ | ||
@Valid | ||
private List<@Pattern(regexp = Constant.URL_REGEXP) String> head = Lists.newArrayList(); | ||
/** | ||
* Ignored PATCH request. | ||
*/ | ||
@Valid | ||
private List<@Pattern(regexp = Constant.URL_REGEXP) String> patch = Lists.newArrayList(); | ||
/** | ||
* Ignored OPTIONS request. | ||
*/ | ||
@Valid | ||
private List<@Pattern(regexp = Constant.URL_REGEXP) String> options = Lists.newArrayList(); | ||
/** | ||
* Ignored TRACE request. | ||
*/ | ||
@Valid | ||
private List<@Pattern(regexp = Constant.URL_REGEXP) String> trace = Lists.newArrayList(); | ||
} |
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
Oops, something went wrong.