Ne peut pas récupérer les informations d'Identification Amazon

Je suis en train de fournir des informations d'identification pour mon Ressort de démarrage maven application hébergée sur le cloud (Pivot Web Services) pour être en mesure de télécharger sur Amazon S3. Cependant, chaque fois que j'essaie d'obtenir les informations d'identification à l'aide de:

DefaultAWSCredentialsProviderChain credentialProviderChain = new DefaultAWSCredentialsProviderChain();
TransferManager transferManager = new TransferManager(credentialProviderChain.getCredentials());

Il dit

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception 
[Request processing failed; nested exception is com.amazonaws.AmazonClientException: Unable
to load AWS credentials from any provider in the chain] with root cause
2016-01-28T23:55:38.55+0000 [APP/0]      OUT com.amazonaws.AmazonClientException: 
Unable to load AWS credentials from any provider in the chain

Je suis un peu confus quant à savoir si mes informations d'identification doivent être définis dans un beans.xml ou de l'application.fichier de propriétés. Mais j'ai essayé les deux, en vain. Quelqu'un pourrait-il me diriger dans la bonne direction?

vous pouvez essayer AWS Cognito, le service de

OriginalL'auteur Tometoyou | 2016-01-29