public final class RestChallengeAuthentication
ChallengeAuthentication provides Basic / Digest variants of simple username
password authentication for the URLConnection.
The Default variant is BASIC Authentication as configured in metadata.
The variant is decided when the ChallengeAuthentication is instantiated.
A value of true for the useDigest param will
enable Digest authentication.
public void loadCredentials(java.util.Map environment)
Load the Authentication Scheme with credentials from Credential
store. The Map represents the environment that has the
security configuration passed by the Connection Manager
which contains the credential properties that this scheme defines.