Interface Credentials

All Known Implementing Classes:
KerberosCredentials, NTCredentials, UsernamePasswordCredentials

public interface Credentials
This interface represents a set of credentials consisting of a security principal and a secret (password) that can be used to establish user identity
Since:
4.0
  • Method Details

    • getUserPrincipal

      Principal getUserPrincipal()
    • getPassword

      String getPassword()