com.washingtonpost.dw.auth.dao.PeerDAO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-peer-authenticator Show documentation
Show all versions of dropwizard-peer-authenticator Show documentation
Dropwizard Authenticator that uses BasicAuth (user,pass) pairs to control access to your service
package com.washingtonpost.dw.auth.dao;
import com.washingtonpost.dw.auth.model.Peer;
import java.util.Collection;
/**
* Contract any PeerDAO implementation needs to provide.
*/
public interface PeerDAO {
/**
* @return Get all allowed Peers. See implementation class for any guarantees about the nature of the returned Collection.
*/
Collection findAll();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy