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

com.netflix.astyanax.AuthenticationCredentials Maven / Gradle / Ivy

There is a newer version: 3.10.2
Show newest version
package com.netflix.astyanax;

/**
 * Representation for a user/password used to log into a keyspace.
 * 
 * @author elandau
 * 
 */
public interface AuthenticationCredentials {
    /**
     * @return The username
     */
    String getUsername();

    /**
     * @return The password
     */
    String getPassword();

    /**
     * @return Array of all custom attribute names
     */
    String[] getAttributeNames();

    /**
     * Retrieve a single attribute by name
     * 
     * @param name  Attribute name
     */
    Object getAttribute(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy