Tel Map

Autor: Sebastian Lindner

05.02.2019 | JavaEE |

WildFly 15 Bundle Database Driver And Datasource Into Application

This article describes how to bundle a database driver and the datasource configuration into an enterprise archive (EAR).  In my case I used WildFly 15 and MariaDB JDBC Client as the database driver for MySQL. The Java MySQL JDBC driver is under the GPL… mehr

14.12.2018 | JavaEE |

WildFly Maven Deploy

While working on automatically deploying a maven artifact to a WildFly server using the WildFly Maven Plugin, I could not find a full working example on the corresponding webpage. It took quite some time, even if it is not much code. Below… mehr

Schlagwörter: , , ,
29.11.2018 | JavaEE |

Basic Authentication Omnifaces CombinedResourceHandler Internet Explorer Not Working

For a testing platform, we a have a typical basic authentication in front of our actual platform. The application server is a WildFly 14 with PrimeFaces as the frontend framework. In order for every JavaScript file not being downloaded separately, we also… mehr

16.11.2018 | Java |

Primefaces Line Chart – Browser Out Of Memory Crash

This blog post solves an error I encountered while trying to display some data in a PrimeFaces line chart graph (Version 6.2). Each time I opened the page with the graph, the Browser crashed with an „Out of Memory“ message in the… mehr

28.06.2018 | Java |

Saxon HE External Entity Processing ( XXE )

In this article I will describe how to prevent Saxon from parsing external entities to avoid XXE attacks. Basically you should be very careful when parsing XML files from untrusted sources. Otherwise this can lead to serious security issues.

Schlagwörter: , , , , ,
06.04.2018 | JavaEE |

PrimeFaces Expression Language Remote Code Execution Fix

This post describes how to fix the PrimeFaces Expression Language Remote Code Execution bug (CVE-2017-1000486) when an update to the latest / fixed PrimeFaces version is not easily possible. This solution also needs no patching of the PrimeFaces library itself. The preferred /… mehr

21.02.2018 | Angular |

Angular 5 HttpInterceptor – Add Bearer Token to HttpClient Requests

In this article I will describe how to add a Http Authentication Bearer token to each request done from Angular via HttpClient by implementing a Angular 5 HttpInterceptor. This way the bearer token has not be added to each request separately while doing… mehr

10.10.2017 | ASP .NET |

ASP.NET Core 2.0 Disable Authentication in Development Environment

This article describes how to disable authentication for ASP.NET Core 2.0. ASP.NET Core JWT Authentication I have some Rest API which I want to protect via JwtBearer token in production e.g.

  However in order to test the API, for development I… mehr

10.08.2017 | Java |

JSF ViewState Hack Attempt: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 – com.sun.faces.renderkit.ServerSideStateHelper.getState (ServerSideStateHelper.java:313)

Hack Attempt on JSF ViewState This article explains why the error java.lang.StringIndexOutOfBoundsException: String index out of range: -1 in the class ServerSideStateHelper in the method getState (313) might be someone trying to hack your application server. It is getting quite technical in here… but… mehr