Interface Credentials

All Known Implementing Classes:
BearerToken, 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 Summary

    Modifier and Type
    Method
    Description
    char[]
    Deprecated.
    Use specific credentials class that represent a username / password set of a security token.
     
  • Method Details

    • getUserPrincipal

      Principal getUserPrincipal()
    • getPassword

      @Deprecated char[] getPassword()
      Deprecated.
      Use specific credentials class that represent a username / password set of a security token.