|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.cosbench.api.auth.NoneAuth
com.intel.cosbench.api.keystone.KeystoneAuth
public class KeystoneAuth
This class encapsulates one openstack keystone implementation for Auth API.
Field Summary |
---|
Fields inherited from class com.intel.cosbench.api.auth.NoneAuth |
---|
API_TYPE |
Constructor Summary | |
---|---|
KeystoneAuth()
|
Method Summary | |
---|---|
void |
dispose()
clean up Auth API. |
void |
init(Config config,
Logger logger)
initialize Auth API with parameters contained in config, the parameter list depends on auth type. |
AuthContext |
login()
trigger backend authentication mechanism. |
Methods inherited from class com.intel.cosbench.api.auth.NoneAuth |
---|
getParms |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeystoneAuth()
Method Detail |
---|
public void init(Config config, Logger logger)
AuthAPI
init
in interface AuthAPI
init
in class NoneAuth
config
- - one instance from “com.intel.cosbench.config.Config” class, which includes parameters for authentication.logger
- - one instance from “com.intel.cosbench.log.Logger” class, which delivers logging capabilities to Auth API.public void dispose()
AuthAPI
dispose
in interface AuthAPI
dispose
in class NoneAuth
public AuthContext login()
AuthAPI
login
in interface AuthAPI
login
in class NoneAuth
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |