au.net.causal.springboot.keepassxcpropertyagent.connection.KeepassCredentialsStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-keepassxc-property-agent Show documentation
Show all versions of spring-boot-keepassxc-property-agent Show documentation
A Java agent that can be used on Spring Boot applications to add additional configuration properties
from a paired running instance of KeepassXC.
The newest version!
package au.net.causal.springboot.keepassxcpropertyagent.connection;
import org.purejava.Credentials;
import java.io.IOException;
/**
* Loads and saves Keepass store credentials, used for accessing Keepass.
*/
public interface KeepassCredentialsStore
{
/**
* Saves credentials to the persistent store.
*
* @param credentials credentials to save.
*
* @throws IOException if an error occurs.
*/
public void saveCredentials(Credentials credentials)
throws IOException;
/**
* Loads pre-existing credentials if they exist.
*
* @return loaded credentials, or null if there are none.
*
* @throws IOException if an error occurs.
*/
public Credentials loadCredentials()
throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy