public class KeystoneAccess extends Object implements Access
| Modifier and Type | Class and Description |
|---|---|
static class |
KeystoneAccess.AccessService |
static class |
KeystoneAccess.AccessUser |
static class |
KeystoneAccess.AccessUsers |
Access.Service, Access.UserDetails| Constructor and Description |
|---|
KeystoneAccess() |
| Modifier and Type | Method and Description |
|---|---|
KeystoneAccess |
applyContext(String endpoint,
AuthStore credentials) |
KeystoneAccess |
applyContext(String endpoint,
TokenAuth token) |
com.google.common.collect.SortedSetMultimap<String,KeystoneAccess.AccessService> |
getAggregatedCatalog()
A Lazy loading Aggregated Service Catalog Mapping.
|
String |
getCacheIdentifier() |
AuthStore |
getCredentials() |
String |
getEndpoint() |
List<? extends Access.Service> |
getServiceCatalog() |
TokenV2 |
getToken() |
TokenAuth |
getTokenAuth() |
Access.UserDetails |
getUser() |
AuthVersion |
getVersion() |
boolean |
isCredentialType() |
void |
setEndpoint(String endpoint)
ONLY used for unit tests
|
String |
toString() |
<T> T |
unwrap()
If Access is being wrapped such as in V3 then this will return the underlying wrapped instance.
|
public List<? extends Access.Service> getServiceCatalog()
getServiceCatalog in interface Accesspublic com.google.common.collect.SortedSetMultimap<String,KeystoneAccess.AccessService> getAggregatedCatalog()
getAggregatedCatalog in interface Accesspublic Access.UserDetails getUser()
public String getEndpoint()
getEndpoint in interface Accesspublic void setEndpoint(String endpoint)
public AuthStore getCredentials()
public TokenAuth getTokenAuth()
public boolean isCredentialType()
public KeystoneAccess applyContext(String endpoint, AuthStore credentials)
public KeystoneAccess applyContext(String endpoint, TokenAuth token)
public AuthVersion getVersion()
getVersion in interface Accesspublic <T> T unwrap()
Accesspublic String getCacheIdentifier()
getCacheIdentifier in interface AccessCopyright © 2021. All rights reserved.