public class OSymmetricKeyCI extends Object implements OCredentialInterceptor
The "password" parameter should be a JSON document specifying "keyAlgorithm" and "key", "keyFile", or "keyStore".
The method getPassword() will return a Base64-encoded JSON document with the encrypted "username" as its payload.
Constructor and Description |
---|
OSymmetricKeyCI() |
Modifier and Type | Method and Description |
---|---|
String |
getPassword() |
String |
getUsername() |
void |
intercept(String url,
String username,
String password)
The usual password field should be a JSON representation.
|
public String getUsername()
getUsername
in interface OCredentialInterceptor
public String getPassword()
getPassword
in interface OCredentialInterceptor
public void intercept(String url, String username, String password) throws OSecurityException
intercept
in interface OCredentialInterceptor
OSecurityException
Copyright © 2009–2020 OrientDB. All rights reserved.