You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-15Lines changed: 18 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ A [Bnd](https://bnd.bndtools.org/) plugin that validates OSGi bundle metadata co
15
15
-**Bundle Symbolic Names** - Ensures bundle symbolic names conform to organizational standards
16
16
-**OSGi DS Component Service Interfaces** - Validates service interface FQCNs in OSGi DS components
17
17
-**OSGi HTTP/Servlet Whiteboard** - Validates that HTTP servlets/filters registered via [HTTP/servlet whiteboard](https://docs.osgi.org/specification/osgi.cmpn/8.1.0/service.servlet.html) are listening to specific paths only
18
-
-**Sling Servlet/Filter** - Validates Sling servlet paths, resource types, and resource super types as well as filter patterns/resource types
19
-
-**Sling Authenticator** - Validates a Sling authenticator is registered to a specific path only
18
+
-**Sling Servlet/Filter** - Validates [Sling servlet](https://sling.apache.org/documentation/the-sling-engine/servlets.html) paths, resource types, and resource super types as well as [Sling filter](https://sling.apache.org/documentation/the-sling-engine/filters.html) patterns/resource types
19
+
-**Sling Authentication Handler** - Validates a [Sling Authentication Handler](https://sling.apache.org/documentation/the-sling-engine/authentication/authentication-authenticationhandler.html) is registered to a specific path only
20
20
21
21
## Features
22
22
@@ -50,7 +50,8 @@ For DS components implementing `javax.servlet.Filter` or `jakarta.servlet.Filter
50
50
-`sling.filter.pattern` - Servlet filter patterns
51
51
-`sling.filter.resourceTypes` - Resource type patterns
52
52
53
-
53
+
### Sling Authentication Handler
54
+
For DS components implementing `org.apache.sling.auth.core.spi.AuthenticationHandler` validates property `path`.
54
55
55
56
## Configuration
56
57
@@ -61,14 +62,19 @@ In general [Bnd's -plugin instruction](https://bnd.bndtools.org/instructions/plu
`slingServletResourceSuperTypePattern` | Pattern[] | Regular expression for validating Sling servlet resource super types
70
-
71
-
Each parameter may take multiple regular expression patterns separated by comma. That makes the comma itself unusable within the regular expression pattern itself, however this shouldn't be necessary there.
Each parameter may take multiple [regular expression patterns](https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html) separated by comma. That makes the comma itself unusable within the regular expression pattern itself, however this shouldn't be necessary there.
72
78
All parameters are optional. If not set the according property/name/header is not validated.
73
79
74
80
## Usage
@@ -118,7 +124,4 @@ This project is licensed under the Eclipse Public License 2.0 - see the [LICENSE
0 commit comments