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

Packages that use ConnectionFactoryException
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.
com.sas.services.storedprocess
Execute stored processes.
com.sas.services.util
Utility classes used by Foundation Services.

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

  Subclasses of ConnectionFactoryException in com.sas.services.connection
  Modifier and Type
  Class
  Description
  `class`
  `ConnectionTimeoutException`
  The connection factory throws a timeout exception when a connection request could not be completed before an administrative time limit expired.
  `class`
  `CredentialsException`
  Base class for exceptions thrown to indicate that something is wrong with credentials presented during a connection request.
  `class`
  `FatalConnectionFactoryException`
  A exception that is so severe that a factory which throws this exception can no longer be used.
  `class`
  `LoginException`
  The connection factory throws a login exception when a connection request cannot be granted because the connecting client cannot be authenticated or authorized.
  `class`
  `WrongCredentialsException`
  The connection factory throws a wrong credentials exception when a connection request cannot be granted because the credentials presented with the connection request were not from an authetication domain supported by the connection factory.
  Methods in com.sas.services.connection that throw ConnectionFactoryException
  Modifier and Type
  Method
  Description
  `protected final void`
  ConnectionFactoryManager.`activateShell(ConnectionFactoryShell shell, ConnectionFactoryConfiguration cxfConfig, LoggerFactory loggerFactory)`
  `protected Object`
  AuthServer.`authenticate(Credential login)`
  `protected void`
  AuthServer.`authorizeAdmin(Credential adminLogin)`
  `protected final int[]`
  AuthServer.`authorizeUser(Credential userLogin)`
  `protected boolean`
  AuthServer.`authorizeUser(Object identity, Puddle puddle)`
  `protected ConnectionInterface`
  AggregationKernel.`doGetConnection(ConnectionRequest cxReq)`
  `protected ConnectionInterface`
  ConnectionFactoryKernel.`doGetConnection(ConnectionRequest cxReq)`
  `protected ConnectionInterface`
  PoolingKernel.`doGetConnection(ConnectionRequest cxReq)`
  `void`
  ConnectionImpl.`generatePassword(String userName, StringHolder qualUserNameHolder, StringHolder genPasswordHolder)`
  `void`
  ConnectionInterface.`generatePassword(String userName, StringHolder qualUserNameHolder, StringHolder genPasswordHolder)`
  Generate a password for a user name.
  `protected ConnectionFactoryAdminInterface`
  AggregationKernel.`getAdminInterface(Credential adminLogin)`
  `ConnectionFactoryAdminInterface`
  ConnectionFactory.`getAdminInterface()`
  `ConnectionFactoryAdminInterface`
  ConnectionFactory.`getAdminInterface(String adminName, String password)`
  `ConnectionFactoryAdminInterface`
  ConnectionFactoryInterface.`getAdminInterface()`
  Get the factory administrator's interface.
  `ConnectionFactoryAdminInterface`
  ConnectionFactoryInterface.`getAdminInterface(String adminName, String password)`
  This method is provided for compatibility with previous releases, and it is otherwise rarely used.
  `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)`
  `ConnectionInterface`
  ConnectionFactory.`getConnection()`
  `ConnectionInterface`
  ConnectionFactory.`getConnection(long waitMilliseconds)`
  `ConnectionInterface`
  ConnectionFactory.`getConnection(String domain)`
  `ConnectionInterface`
  ConnectionFactory.`getConnection(String domain, long waitMilliseconds)`
  `ConnectionInterface`
  ConnectionFactory.`getConnection(String userName, String password)`
  `ConnectionInterface`
  ConnectionFactory.`getConnection(String userName, String password, long waitMilliseconds)`
  `ConnectionInterface`
  ConnectionFactory.`getConnection(String userName, String password, String domain)`
  `ConnectionInterface`
  ConnectionFactory.`getConnection(String userName, String password, String domain, long waitMilliseconds)`
  `ConnectionInterface`
  ConnectionFactoryInterface.`getConnection()`
  Get a connection to a server that does not require a user name and password for connections.
  `ConnectionInterface`
  ConnectionFactoryInterface.`getConnection(long waitMilliseconds)`
  Get a connection to a server that does not require a user name and password for connections.
  `ConnectionInterface`
  ConnectionFactoryInterface.`getConnection(String domain)`
  Get a connection to a server that does not require a user name and password for connections.
  `ConnectionInterface`
  ConnectionFactoryInterface.`getConnection(String domain, long waitMilliseconds)`
  Get a connection to a server that does not require a user name and password for connections.
  `ConnectionInterface`
  ConnectionFactoryInterface.`getConnection(String userName, String password)`
  Get a connection to a server.
  `ConnectionInterface`
  ConnectionFactoryInterface.`getConnection(String userName, String password, long waitMilliseconds)`
  Get a connection to a server.
  `ConnectionInterface`
  ConnectionFactoryInterface.`getConnection(String userName, String password, String domain)`
  Get a connection to a server.
  `ConnectionInterface`
  ConnectionFactoryInterface.`getConnection(String userName, String password, String domain, long waitMilliseconds)`
  Get a connection to a server.
  `protected final ConnectionInterface`
  ConnectionFactoryKernel.`getConnection(ConnectionRequest cxReq)`
  `protected ConnectionInterface`
  ConnectionFactoryKernel.`getConnection(Credential userLogin, long waitMilliseconds, Logger cxLogger)`
  `protected ConnectionInterface`
  ConnectionFactoryShell.`getConnection(ConnectionRequest cxReq)`
  `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 ConnectionEnvelope`
  PuddleEnvelope.`getConnection(ConnectionRequest cxReq)`
  `static ConnectionFactoryInterface`
  ConnectionFactoryManager.`getConnectionFactory(ConnectionFactoryConfiguration cxfConfig)`
  Creates a connection factory that matches a desired configuration.
  `final Logger`
  LoggerFactory.`getConnectionServiceLogger()`
  `final ConnectionFactoryInterface`
  ConnectionFactoryManager.`getFactory(ConnectionFactoryConfiguration cxfConfig)`
  Creates a connection factory that matches a desired configuration.
  `protected ConnectionFactoryKernel`
  ConnectionFactoryConfiguration.`getKernel(ConnectionFactoryManager manager, ConnectionFactoryConfiguration cxfConfig, Logger logger)`
  `protected ConnectionFactoryKernel`
  ConnectionFactoryConfiguration.`getKernel(ConnectionFactoryManager manager, Logger logger)`
  `protected static ConnectionFactoryKernel`
  ConnectionFactoryConfiguration.`getKernelFromDelegate(ConnectionFactoryManager manager, ConnectionFactoryConfiguration original, Logger logger, ConnectionFactoryConfiguration delegate)`
  `protected Logger`
  LoggerFactory.`getLogger(ConnectionFactoryConfiguration cxfConfig)`
  This method is used internally by the `ConnectionFactoryManager`.
  Constructors in com.sas.services.connection that throw ConnectionFactoryException
  Modifier
  Constructor
  Description
  ``
  `XMLConfigurationBuilder(File serverInfoFile)`
  Construct a `ConfigurationBuilder` object with a server information XML file.
  ``
  `XMLConfigurationBuilder(File serverInfoFile, File userInfoFile)`
  Construct a `ConfigurationBuilder` object with a server information XML file and a user information XML file.

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

  Methods in com.sas.services.connection.jndi that throw ConnectionFactoryException
  Modifier and Type
  Method
  Description
  `protected Object`
  JNDIAuthServer.`authenticate(Credential credential)`
  `protected void`
  JNDIAuthServer.`authorizeAdmin(Credential adminLogin)`
  `protected boolean`
  JNDIAuthServer.`authorizeUser(Object identity, Puddle puddle)`

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

  Methods in com.sas.services.connection.omr that throw ConnectionFactoryException
  Modifier and Type
  Method
  Description
  `protected Object`
  OMRAuthServer.`authenticate(Credential credential)`
  `protected boolean`
  OMRAuthServer.`authorizeUser(Object identity, Puddle puddle)`
  `static Object`
  LocalUtil.`resolve(com.sas.metadata.LogicalServer target, ConnectionFactoryRequest cxfReq)`
  Convert a metadata object to `com.sas.services.connection.Cluster[]` or `com.sas.services.connection.Puddle[]`.
  `static Object`
  RemoteUtil.`resolve(com.sas.metadata.remote.LogicalServer target, ConnectionFactoryRequest cxfReq)`
  Convert a metadata object to `com.sas.services.connection.Cluster[]` or `com.sas.services.connection.Puddle[]`.

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

  Subclasses of ConnectionFactoryException in com.sas.services.connection.platform
  Modifier and Type
  Class
  Description
  `class`
  `MissingIdentityException`
  This exception is thrown during a connection request if the `UserContextInterface` presented by the caller does not contain a `UserIdentityInteface` for one of the authentication domains supported by the connection factory.
  Methods in com.sas.services.connection.platform that throw ConnectionFactoryException
  Modifier and Type
  Method
  Description
  `protected Object`
  PlatformOMRAuthServer.`authenticate(Credential credential)`
  `protected boolean`
  PlatformOMRAuthServer.`authorizeUser(Object identity, Puddle puddle)`
  `ConnectionInterface`
  PlatformConnectionFactory.`getConnection(UserContextInterface userContext)`
  `ConnectionInterface`
  PlatformConnectionFactory.`getConnection(UserContextInterface userContext, long waitMilliseconds)`
  `ConnectionInterface`
  PlatformConnectionFactoryInterface.`getConnection(UserContextInterface userContext)`
  Get a connection to a server.
  `ConnectionInterface`
  PlatformConnectionFactoryInterface.`getConnection(UserContextInterface userContext, long waitMilliseconds)`
  Get a connection to a server.
  `static PlatformConnectionFactoryInterface`
  PlatformConnectionFactoryManager.`getPlatformConnectionFactory(ConnectionFactoryConfiguration cxfConfig)`
  Creates a connection factory that matches a desired configuration.
  `PlatformConnectionFactoryInterface`
  PlatformConnectionFactoryManager.`getPlatformFactory(ConnectionFactoryConfiguration cxfConfig)`
  Creates a connection factory that matches a desired configuration.
  `protected UserContextInterface`
  PlatformConnectionFactoryConfiguration.`getPrivUser()`

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

  Methods in com.sas.services.security.login that throw ConnectionFactoryException
  Modifier and Type
  Method
  Description
  `protected boolean`
  OMIServerPrincipal.`attemptConnection(String user, String password)`

- ## Uses of ConnectionFactoryException in com.sas.services.storedprocess

  Methods in com.sas.services.storedprocess that throw ConnectionFactoryException
  Modifier and Type
  Method
  Description
  `void`
  Execution2Interface.`destroy()`
  Free resources allocated by the service for this execution.
  `void`
  ExecutionBaseInterface.`destroy()`
  Free resources allocated by the service for this execution.

- ## Uses of ConnectionFactoryException in com.sas.services.util

  Methods in com.sas.services.util that throw ConnectionFactoryException
  Modifier and Type
  Method
  Description
  `ConnectionInterface`
  ServicesConnectionFactory.`getConnection(UserContextInterface userContext)`
  `ConnectionInterface`
  ServicesConnectionFactory.`getConnection(UserContextInterface userContext, long waitMilliseconds)`
  `ConnectionInterface`
  ServicesConnectionFactoryInterface.`getConnection(UserContextInterface userContext)`
  Get a connection to a server.
  `ConnectionInterface`
  ServicesConnectionFactoryInterface.`getConnection(UserContextInterface userContext, long waitMilliseconds)`
  Get a connection to a server.
  `ServicesConnectionFactoryInterface`
  ServicesConnectionFactoryManager.`getServicesFactory(ConnectionFactoryConfiguration cxfConfig)`
  Get an object that implements `ServicesConnectionFactoryInterface`.