HTTP clients can provide authentication information to the server via the “Authorization” header in
the HTTP request. Choose the alternative, if any, that would serve as the definition for a resource
method that would allow a JAX-RS resource to obtain this authentication data (Choose one):
A.
It is impossible for a JAX-RS resource to obtain this information, since low-level HTTP data is 
not presented to the JAX-RS application layer.
B.
@GET @Path(“/authInfo”) 
public String getAuthInfo( String authenticate ) { 
return authenticate; 
}
C.
@GET @Path(“/authInfo/{AUTHENTICATE}”) 
public String getAuthInfo( 
@PathParam(“Authorization”) String auth ) { 
return authenticate; 
}
D.
@GET @Path(“/authInfo”) 
public String getAuthInfo( 
@HeaderParam(“Authorization”) String auth ) { 
return authenticate; 
}
Explanation: