Class KeystoneAccess

    • Constructor Detail

      • KeystoneAccess

        public KeystoneAccess()
    • Method Detail

      • getAggregatedCatalog

        public com.google.common.collect.SortedSetMultimap<String,​KeystoneAccess.AccessService> getAggregatedCatalog()
        A Lazy loading Aggregated Service Catalog Mapping. The key is a stripped version service type or name with a collection of Services sorted by version
        Specified by:
        getAggregatedCatalog in interface Access
        Returns:
        sorted aggregate service catalog
      • getEndpoint

        public String getEndpoint()
        Specified by:
        getEndpoint in interface Access
        Returns:
        the original endpoint used to authenticate
      • setEndpoint

        public void setEndpoint​(String endpoint)
        ONLY used for unit tests
      • getCredentials

        public AuthStore getCredentials()
      • getTokenAuth

        public TokenAuth getTokenAuth()
      • isCredentialType

        public boolean isCredentialType()
      • getVersion

        public AuthVersion getVersion()
        Specified by:
        getVersion in interface Access
        Returns:
        the version of the authentication method
      • unwrap

        public <T> T unwrap()
        Description copied from interface: Access
        If Access is being wrapped such as in V3 then this will return the underlying wrapped instance. Otherwise it returns itself
        Specified by:
        unwrap in interface Access
        Returns:
        the unwrapped underlying data source
      • getCacheIdentifier

        public String getCacheIdentifier()
        Specified by:
        getCacheIdentifier in interface Access
        Returns:
        the internal UUID used for cache lookups of this access