Interface Credentials

  • All Known Implementing Classes:
    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 Detail

      • getUserPrincipal

        java.security.Principal getUserPrincipal()
      • getPassword

        java.lang.String getPassword()