Package org.jgroups.protocols
Class SWIFT_PING.Keystone_V_2_0_Auth
java.lang.Object
org.jgroups.protocols.SWIFT_PING.Keystone_V_2_0_Auth
- All Implemented Interfaces:
SWIFT_PING.Authenticator
- Enclosing class:
SWIFT_PING
private static class SWIFT_PING.Keystone_V_2_0_Auth
extends Object
implements SWIFT_PING.Authenticator
Openstack Keytsone v2.0 authentication provider. Thread safe
implementation
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKeystone_V_2_0_Auth(String tenant, URL authUrl, String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionparseJsonResponse(String json) voidValidate SWIFT_PING config parameters
-
Field Details
-
JSON_RESPONSE_PARSING_SCRIPT
- See Also:
-
scriptEngineLock
-
scriptEngine
-
tenant
-
authUrl
-
username
-
password
-
-
Constructor Details
-
Keystone_V_2_0_Auth
-
-
Method Details
-
validateParams
public void validateParams()Description copied from interface:SWIFT_PING.AuthenticatorValidate SWIFT_PING config parameters- Specified by:
validateParamsin interfaceSWIFT_PING.Authenticator
-
authenticate
- Specified by:
authenticatein interfaceSWIFT_PING.Authenticator- Throws:
Exception
-
parseJsonResponse
- Throws:
ScriptException
-