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 Access
public com.google.common.collect.SortedSetMultimap<String,KeystoneAccess.AccessService> getAggregatedCatalog()
getAggregatedCatalog
in interface Access
public Access.UserDetails getUser()
public String getEndpoint()
getEndpoint
in interface Access
public void setEndpoint(String endpoint)
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 Access
public <T> T unwrap()
Access
public String getCacheIdentifier()
getCacheIdentifier
in interface Access
Copyright © 2017. All rights reserved.