Extended security for web front end and added first rest resources
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user