Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
jvx:server:security:rest_services_disable [2020/06/26 12:58]
cduncan
jvx:server:security:rest_services_disable [2022/11/18 09:10] (current)
admin
Line 1: Line 1:
 ~~NOTRANS~~ ~~NOTRANS~~
-~~Title: ​Disabling ​REST Services~~ +~~Title: ​En-/​Disable ​REST Services~~ 
-JVx REST services offer access to application functionality out of the box. It also contains some administrative services that are not included in your application. If you won't use these services or won't use specific services, it's possible disable all or specific services.+JVx REST services offer access to application functionality out of the box. It also contains some administrative services that are not included in your application. If you won't use these servicesor won't use specific services, it's possible disable all or specific services
 + 
 +The administration services are available per default.
  
 **You have following options:** **You have following options:**
  
-In your deployment descriptor (web.xml) use init parameters: ​+In your deployment descriptor (web.xml)use init parameters: ​
  
 <file xml> <file xml>
-<​!-- ​Admin service ​are not available ​in general -->+<​!-- ​Disables admin service ​feature ​in general -->
 <​init-param>​ <​init-param>​
   <​param-name>​adminservices.available</​param-name>​   <​param-name>​adminservices.available</​param-name>​
Line 14: Line 16:
 </​init-param>​ </​init-param>​
  
-<​!-- ​Admin service are available but only custom service registrations can be used. All standard ​admin services ​are disabled. ​-->+<​!-- ​Disables all default admin services and uses only registered ​admin services -->
 <​init-param>​ <​init-param>​
   <​param-name>​adminservices.enabled</​param-name>​   <​param-name>​adminservices.enabled</​param-name>​
Line 20: Line 22:
 </​init-param>​ </​init-param>​
  
-<​!-- ​Admin service ​with given NAME is disabled. This requires that admin services are available. -->+<​!-- ​Disables a specific admin service ​by NAME. -->
 <​init-param>​ <​init-param>​
   <​param-name>​adminservice.NAME.enabled</​param-name>​   <​param-name>​adminservice.NAME.enabled</​param-name>​
Line 32: Line 34:
 </​init-param>​ </​init-param>​
 </​file>​ </​file>​
 +
 +It's also possible to disable all default admin services and enable single services by name. In any case, admin services have to be available. If not available, it's not possible to en-/disable a service.
 +
 +The default service names are:
 +
 +  * checkDB
 +  * changePassword
 +  * testAuthentication
  
 The //​StorageService//​ itself has another option to configure REST services. ​ The //​StorageService//​ itself has another option to configure REST services. ​
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information