# Uses of Class
com.sas.services.connection.PasswordCredential

Packages that use PasswordCredential
Package
Description
com.sas.services.connection
Service for making and managing connections to IOM servers.
com.sas.services.connection.jndi
JNDI connection services.

- ## Uses of PasswordCredential in com.sas.services.connection

  Methods in com.sas.services.connection that return PasswordCredential
  Modifier and Type
  Method
  Description
  `static PasswordCredential`
  PasswordCredential.`newInstance(String userName, char[] passwordAsChars, String domain)`
  Create a new instance of this class using a character array for the password.
  `static PasswordCredential`
  PasswordCredential.`newInstance(String userName, com.sas.net.crypto.SealedString passwordAsSealedString, String domain)`
  Create a new instance of this class using a `SealedString` for the password.

- ## Uses of PasswordCredential in com.sas.services.connection.jndi

  Methods in com.sas.services.connection.jndi that return PasswordCredential
  Modifier and Type
  Method
  Description
  `protected PasswordCredential`
  JNDIConnectionFactoryConfiguration.`getPrivLogin()`