org.javaswift.joss.command.shared.identity.access
Class AccessTenant

java.lang.Object
  extended by org.javaswift.joss.command.shared.identity.access.AbstractAccess
      extended by org.javaswift.joss.command.shared.identity.access.AccessTenant
All Implemented Interfaces:
Access

public class AccessTenant
extends AbstractAccess


Field Summary
 List<ServiceCatalog> serviceCatalog
           
 
Fields inherited from class org.javaswift.joss.command.shared.identity.access.AbstractAccess
metadata, SERVICE_CATALOG_OBJECT_STORE, token, user
 
Constructor Summary
AccessTenant()
           
 
Method Summary
protected  EndPoint determineCurrentEndPoint()
           
 String getTempUrlPrefix(TempUrlHashPrefixSource tempUrlHashPrefixSource)
          Returns the first part of the object path in a TempURL.
 boolean isTenantSupplied()
          Ascertains whether tenant ID and/or name were supplied.
 
Methods inherited from class org.javaswift.joss.command.shared.identity.access.AbstractAccess
getCurrentEndPoint, getInternalURL, getPreferredRegion, getPublicURL, getToken, setPreferredRegion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceCatalog

public List<ServiceCatalog> serviceCatalog
Constructor Detail

AccessTenant

public AccessTenant()
Method Detail

isTenantSupplied

public boolean isTenantSupplied()
Description copied from interface: Access
Ascertains whether tenant ID and/or name were supplied.

Specified by:
isTenantSupplied in interface Access
Specified by:
isTenantSupplied in class AbstractAccess
Returns:
true if tenant ID and/or name were supplied before the authentication call

getTempUrlPrefix

public String getTempUrlPrefix(TempUrlHashPrefixSource tempUrlHashPrefixSource)
Description copied from interface: Access
Returns the first part of the object path in a TempURL. This is determined by the URL that serves as the source; public, internal or admin

Parameters:
tempUrlHashPrefixSource - the source URL to server as the basis for the prefix
Returns:
temp URL object path prefix

determineCurrentEndPoint

protected EndPoint determineCurrentEndPoint()
Specified by:
determineCurrentEndPoint in class AbstractAccess


Copyright © 2012-2014 42 BV. All Rights Reserved.