/** * Obtain the authentication service associated with rar module. * Currently only the BasicPassword authentication is supported. * * @param rarName Rar module Name * @param poolInfo Name of the pool. Used for creation of * BasicPasswordAuthenticationService * @return AuthenticationService */ public AuthenticationService getAuthenticationService(String rarName, PoolInfo poolInfo) { ConnectorDescriptor cd = _registry.getDescriptor(rarName); OutboundResourceAdapter obra = cd.getOutboundResourceAdapter(); Set authMechs = obra.getAuthMechanisms(); for (Object authMech : authMechs) { AuthMechanism authMechanism = (AuthMechanism) authMech; String mech = authMechanism.getAuthMechType(); if (mech.equals("BasicPassword")) { return new BasicPasswordAuthenticationService(rarName, poolInfo); } } return null; } }
desc = _registry.getDescriptor(rarName); if (desc != null) { return desc;
ConnectorRegistry.getInstance(); ConnectorDescriptor connectorDescriptor = connectorRegistry.getDescriptor(rarName); ConnectionDefDescriptor cdd = connectorDescriptor.getConnectionDefinitionByCFType(
_registry.getDescriptor(moduleName);
ConnectorDescriptor desc = registry.getDescriptor(connectorName);
ConnectorDescriptor desc = registry.getDescriptor(rarName);
_registry.getDescriptor(rarName); if(connectorDescriptor == null){ connectorDescriptor = _runtime.getConnectorDescriptor(rarName);
ConnectorDescriptor descriptor = registry.getDescriptor(rarName); if (descriptor != null) { isDefaultResource = descriptor.getDefaultResourcesNames().contains(resourceInfo.getName());
ConnectorDescriptor connectorDescriptor = _registry.getDescriptor(rarName);