Examples of CredentialStoreException


Examples of org.apache.airavata.credential.store.store.CredentialStoreException

            stringBuilder.append("gateway - ").append(gatewayName);
            stringBuilder.append("community user name - ").append(communityUserName);

            log.error(stringBuilder.toString(), e);

            throw new CredentialStoreException(stringBuilder.toString(), e);
        } finally {
            DBUtil.cleanup(preparedStatement);
        }

        return null;
View Full Code Here

Examples of org.apache.airavata.credential.store.store.CredentialStoreException

            stringBuilder.append("gateway - ").append(gatewayName);
            stringBuilder.append("token- ").append(tokenId);

            log.error(stringBuilder.toString(), e);

            throw new CredentialStoreException(stringBuilder.toString(), e);
        } finally {
            DBUtil.cleanup(preparedStatement);
        }

        return null;
View Full Code Here

Examples of org.apache.airavata.credential.store.store.CredentialStoreException

            StringBuilder stringBuilder = new StringBuilder("Error retrieving community users for ");
            stringBuilder.append("gateway - ").append(gatewayName);

            log.error(stringBuilder.toString(), e);

            throw new CredentialStoreException(stringBuilder.toString(), e);
        } finally {
            DBUtil.cleanup(preparedStatement);
        }

        return userList;
View Full Code Here

Examples of org.apache.airavata.credential.store.store.CredentialStoreException

            sshCredential.setPublicKey(pubKey);
            sshCredential.setPassphrase(password);
            return sshCredential;
    } catch (IOException e) {
      logger.error("IO Exception when creating SSH credential ",e);
      throw new CredentialStoreException("Unable to generate SSH Credential", e);
    } catch (JSchException e) {
      logger.error("JSch SSH credential creation exception ",e);
      throw new CredentialStoreException("Unable to generate SSH Credential. JSch exception ", e);
    }
  }
View Full Code Here

Examples of org.apache.airavata.credential.store.store.CredentialStoreException

            stringBuilder.append(" gateway - ").append(gatewayId);
            stringBuilder.append(" token id - ").append(credential.getToken());

            log.error(stringBuilder.toString(), e);

            throw new CredentialStoreException(stringBuilder.toString(), e);
        } finally {

            DBUtil.cleanup(preparedStatement);
        }
    }
View Full Code Here

Examples of org.apache.airavata.credential.store.store.CredentialStoreException

            stringBuilder.append("gateway - ").append(gatewayName);
            stringBuilder.append("token id - ").append(tokenId);

            log.error(stringBuilder.toString(), e);

            throw new CredentialStoreException(stringBuilder.toString(), e);
        } finally {
            DBUtil.cleanup(preparedStatement);
        }
    }
View Full Code Here

Examples of org.apache.airavata.credential.store.store.CredentialStoreException

            stringBuilder.append(" gateway - ").append(gatewayId);
            stringBuilder.append(" token id - ").append(credential.getToken());

            log.error(stringBuilder.toString(), e);

            throw new CredentialStoreException(stringBuilder.toString(), e);
        } finally {

            DBUtil.cleanup(preparedStatement);
        }
View Full Code Here

Examples of org.apache.airavata.credential.store.store.CredentialStoreException

            stringBuilder.append("gateway - ").append(gatewayName);
            stringBuilder.append("token id - ").append(tokenId);

            log.debug(stringBuilder.toString(), e);

            throw new CredentialStoreException(stringBuilder.toString(), e);
        } finally {
            DBUtil.cleanup(preparedStatement, resultSet);
        }

        return null;
View Full Code Here

Examples of org.apache.airavata.credential.store.store.CredentialStoreException

            StringBuilder stringBuilder = new StringBuilder("Error retrieving credential list for ");
            stringBuilder.append("gateway - ").append(gatewayName);

            log.debug(stringBuilder.toString(), e);

            throw new CredentialStoreException(stringBuilder.toString(), e);
        } finally {
            DBUtil.cleanup(preparedStatement, resultSet);
        }

        return credentialList;
View Full Code Here

Examples of org.apache.airavata.credential.store.store.CredentialStoreException

        } catch (SQLException e) {
            StringBuilder stringBuilder = new StringBuilder("Error retrieving all credentials");

            log.debug(stringBuilder.toString(), e);

            throw new CredentialStoreException(stringBuilder.toString(), e);
        } finally {
            DBUtil.cleanup(preparedStatement, resultSet);
        }

        return credentialList;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.