org.javaswift.joss.command.impl.identity
Class KeystoneAuthenticationCommandImpl

java.lang.Object
  extended by org.javaswift.joss.command.impl.core.AbstractCommand<org.apache.http.client.methods.HttpPost,Access>
      extended by org.javaswift.joss.command.impl.identity.KeystoneAuthenticationCommandImpl
All Implemented Interfaces:
Closeable, Callable<Access>, Command<Access>, AuthenticationCommand

public class KeystoneAuthenticationCommandImpl
extends AbstractCommand<org.apache.http.client.methods.HttpPost,Access>
implements AuthenticationCommand


Field Summary
 
Fields inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
LOG, request, response
 
Constructor Summary
KeystoneAuthenticationCommandImpl(org.apache.http.client.HttpClient httpClient, String url, String tenantName, String tenantId, String username, String password)
           
 
Method Summary
protected  org.apache.http.client.methods.HttpPost createRequest(String url)
           
 Access getReturnObject(org.apache.http.HttpResponse response)
           
 HttpStatusChecker[] getStatusCheckers()
           
 String getUrl()
           
 
Methods inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
addHeaders, call, close, closeStreamAutomatically, createObjectMapper, modifyURI, setAllowErrorLog, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.javaswift.joss.command.shared.core.Command
call
 

Constructor Detail

KeystoneAuthenticationCommandImpl

public KeystoneAuthenticationCommandImpl(org.apache.http.client.HttpClient httpClient,
                                         String url,
                                         String tenantName,
                                         String tenantId,
                                         String username,
                                         String password)
Method Detail

getReturnObject

public Access getReturnObject(org.apache.http.HttpResponse response)
                       throws IOException
Overrides:
getReturnObject in class AbstractCommand<org.apache.http.client.methods.HttpPost,Access>
Throws:
IOException

createRequest

protected org.apache.http.client.methods.HttpPost createRequest(String url)
Specified by:
createRequest in class AbstractCommand<org.apache.http.client.methods.HttpPost,Access>

getStatusCheckers

public HttpStatusChecker[] getStatusCheckers()
Specified by:
getStatusCheckers in class AbstractCommand<org.apache.http.client.methods.HttpPost,Access>

getUrl

public String getUrl()
Specified by:
getUrl in interface AuthenticationCommand


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