
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 OCredentialInterceptorpublic String getPassword()
getPassword in interface OCredentialInterceptorpublic void intercept(String url, String username, String password) throws OSecurityException
intercept in interface OCredentialInterceptorOSecurityExceptionCopyright © 2009–2025 OrientDB. All rights reserved.