Jaspersoft -Maskierung

 "************"+$P{var}.substring($P{var}.length() - 4)
ngonza27