@Override
            public Principal getUserPrincipal() {
                return principal;
            }
Wrap the request to provide the principal.
@param request the request
@param principal the principal
common/servlet/src/main/java/io/apiman/common/servlet/AuthenticationFilter.java