All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.openservices.ons.api.impl.authority.StaticSessionCredentialsProvider Maven / Gradle / Ivy

There is a newer version: 1.9.3.Final
Show newest version
package com.aliyun.openservices.ons.api.impl.authority;

/**
 * Static provider which get {@link SessionCredentials} in advance.
 */
public class StaticSessionCredentialsProvider implements SessionCredentialsProvider {
    private final SessionCredentials sessionCredentials;

    public StaticSessionCredentialsProvider(SessionCredentials sessionCredentials) {
        this.sessionCredentials = sessionCredentials;
    }

    @Override
    public SessionCredentials getSessionCredentials() {
        return sessionCredentials;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy