Recently I asked some questions here about web services
How to secure a database using web services?
Glassfish: deploy of multiple applications, some of them wi
Since you're using Jersey you should have Jackson along with that. Jackson helps working with entity -> JSON and JSON -> entity parsing.
You're looking for an annotation called
@JsonIgnore
And you'll want to put that on the 'getter' method of the member you wish to obscure from the output.
Source: http://jackson.codehaus.org/