Some of you I can indicate how consume rest service which is behind the security picketlink ?
PicketLink Authentication
PicketLink Authorization
There are quickstarts for JAX-RS that you should have a look at.