Saturday, 6 December 2014

ApacheCon Europe 2014: Secure services with Apache CXF



Security is the common requirement for almost all of the web service related products and solutions. Apache CXF framework provides a wide range of the security features for REST and SOAP services. It supports a number of security standards like OAuth, WS-Trust, WS-Federation. CXF users can benefit from new functionality in SAML Web SSO, Authorization, Key Management and Security Token Service components.

In my ApacheCon talk I reviewed CXF security features and illustrated them with the code. The presentation shows how the security requirements have been implemented in the real projects and represents possible alternatives. 

Which security options are available for the REST service? How to achieve federated authentication in CXF applications? How to implement authorization in web service? What is the benefit of the public key infrastructure and XKMS? - These questions were discussed during the session. 

You can find the slides on Linux Foundation site.

Sunday, 30 November 2014

ApacheCon Europe 2014: Design REST Services with CXF JAX-RS implementation: best practices and lessons learned

JAX-RS specification makes creation of REST services easy and intuitive for Java developers. However there are number of topics to worry about in order to provide clean and maintainable REST APIs.

In my ApacheCon talk I tried to share practical experience to design REST services based on JAX-RS Apache CXF implementation. As a sample I take domain model of Apache Syncope project and try to design step by step REST API for this domain, discuss different options and best practices.

The audience is anyone interested in design and implementation of REST services.
The presentation will cover the following:
  • Exposing of resources and collections
  • Resource representations and content negotiation
  • Exception processing
  • Client and Server asynchronous APIs
  • Using of JSON providers
  • Crosscutting aspects in JAX-RS filters and interceptors
  • Bean validation
You can find the slides on Linux Foundation site.