How to pass username/password to REST API (WS) using JBossRestEasy client (2.3.6 jar)?
Posted on 2014-01-02
I have a REST API site requiring id/pw to connect.
I am using JBoss RestEasy 2.3.6 to consume above APIs.
It's clear to me what I need to do pass my id/pw for the authentication.
Can you help?
I thought I could pass id/pw through headers or something.
Do I need to create interceptor or filter?
Can you direct me to a example or something?