Securing Spring webservices with JSON Web Token authentication
Properly securing a RESTful webservice can be challenging as REST operations are stateless by nature. Nevertheless, there are various scenarios in which at least a subset »
Properly securing a RESTful webservice can be challenging as REST operations are stateless by nature. Nevertheless, there are various scenarios in which at least a subset »
Generally, a docker container is meant to hold exactly one application. For a typical Java web application (in this example we assume a Tomcat 8 servlet »
A common access control pattern in enterprise applications is role-based access control (RBAC). Here's how to do it in Spring Security 4 using a custom UserDetailsService. »
In certain situations it may be desirable to test the default case of a switch statement even if at the current time all possible values of »
MBeans are part of the JMX specification which has been part of J2SE since Java 5. As such, Tomcat like most other servlet containers supports MBeans »
Testing user interfaces and successful deployment of web applications is a form of integration testing. In order to perform these tests it is necessary to automatically »