Class DummyHttpAuthenticator
- java.lang.Object
-
- com.smartgridready.communicator.rest.http.authentication.DummyHttpAuthenticator
-
- All Implemented Interfaces:
Authenticator
public class DummyHttpAuthenticator extends java.lang.Object implements Authenticator
Dummy implementation of an HTTP authenticator.
-
-
Constructor Summary
Constructors Constructor Description DummyHttpAuthenticator()Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAuthorizationHeaderValue(com.smartgridready.ns.v0.DeviceFrame deviceDescription, com.smartgridready.driver.api.http.GenHttpClientFactory httpClientFactory)Retrieves the value of the authorization header of HTTP requests.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.smartgridready.communicator.rest.http.authentication.Authenticator
isTokenRenewalSupported, renewToken
-
-
-
-
Method Detail
-
getAuthorizationHeaderValue
public java.lang.String getAuthorizationHeaderValue(com.smartgridready.ns.v0.DeviceFrame deviceDescription, com.smartgridready.driver.api.http.GenHttpClientFactory httpClientFactory)Description copied from interface:AuthenticatorRetrieves the value of the authorization header of HTTP requests.- Specified by:
getAuthorizationHeaderValuein interfaceAuthenticator- Parameters:
deviceDescription- the SGr device specificationhttpClientFactory- the SGr HTTP client factory- Returns:
- a string
-
-