Package org.keycloak.storage
Class StorageId
java.lang.Object
org.keycloak.storage.StorageId
- All Implemented Interfaces:
Serializable
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static String
externalId
(String keycloakId) getId()
int
hashCode()
boolean
isLocal()
static boolean
isLocalStorage
(String id) static boolean
isLocalStorage
(ClientModel client) Deprecated.static boolean
isLocalStorage
(UserModel user) Deprecated.UseisLocalStorage(String)
instead.static String
keycloakId
(ComponentModel model, String externalId) generate the id string that should be returned by UserModel.getId()static String
providerId
(String keycloakId) static String
resolveProviderId
(ClientModel client) Deprecated.UseproviderId(String)
instead.static String
resolveProviderId
(UserModel user) Deprecated.UseproviderId(String)
instead.toString()
-
Constructor Details
-
StorageId
-
StorageId
-
-
Method Details
-
isLocal
public boolean isLocal() -
getId
-
getProviderId
-
getExternalId
-
keycloakId
generate the id string that should be returned by UserModel.getId()- Parameters:
model
-externalId
- id used to resolve user in external storage- Returns:
-
externalId
-
providerId
-
isLocalStorage
-
resolveProviderId
Deprecated.UseproviderId(String)
instead. -
isLocalStorage
Deprecated.UseisLocalStorage(String)
instead. -
resolveProviderId
Deprecated.UseproviderId(String)
instead. -
isLocalStorage
Deprecated.UseisLocalStorage(String)
instead. -
hashCode
public int hashCode() -
equals
-
toString
-
isLocalStorage(String)
instead.