类 StsConfig


  • public class StsConfig
    extends java.lang.Object
    Sts config.
    作者:
    Nacos
    • 字段详细资料

      • RAM_SECURITY_CREDENTIALS_URL

        private static final java.lang.String RAM_SECURITY_CREDENTIALS_URL
        另请参阅:
        常量字段值
      • ramRoleName

        private java.lang.String ramRoleName
      • timeToRefreshInMillisecond

        private int timeToRefreshInMillisecond
        The STS temporary certificate will be refreshed when the validity period of the temporary certificate is left (allow the local time to be at most slower than the STS service time).
      • securityCredentialsUrl

        private java.lang.String securityCredentialsUrl
        Metadata interface for obtaining STS temporary credentials (including role name).
      • securityCredentials

        private java.lang.String securityCredentials
        Set the STS temporary certificate and no longer obtain it through the metadata interface.
      • cacheSecurityCredentials

        private boolean cacheSecurityCredentials
        Whether to cache.
    • 构造器详细资料

      • StsConfig

        private StsConfig()
    • 方法详细资料

      • getInstance

        public static StsConfig getInstance()
      • getRamRoleName

        public java.lang.String getRamRoleName()
      • setRamRoleName

        public void setRamRoleName​(java.lang.String ramRoleName)
      • getTimeToRefreshInMillisecond

        public int getTimeToRefreshInMillisecond()
      • setTimeToRefreshInMillisecond

        public void setTimeToRefreshInMillisecond​(int timeToRefreshInMillisecond)
      • getSecurityCredentialsUrl

        public java.lang.String getSecurityCredentialsUrl()
      • setSecurityCredentialsUrl

        public void setSecurityCredentialsUrl​(java.lang.String securityCredentialsUrl)
      • getSecurityCredentials

        public java.lang.String getSecurityCredentials()
      • setSecurityCredentials

        public void setSecurityCredentials​(java.lang.String securityCredentials)
      • isStsOn

        public boolean isStsOn()
      • isCacheSecurityCredentials

        public boolean isCacheSecurityCredentials()
      • setCacheSecurityCredentials

        public void setCacheSecurityCredentials​(boolean cacheSecurityCredentials)