|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.cosbench.api.auth.NoneAuth
public class NoneAuth
This class encapsulates one none authentication mechanism which is used if no any other authentication mechanism is assigned.
Field Summary | |
---|---|
static java.lang.String |
API_TYPE
|
Constructor Summary | |
---|---|
NoneAuth()
|
Method Summary | |
---|---|
void |
dispose()
clean up Auth API. |
Context |
getParms()
retrieve parameters and current settings used by the AuthAPI. |
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 java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String API_TYPE
Constructor Detail |
---|
public NoneAuth()
Method Detail |
---|
public void init(Config config, Logger logger)
AuthAPI
init
in interface AuthAPI
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
public AuthContext login()
AuthAPI
login
in interface AuthAPI
public Context getParms()
AuthAPI
getParms
in interface AuthAPI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |