@Component(value="securityHelper") public class SecurityHelper extends Object
| Constructor and Description |
|---|
SecurityHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
arePasswordsEquals(String testedPassword,
byte[] storedPassword,
byte[] salt)
Deprecated.
|
static byte[] |
encodePassword(char[] password,
byte[] salt)
Deprecated.
|
static UUID |
getCurrentProjectUuid(BigInteger projectId)
Temporary solution to get ProjectUUID from our internal projectId
We use it in one place only - ProjectController#getById (itf-executor), when
atp-itf-configurator load main UI at first time in STANDALONE mode ONLY.
|
static byte[] |
getSalt()
Deprecated.
|
static org.keycloak.representations.IDToken |
getTokenForLogger(org.keycloak.KeycloakPrincipal principal)
Deprecated.
|
@Deprecated public static byte[] getSalt()
@Deprecated public static boolean arePasswordsEquals(String testedPassword, byte[] storedPassword, byte[] salt)
@Deprecated public static byte[] encodePassword(char[] password, byte[] salt)
public static UUID getCurrentProjectUuid(BigInteger projectId)
projectId - projectId@Deprecated public static org.keycloak.representations.IDToken getTokenForLogger(org.keycloak.KeycloakPrincipal principal)
Copyright © 2025. All rights reserved.