Searched defs:getConnection (Results 1 - 25 of 96) sorted by relevance

1234

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/ldap/
H A DCTSDataLayer.java67 public Connection getConnection() { method in class:CTSDataLayer
68 return sharedSMDataLayer.getConnection();
H A DSMDataLayer.java100 protected Connection getConnection() { method in class:SMDataLayer
104 debug.message("SMDataLayer:getConnection() - Invoking _ldapPool.getConnection()");
107 conn = _ldapPool.getConnection();
108 debug.message("SMDataLayer:getConnection() - Got Connection : {}", conn);
110 debug.error("SMDataLayer:getConnection() - Failed to get Connection", e);
/forgerock/openam-v13/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/steps/
H A DAbstractUpgradeStep.java109 protected final Connection getConnection() throws DataLayerException { method in class:AbstractUpgradeStep
/forgerock/openidm-v4/openidm-router/src/test/java/org/forgerock/openidm/router/
H A DIDMConnectionFactoryWrapper.java35 return getConnection();
49 public Connection getConnection() throws ResourceException { method in class:IDMConnectionFactoryWrapper
50 return connectionFactory.getConnection();
/forgerock/openam/openam-audit/openam-audit-configuration/src/main/java/org/forgerock/openam/audit/events/handlers/
H A DElasticsearchAuditEventHandlerFactory.java64 esHandlerConfiguration.setConnection(getConnection(attributes));
117 private ConnectionConfiguration getConnection(Map<String, Set<String>> attributes) { method in class:ElasticsearchAuditEventHandlerFactory
H A DSplunkAuditEventHandlerFactory.java65 handlerConfiguration.setConnection(getConnection(attributes));
109 private ConnectionConfiguration getConnection(Map<String, Set<String>> attributes) { method in class:SplunkAuditEventHandlerFactory
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/ldap/
H A DCTSDataLayer.java67 public Connection getConnection() { method in class:CTSDataLayer
68 return sharedSMDataLayer.getConnection();
H A DSMDataLayer.java100 protected Connection getConnection() { method in class:SMDataLayer
104 debug.message("SMDataLayer:getConnection() - Invoking _ldapPool.getConnection()");
107 conn = _ldapPool.getConnection();
108 debug.message("SMDataLayer:getConnection() - Got Connection : {}", conn);
110 debug.error("SMDataLayer:getConnection() - Failed to get Connection", e);
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/steps/
H A DAbstractUpgradeStep.java109 protected final Connection getConnection() throws DataLayerException { method in class:AbstractUpgradeStep
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/
H A DElevatedConnectionFactoryWrapper.java56 public Connection getConnection() throws ResourceException { method in class:ElevatedConnectionFactoryWrapper
57 Connection connection = connectionFactory.getConnection();
65 return newResultPromise(getConnection());
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/common/
H A DHttpURLConnectionManager.java107 public static HttpURLConnection getConnection(URL url) throws IOException { method in class:HttpURLConnectionManager
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/
H A DElevatedConnectionFactoryWrapper.java61 public Connection getConnection() throws ResourceException { method in class:ElevatedConnectionFactoryWrapper
62 Connection connection = connectionFactory.getConnection();
70 return newResultPromise(getConnection());
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/common/
H A DHttpURLConnectionManager.java107 public static HttpURLConnection getConnection(URL url) throws IOException { method in class:HttpURLConnectionManager
/forgerock/opendj-v3/opendj-server/src/main/java/org/forgerock/opendj/server/core/
H A DOperation.java78 Connection getConnection(); method in interface:Operation
/forgerock/openidm-v4/openidm-router/src/main/java/org/forgerock/openidm/router/impl/
H A DJsonResourceRouterService.java66 * As a traditional {@link ConnectionFactory}, the {@link ConnectionFactory#getConnection()}
124 public Connection getConnection() throws ResourceException { method in class:JsonResourceRouterService
125 return internal.getConnection();
146 public Connection getConnection() throws ResourceException {
147 return new AbstractConnectionWrapper<Connection>(connectionFactory.getConnection()) {
158 return Promises.newResultPromise(getConnection());
171 return connectionFactory.getConnection();
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/soapbinding/
H A DClient.java155 con = getConnection(connectTo, certAlias);
251 private static URLConnection getConnection(String endpoint,String certAlias) method in class:Client
254 URLConnection con = HttpURLConnectionManager.getConnection(url);
257 Utils.debug.message("Client.getConnection: con class = " +
277 Utils.debug.warning("Client.getConnection: not instance of " +
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/labels/
H A DUmaLabelsStore.java93 try (Connection connection = getConnection()) {
99 try (Connection connection = getConnection()) {
154 try (Connection connection = getConnection()) {
182 try (Connection connection = getConnection()) {
207 try (Connection connection = getConnection()) {
257 try (Connection connection = getConnection()) {
302 private Connection getConnection() throws InternalServerErrorException { method in class:UmaLabelsStore
/forgerock/openam-v13/openam-certs/src/main/java/com/sun/identity/security/cert/
H A DAMCertStore.java100 synchronized Connection getConnection() { method in class:AMCertStore
117 debug.message("AMCertStore.getConnection: initial connection factory using ssl.");
121 debug.message("AMCertStore.getConnection: SSLSocketFactory called");
123 debug.error("AMCertStore.getConnection: Error getting SSL Context", e);
132 return ldapconn.getConnection();
134 debug.error("AMCertStore.getConnection: Exception in connection to LDAP server", e);
218 try (Connection ldc = getConnection()) {
/forgerock/openam-v13/openam-datastore/src/test/java/org/forgerock/openam/idrepo/ldap/
H A DIdRepoTestBase.java156 public Connection getConnection() throws LdapException { method in class:IdRepoTestBase.FakeConnectionFactory
157 return cf.getConnection();
/forgerock/openidm-v4/openidm-repo-jdbc/src/test/java/org/forgerock/openidm/repo/jdbc/internal/
H A DDBUnitUtils.java54 public IDatabaseConnection getConnection() throws Exception { method in class:DBUnitUtils
57 connection = new DatabaseConnection(DriverManager.getConnection("jdbc:hsqldb:mem:openidmtestdb"));
85 DatabaseOperation.INSERT.execute(getConnection(), ds);
89 DatabaseOperation.CLEAN_INSERT.execute(getConnection(), ds);
93 DatabaseOperation.UPDATE.execute(getConnection(), ds);
97 DatabaseOperation.DELETE.execute(getConnection(), ds);
101 DatabaseOperation.DELETE_ALL.execute(getConnection(), ds);
122 Connection connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/openidm", "root", "");
/forgerock/openidm-v4/openidm-api-servlet/src/main/java/org/forgerock/openidm/servlet/internal/
H A DServletConnectionFactory.java170 public Connection getConnection() throws ResourceException {
171 return new AbstractConnectionWrapper<Connection>(connectionFactory.getConnection()) {
328 return newResultPromise(getConnection());
543 public Connection getConnection() throws ResourceException { method in class:ServletConnectionFactory
544 return connectionFactory.getConnection();
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/labels/
H A DUmaLabelsStore.java93 try (Connection connection = getConnection()) {
99 try (Connection connection = getConnection()) {
154 try (Connection connection = getConnection()) {
182 try (Connection connection = getConnection()) {
207 try (Connection connection = getConnection()) {
257 try (Connection connection = getConnection()) {
302 private Connection getConnection() throws InternalServerErrorException { method in class:UmaLabelsStore
/forgerock/openam/openam-certs/src/main/java/com/sun/identity/security/cert/
H A DAMCertStore.java100 synchronized Connection getConnection() { method in class:AMCertStore
117 debug.message("AMCertStore.getConnection: initial connection factory using ssl.");
121 debug.message("AMCertStore.getConnection: SSLSocketFactory called");
123 debug.error("AMCertStore.getConnection: Error getting SSL Context", e);
132 return ldapconn.getConnection();
134 debug.error("AMCertStore.getConnection: Exception in connection to LDAP server", e);
218 try (Connection ldc = getConnection()) {
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/impl/
H A DLdapAdapter.java119 getConnection();
142 getConnection();
198 getConnection();
225 getConnection();
253 getConnection();
267 getConnection();
308 private synchronized void getConnection() throws DataLayerException { method in class:LdapAdapter
/forgerock/openam/openam-datastore/src/test/java/org/forgerock/openam/idrepo/ldap/
H A DIdRepoTestBase.java157 public Connection getConnection() throws LdapException { method in class:IdRepoTestBase.FakeConnectionFactory
158 return cf.getConnection();

Completed in 342 milliseconds

1234