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

Packages that use Credential
Package
Description
com.sas.services.connection
Service for making and managing connections to IOM servers.
com.sas.services.connection.jndi
JNDI connection services.
com.sas.services.connection.omr
Provides a connection factory configuation for use with a SAS Metadata Server.
com.sas.services.connection.platform
Provides a connection factory configuation for use with SAS Foundation Services.
com.sas.services.security.login
Security Service login.

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

  Subclasses of Credential in com.sas.services.connection
  Modifier and Type
  Class
  Description
  `class`
  `PasswordCredential`
  Login credentials for an IOM server.
  `final class`
  `SecurityPackageCredential`
  A credential to use when requesting a security-package-authenticated connection to a server.
  `final class`
  `TrustedPeerCredential`
  A credential to use when requesting a trusted peer connection to a server.
  Methods in com.sas.services.connection that return Credential
  Modifier and Type
  Method
  Description
  `protected Credential`
  ConnectionRequest.`getCredential()`
  `Credential`
  XMLConfigurationBuilder.`getCredentialForDomain(String domain)`
  Get the credential for a desired domain created from the user information XML file or from user information in the server information XML file.
  `protected Credential`
  ConnectionEnvelope.`getOwnerCredential()`
  `Credential`
  Puddle.`getServerCredential()`
  Get the credential for the clusters.
  `protected Credential`
  ConnectionEnvelope.`getUserCredential()`
  `protected Credential`
  AuthServer.`normalize(Credential login)`
  Methods in com.sas.services.connection with parameters of type Credential
  Modifier and Type
  Method
  Description
  `void`
  PuddleEnvelope.`addUserToCache(Credential user)`
  `protected Object`
  AuthServer.`authenticate(Credential login)`
  `protected void`
  AuthServer.`authorizeAdmin(Credential adminLogin)`
  `protected final int[]`
  AuthServer.`authorizeUser(Credential userLogin)`
  `protected ConnectionFactoryAdminInterface`
  AggregationKernel.`getAdminInterface(Credential adminLogin)`
  `protected abstract ConnectionFactoryAdminInterface`
  ConnectionFactoryKernel.`getAdminInterface(Credential adminLogin)`
  `ConnectionFactoryAdminInterface`
  ConnectionFactoryShell.`getAdminInterface(Credential adminLogin)`
  `ConnectionFactoryAdminInterface`
  ConnectionFactoryShellInterface.`getAdminInterface(Credential adminLogin)`
  Get the factory administrator's interface.
  `protected ConnectionFactoryAdminInterface`
  PoolingKernel.`getAdminInterface(Credential adminLogin)`
  `protected ConnectionInterface`
  ConnectionFactoryKernel.`getConnection(Credential userLogin, long waitMilliseconds, Logger cxLogger)`
  `ConnectionInterface`
  ConnectionFactoryShell.`getConnection(Credential userLogin)`
  `ConnectionInterface`
  ConnectionFactoryShell.`getConnection(Credential userLogin, long waitMilliseconds)`
  `protected ConnectionInterface`
  ConnectionFactoryShell.`getConnection(Credential userLogin, long waitMilliseconds, Logger cxLogger)`
  `ConnectionInterface`
  ConnectionFactoryShellInterface.`getConnection(Credential login)`
  Get a connection to a server.
  `ConnectionInterface`
  ConnectionFactoryShellInterface.`getConnection(Credential login, long waitMilliseconds)`
  Get a connection to a server.
  `protected List`
  AuthServer.`getDomains(Credential login)`
  `protected Credential`
  AuthServer.`normalize(Credential login)`
  `protected static void`
  UserCacheUtil.`pruneCache(ConnectionFactoryKernel kernel, Credential user)`
  `protected void`
  AuthServer.`removeUserFromCache(Credential user)`
  `protected void`
  ConnectionFactoryKernel.`removeUserFromCache(Credential user)`
  `protected void`
  PoolingKernel.`removeUserFromCache(Credential user)`
  `protected void`
  PuddleEnvelope.`removeUserFromCache(Credential user)`
  `protected void`
  ConnectionEnvelope.`setOwnerCredential(Credential ownerCredential)`
  `void`
  Puddle.`setServerCredential(Credential serverCredential)`
  Set the credential for the clusters.
  `protected void`
  ConnectionEnvelope.`setUserCredential(Credential userCredential)`
  `SASURI`
  ZeroConfigWorkspaceServer.`toURI(Credential credential, String cxID)`
  `static ConnectionRequest`
  ConnectionRequest.`wrap(ConnectionFactoryKernel connectionFactory, Credential credential)`
  Create a connection request.
  `static ConnectionRequest`
  ConnectionRequest.`wrap(ConnectionFactoryKernel connectionFactory, Credential credential, long waitMilliseconds)`
  Create a connection request.
  Constructors in com.sas.services.connection with parameters of type Credential
  Modifier
  Constructor
  Description
  `protected`
  `CredentialsException(String msg, Throwable nestedException, Credential badCredential)`
  ``
  `ExpiredCredentialsException(String msg, Throwable nestedException, Credential badCredential)`
  Construct a connection factory exception with a message, a nested exception, and an expired credential
  ``
  `InvalidCredentialsException(String msg, Throwable nestedException, Credential badCredential)`
  Construct a connection factory exception with a message, a nested exception, and an invalid credential
  ``
  `Puddle(Cluster[] clusters, Credential serverCredential)`
  Construct a puddle of IOM server clusters.
  ``
  `Puddle(Cluster cluster, Credential serverCredential)`
  Construct a puddle with one IOM server cluster.
  ``
  `Puddle(Server server, Credential serverCredential)`
  Construct a puddle with one IOM server.
  ``
  `WrongCredentialsException(String msg, Credential badCredential, List supportedDomains)`
  Construct an exception to be thrown when a connection request cannot be satisfied because the credentials presented were not from an authentication domain supported by the connection factory

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

  Methods in com.sas.services.connection.jndi that return Credential
  Modifier and Type
  Method
  Description
  `protected Credential`
  JNDIAuthServer.`normalize(Credential credential)`
  Methods in com.sas.services.connection.jndi with parameters of type Credential
  Modifier and Type
  Method
  Description
  `protected Object`
  JNDIAuthServer.`authenticate(Credential credential)`
  `protected void`
  JNDIAuthServer.`authorizeAdmin(Credential adminLogin)`
  `protected Credential`
  JNDIAuthServer.`normalize(Credential credential)`

- ## Uses of Credential in com.sas.services.connection.omr

  Methods in com.sas.services.connection.omr with parameters of type Credential
  Modifier and Type
  Method
  Description
  `protected Object`
  OMRAuthServer.`authenticate(Credential credential)`
  `protected List`
  OMRAuthServer.`getDomains(Credential login)`

- ## Uses of Credential in com.sas.services.connection.platform

  Methods in com.sas.services.connection.platform with parameters of type Credential
  Modifier and Type
  Method
  Description
  `protected void`
  PlatformUserCacheUtil.`add(ConnectionFactoryKernel kernel, Credential user)`
  `protected Object`
  PlatformOMRAuthServer.`authenticate(Credential credential)`
  `protected static void`
  PlatformUserCacheUtil.`remove(ConnectionFactoryKernel kernel, Credential user)`

- ## Uses of Credential in com.sas.services.security.login

  Methods in com.sas.services.security.login with parameters of type Credential
  Modifier and Type
  Method
  Description
  `protected boolean`
  SasLoginModule.`attemptConnection(Credential cred)`
  `protected void`
  SasLoginModule.`setCredential(Credential cred)`
  Set the credential that will be used to attempt the connection to the metadata server.