|
||||||||||
| 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.swauth.SwiftAuth
public class SwiftAuth
This class encapsulates one swift swauth implementation for Auth API.
| Field Summary |
|---|
| Fields inherited from class com.intel.cosbench.api.auth.NoneAuth |
|---|
API_TYPE |
| Constructor Summary | |
|---|---|
SwiftAuth()
|
|
| 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 SwiftAuth()
| Method Detail |
|---|
public void init(Config config,
Logger logger)
AuthAPI
init in interface AuthAPIinit in class NoneAuthconfig - - 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 AuthAPIdispose in class NoneAuthpublic AuthContext login()
AuthAPI
login in interface AuthAPIlogin in class NoneAuth
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||