# Uses of Class
com.norconex.commons.lang.security.Credentials

Packages that use Credentials
Package
Description
com.norconex.commons.lang.encrypt
Encryption-related classes.
com.norconex.commons.lang.net
com.norconex.commons.lang.security
com.norconex.commons.lang.url
Classes making it easier to deal with and manipulate URLs.

- ## Uses of Credentials in com.norconex.commons.lang.encrypt

  Methods in com.norconex.commons.lang.encrypt with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `static String`
  EncryptionUtil.`decryptPassword(Credentials credentials)`
  Decrypts the given credentials password.

- ## Uses of Credentials in com.norconex.commons.lang.net

  Methods in com.norconex.commons.lang.net that return Credentials
  Modifier and Type
  Method
  Description
  `Credentials`
  ProxySettings.`getCredentials()`
  Proxy credentials, when required or applicable.
  Methods in com.norconex.commons.lang.net with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `ProxySettings`
  ProxySettings.`setCredentials(Credentials credentials)`
  Sets the proxy credentials.

- ## Uses of Credentials in com.norconex.commons.lang.security

  Methods in com.norconex.commons.lang.security that return Credentials
  Modifier and Type
  Method
  Description
  `Credentials`
  Credentials.`setPassword(String password)`
  Credential password.
  `Credentials`
  Credentials.`setPasswordKey(EncryptionKey passwordKey)`
  Credential password encryption key pointer (provided the password is encrypted).
  `Credentials`
  Credentials.`setUsername(String username)`
  Credential user name.
  Methods in com.norconex.commons.lang.security with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `void`
  Credentials.`copyFrom(Credentials creds)`
  `void`
  Credentials.`copyTo(Credentials creds)`
  Constructors in com.norconex.commons.lang.security with parameters of type Credentials
  Modifier
  Constructor
  Description
  ``
  `Credentials(Credentials copy)`

- ## Uses of Credentials in com.norconex.commons.lang.url

  Methods in com.norconex.commons.lang.url with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `static InputStream`
  UrlStreamer.`stream(HttpURL url, Credentials creds)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(HttpURL url, Credentials creds, UrlStreamer.HttpHost proxy)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(HttpURL url, Credentials creds, UrlStreamer.HttpHost proxy, Credentials proxyCreds)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(String url, Credentials creds)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(String url, Credentials creds, UrlStreamer.HttpHost proxy)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(String url, Credentials creds, UrlStreamer.HttpHost proxy, Credentials proxyCreds)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(URL url, Credentials creds)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(URL url, Credentials creds, UrlStreamer.HttpHost proxy)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(URL url, Credentials creds, UrlStreamer.HttpHost proxy, Credentials proxyCreds)`
  Streams URL content.
  `static String`
  UrlStreamer.`streamToString(HttpURL url, Credentials creds)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(HttpURL url, Credentials creds, UrlStreamer.HttpHost proxy)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(HttpURL url, Credentials creds, UrlStreamer.HttpHost proxy, Credentials proxyCreds)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(String url, Credentials creds)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(String url, Credentials creds, UrlStreamer.HttpHost proxy)`
  Streams URL content to a String using UTF-8 character encoding.
  `static String`
  UrlStreamer.`streamToString(String url, Credentials creds, UrlStreamer.HttpHost proxy, Credentials proxyCreds)`
  Streams URL content to a String using UTF-8 character encoding.
  `static String`
  UrlStreamer.`streamToString(String url, Credentials creds, UrlStreamer.HttpHost proxy, Credentials proxyCreds, String charEncoding)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(String url, Credentials creds, UrlStreamer.HttpHost proxy, String charEncoding)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(URL url, Credentials creds)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(URL url, Credentials creds, UrlStreamer.HttpHost proxy)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(URL url, Credentials creds, UrlStreamer.HttpHost proxy, Credentials proxyCreds)`
  Streams URL content to a String.