Package org.keycloak.models
Interface Model
- All Known Subinterfaces:
CachedUserModel,GroupModel,UserModel
- All Known Implementing Classes:
AbstractInMemoryUserAdapter,AbstractUserAdapter,AbstractUserAdapter.Streams,AbstractUserAdapterFederatedStorage,AbstractUserAdapterFederatedStorage.Streams,GroupAdapter,GroupAdapter,GroupLDAPStorageMapper.LDAPGroupMappingsUserDelegate,InMemoryUserAdapter,IpatuuraUserModelDelegate,LDAPWritesOnlyUserModelDelegate,LightweightUserAdapter,MSADLDSUserAccountControlStorageMapper.MSADUserModelDelegate,MSADUserAccountControlStorageMapper.MSADUserModelDelegate,ReadOnlyKerberosUserModelDelegate,ReadonlyLDAPUserModelDelegate,ReadonlySSSDUserModelDelegate,ReadOnlyUserModelDelegate,RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate,StorageUnavailableUserModelDelegate,TxAwareLDAPUserModelDelegate,UpdateOnlyChangeUserModelDelegate,UserAdapter,UserAdapter,UserModelDefaultMethods,UserModelDelegate
public interface Model
This is the base interface for all models, usually representing a realm resource.
-
Method Summary
-
Method Details
-
getId
String getId()Returns the unique identifier of this model. The identifier is generated by the persistence layer and is not supposed to be manually set. It is used internally to identify the model and should not be confused with any user-facing identifier, such as a username or email.
The identifier is immutable and should not be changed after the model is created.
- Returns:
- the unique identifier of this model, not
null
-