Package si.mazi.rescu

Class BasicAuthCredentials

java.lang.Object
si.mazi.rescu.BasicAuthCredentials
All Implemented Interfaces:
ParamsDigest

public class BasicAuthCredentials
extends Object
implements ParamsDigest
Author:
Matija Mazi
This is used as support for HTTP Basic access authentication. Should be used a parameter of a REST interface method, annotated with @HeaderParam("Authorization"), eg: Result getResult(@HeaderParam("Authorization") BasicAuthCredentials credentials);