Class KeystoneToken

    • Constructor Detail

      • KeystoneToken

        public KeystoneToken()
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface Token
        Returns:
        the id of the token
      • setId

        public void setId​(String id)
        Description copied from interface: Token
        sets the id of the token from response header value
        Specified by:
        setId in interface Token
        Parameters:
        id - the token id
      • getExpires

        public Date getExpires()
        Specified by:
        getExpires in interface Token
        Returns:
        the timestamp when the token expires
      • getIssuedAt

        public Date getIssuedAt()
        Specified by:
        getIssuedAt in interface Token
        Returns:
        the timestamp when the token was issued
      • getAuditIds

        public List<String> getAuditIds()
        Specified by:
        getAuditIds in interface Token
        Returns:
        the list of audit identifiers
      • getMethods

        public List<String> getMethods()
        Specified by:
        getMethods in interface Token
        Returns:
        the methods of the token
      • getEndpoint

        public String getEndpoint()
        Specified by:
        getEndpoint in interface Token
        Returns:
        the endpoint
      • setEndpoint

        public void setEndpoint​(String endpoint)
      • getAggregatedCatalog

        public com.google.common.collect.SortedSetMultimap<String,​Service> 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 Token
        Returns:
        sorted aggregate service catalog
      • getCacheIdentifier

        public String getCacheIdentifier()
        Specified by:
        getCacheIdentifier in interface Token
        Returns:
        the internal UUID used for cache lookups