All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.chavaillaz.client.common.security.AnonymousAuthentication Maven / Gradle / Ivy

Go to download

Library for the creation of asynchronous clients supporting multiple HTTP clients

There is a newer version: 2.1.3
Show newest version
package com.chavaillaz.client.common.security;

import java.util.function.BiConsumer;

/**
 * Anonymous authentication which is not adding anything to headers and/or cookies.
 */
public class AnonymousAuthentication extends Authentication {

    @Override
    public void fillHeaders(BiConsumer addHeader) {
        // Nothing to do
    }

    @Override
    public void fillCookies(BiConsumer addCookie) {
        // Nothing to do
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy