Examples of AWSSessionCredentialsAdapter


Examples of com.netflix.suro.sink.remotefile.AWSSessionCredentialsAdapter

            if (s3Service == null) {
                Jets3tProperties properties = new Jets3tProperties();
                properties.setProperty("s3service.s3-endpoint", s3Endpoint);
                if (credentialsProvider.getCredentials() instanceof AWSSessionCredentials) {
                    s3Service = new RestS3Service(
                            new AWSSessionCredentialsAdapter(credentialsProvider),
                            null, null, properties);
                } else {
                    s3Service = new RestS3Service(
                            new AWSCredentials(
                                    credentialsProvider.getCredentials().getAWSAccessKeyId(),
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.