All Known Implementing Classes:
SimpleCredentials

public interface Credentials
Represents the user credentials as a username and password.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the password.
    Gets the username.
  • Method Details

    • getUsername

      String getUsername()
      Gets the username.
      Returns:
      The username.
    • getPassword

      String getPassword()
      Gets the password.
      Returns:
      The password.