com.wavefront.agent.auth.DummyAuthenticator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxy-test Show documentation
Show all versions of proxy-test Show documentation
Service for batching and relaying metric traffic to Wavefront
package com.wavefront.agent.auth;
/**
* A dummy authenticator for the "No authorization required" flow.
*
* @author [email protected]
*/
class DummyAuthenticator implements TokenAuthenticator {
DummyAuthenticator() {
}
@Override
public boolean authorize(String token) {
return true;
}
@Override
public boolean authRequired() {
return false;
}
}