Extended security for web front end and added first rest resources

This commit is contained in:
verboomp
2026-01-21 14:08:50 +01:00
parent 47ee7c3c25
commit d2e6f5164a
29 changed files with 983 additions and 39 deletions

View File

@@ -4,7 +4,7 @@
<security-constraint>
<web-resource-collection>
<web-resource-name>Secure</web-resource-name>
<url-pattern>/api/login</url-pattern>
<url-pattern>/api/customer</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
@@ -17,7 +17,7 @@
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<auth-method>BEARER_TOKEN</auth-method>
<realm-name>fotoDocumentationRealm</realm-name>
</login-config>