How to get referrer URL from ContainerRequestContext object.
Please find the code snippet below,
public void filter(ContainerRequestContext requestContext) {
   ApplicationUser user = (ApplicationUser) CacheManagerBase.getInstance().getApplicationUserCache().getCurrentUser();
   requestContext.setSecurityContext(new UserContext(user));
}
 
     
     
    