Modifier and Type | Method and Description |
---|---|
ThemeProvider |
AerogearThemeProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
AccountProvider |
FreeMarkerAccountProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
FreeMarkerAccountProvider(KeycloakSession session,
FreeMarkerUtil freeMarker) |
Constructor and Description |
---|
AccountSocialBean(KeycloakSession session,
RealmModel realm,
UserModel user,
URI baseUri) |
Modifier and Type | Method and Description |
---|---|
AuditListener |
EmailAuditListenerFactory.create(KeycloakSession session) |
Constructor and Description |
---|
EmailAuditListener(KeycloakSession session,
EmailProvider emailProvider,
Set<EventType> includedEvents) |
Modifier and Type | Method and Description |
---|---|
AuditProvider |
JpaAuditProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
AuditListener |
JBossLoggingAuditListenerFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
AuditProvider |
MongoAuditProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
JpaConnectionProvider |
DefaultJpaConnectionProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
MongoConnectionProvider |
DefaultMongoConnectionFactoryProvider.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
EmailProvider |
FreeMarkerEmailProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
FreeMarkerEmailProvider(KeycloakSession session,
FreeMarkerUtil freeMarker) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
BasePropertiesFederationProvider.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
BasePropertiesFederationProvider.getSession() |
Modifier and Type | Method and Description |
---|---|
UserFederationProvider |
BasePropertiesFederationFactory.create(KeycloakSession session) |
protected BasePropertiesFederationProvider |
FilePropertiesFederationFactory.createProvider(KeycloakSession session,
UserFederationProviderModel model,
Properties props) |
protected BasePropertiesFederationProvider |
ClasspathPropertiesFederationFactory.createProvider(KeycloakSession session,
UserFederationProviderModel model,
Properties props) |
protected abstract BasePropertiesFederationProvider |
BasePropertiesFederationFactory.createProvider(KeycloakSession session,
UserFederationProviderModel model,
Properties props) |
UserFederationProvider |
BasePropertiesFederationFactory.getInstance(KeycloakSession session,
UserFederationProviderModel model) |
Constructor and Description |
---|
BasePropertiesFederationProvider(KeycloakSession session,
UserFederationProviderModel model,
Properties properties) |
ClasspathPropertiesFederationProvider(KeycloakSession session,
UserFederationProviderModel model,
Properties properties) |
FilePropertiesFederationProvider(KeycloakSession session,
Properties properties,
UserFederationProviderModel model) |
Modifier and Type | Method and Description |
---|---|
AuditProvider |
MemAuditProviderFactory.create(KeycloakSession session) |
AuditListener |
SysoutAuditListenerFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
ImportProvider |
DirImportProviderFactory.create(KeycloakSession session) |
ExportProvider |
DirExportProviderFactory.create(KeycloakSession session) |
protected void |
DirExportProvider.writeUsers(String fileName,
KeycloakSession session,
RealmModel realm,
List<UserModel> users) |
Modifier and Type | Method and Description |
---|---|
ImportProvider |
SingleFileImportProviderFactory.create(KeycloakSession session) |
ExportProvider |
SingleFileExportProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
static RealmRepresentation |
ExportUtils.exportRealm(KeycloakSession session,
RealmModel realm,
boolean includeUsers) |
static UserRepresentation |
ExportUtils.exportUser(KeycloakSession session,
RealmModel realm,
UserModel user)
Full export of user (including role mappings and credentials)
|
static void |
ExportUtils.exportUsersToStream(KeycloakSession session,
RealmModel realm,
List<UserModel> usersToExport,
org.codehaus.jackson.map.ObjectMapper mapper,
OutputStream os) |
static void |
ImportUtils.importFromStream(KeycloakSession session,
org.codehaus.jackson.map.ObjectMapper mapper,
InputStream is,
Strategy strategy)
Fully import realm (or more realms from particular stream)
|
static RealmModel |
ImportUtils.importRealm(KeycloakSession session,
RealmRepresentation rep,
Strategy strategy)
Fully import realm from representation, save it to model and return model of newly created realm
|
static void |
ImportUtils.importUsersFromStream(KeycloakSession session,
String realmName,
org.codehaus.jackson.map.ObjectMapper mapper,
InputStream is) |
void |
ExportImportJob.run(KeycloakSession session) |
protected abstract void |
MultipleStepsExportProvider.writeUsers(String fileName,
KeycloakSession session,
RealmModel realm,
List<UserModel> users) |
Modifier and Type | Method and Description |
---|---|
ImportProvider |
ZipImportProviderFactory.create(KeycloakSession session) |
ExportProvider |
ZipExportProviderFactory.create(KeycloakSession session) |
protected void |
ZipExportProvider.writeUsers(String fileName,
KeycloakSession session,
RealmModel realm,
List<UserModel> users) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
LDAPFederationProvider.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
LDAPFederationProvider.getSession() |
Modifier and Type | Method and Description |
---|---|
UserFederationProvider |
LDAPFederationProviderFactory.create(KeycloakSession session) |
UserFederationProvider |
LDAPFederationProviderFactory.getInstance(KeycloakSession session,
UserFederationProviderModel model) |
Constructor and Description |
---|
LDAPFederationProvider(KeycloakSession session,
UserFederationProviderModel model,
org.picketlink.idm.PartitionManager partitionManager) |
Modifier and Type | Method and Description |
---|---|
ThemeProvider |
ExtendingThemeManagerFactory.create(KeycloakSession session) |
Constructor and Description |
---|
ExtendingThemeManager(KeycloakSession session,
ConcurrentHashMap<ExtendingThemeManagerFactory.ThemeKey,Theme> themeCache) |
Modifier and Type | Method and Description |
---|---|
LoginFormsProvider |
FreeMarkerLoginFormsProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
FreeMarkerLoginFormsProvider(KeycloakSession session,
FreeMarkerUtil freeMarker) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
UserFederationManager.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
KeycloakSessionFactory.create() |
Modifier and Type | Method and Description |
---|---|
UserFederationProvider |
UserFederationProviderFactory.getInstance(KeycloakSession session,
UserFederationProviderModel model)
called per Keycloak transaction.
|
Constructor and Description |
---|
UserFederationManager(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
UserAdapter.keycloakSession |
protected KeycloakSession |
NoCacheUserProvider.session |
protected KeycloakSession |
NoCacheRealmProvider.session |
protected KeycloakSession |
DefaultCacheUserProvider.session |
protected KeycloakSession |
DefaultCacheRealmProvider.session |
Modifier and Type | Method and Description |
---|---|
CacheUserProvider |
NoCacheUserProviderFactory.create(KeycloakSession session) |
CacheRealmProvider |
NoCacheRealmProviderFactory.create(KeycloakSession session) |
CacheUserProvider |
MemoryCacheUserProviderFactory.create(KeycloakSession session) |
CacheRealmProvider |
MemoryCacheRealmProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DefaultCacheRealmProvider(RealmCache cache,
KeycloakSession session) |
DefaultCacheUserProvider(UserCache cache,
KeycloakSession session) |
NoCacheRealmProvider(KeycloakSession session) |
NoCacheUserProvider(KeycloakSession session) |
UserAdapter(CachedUser cached,
CacheUserProvider userProvider,
KeycloakSession keycloakSession,
RealmModel realm) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
RealmAdapter.session |
protected KeycloakSession |
ApplicationAdapter.session |
Modifier and Type | Method and Description |
---|---|
UserProvider |
JpaUserProviderFactory.create(KeycloakSession session) |
RealmProvider |
JpaRealmProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
ApplicationAdapter(RealmModel realm,
javax.persistence.EntityManager em,
KeycloakSession session,
ApplicationEntity applicationEntity) |
JpaRealmProvider(KeycloakSession session,
javax.persistence.EntityManager em) |
JpaUserProvider(KeycloakSession session,
javax.persistence.EntityManager em) |
RealmAdapter(KeycloakSession session,
javax.persistence.EntityManager em,
RealmEntity realm) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
ClientAdapter.session |
Modifier and Type | Method and Description |
---|---|
UserProvider |
MongoUserProviderFactory.create(KeycloakSession session) |
RealmProvider |
MongoRealmProviderFactory.create(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
JpaUserSessionProvider.session |
Modifier and Type | Method and Description |
---|---|
UserSessionProvider |
JpaUserSessionProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
ClientSessionAdapter(KeycloakSession session,
javax.persistence.EntityManager em,
RealmModel realm,
ClientSessionEntity entity) |
JpaUserSessionProvider(KeycloakSession session,
javax.persistence.EntityManager em) |
UserSessionAdapter(KeycloakSession session,
javax.persistence.EntityManager em,
RealmModel realm,
UserSessionEntity entity) |
Modifier and Type | Method and Description |
---|---|
UserSessionProvider |
MemUserSessionProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
ClientSessionAdapter(KeycloakSession session,
MemUserSessionProvider provider,
RealmModel realm,
ClientSessionEntity entity) |
MemUserSessionProvider(KeycloakSession session,
ConcurrentHashMap<String,UserSessionEntity> userSessions,
ConcurrentHashMap<String,ClientSessionEntity> clientSessions,
ConcurrentHashMap<UsernameLoginFailureKey,UsernameLoginFailureEntity> loginFailures) |
UserSessionAdapter(KeycloakSession session,
MemUserSessionProvider provider,
RealmModel realm,
UserSessionEntity entity) |
Modifier and Type | Method and Description |
---|---|
UserSessionProvider |
MongoUserSessionProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
ClientSessionAdapter(KeycloakSession session,
MongoUserSessionProvider provider,
RealmModel realm,
MongoClientSessionEntity entity,
MongoUserSessionEntity userSessionEntity,
MongoStoreInvocationContext invContext) |
MongoUserSessionProvider(KeycloakSession session,
MongoStore mongoStore,
MongoStoreInvocationContext invocationContext) |
UserSessionAdapter(KeycloakSession keycloakSession,
MongoUserSessionProvider provider,
MongoUserSessionEntity entity,
RealmModel realm,
MongoStoreInvocationContext invContext) |
Modifier and Type | Method and Description |
---|---|
static UserModel |
RepresentationToModel.createUser(KeycloakSession session,
RealmModel newRealm,
UserRepresentation userRep,
Map<String,ApplicationModel> appMap) |
static UserModel |
KeycloakModelUtils.findUserByNameOrEmail(KeycloakSession session,
RealmModel realm,
String username)
Try to find user by given username.
|
static void |
RepresentationToModel.importRealm(KeycloakSession session,
RealmRepresentation rep,
RealmModel newRealm) |
Modifier and Type | Method and Description |
---|---|
PartitionManagerProvider |
LDAPPartitionManagerProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
T |
ProviderFactory.create(KeycloakSession session) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultKeycloakSession |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
DefaultKeycloakSessionFactory.create() |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
RealmManager.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
RealmManager.getSession() |
Modifier and Type | Method and Description |
---|---|
AuthenticationManager.AuthResult |
AppAuthManager.authenticateBearerToken(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection connection,
javax.ws.rs.core.HttpHeaders headers) |
AuthenticationManager.AuthenticationStatus |
AuthenticationManager.authenticateForm(KeycloakSession session,
ClientConnection clientConnection,
RealmModel realm,
javax.ws.rs.core.MultivaluedMap<String,String> formData) |
AuthenticationManager.AuthResult |
AuthenticationManager.authenticateIdentityCookie(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection connection,
javax.ws.rs.core.HttpHeaders headers) |
AuthenticationManager.AuthResult |
AppAuthManager.authenticateIdentityCookie(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection connection,
javax.ws.rs.core.HttpHeaders headers) |
AuthenticationManager.AuthResult |
AuthenticationManager.authenticateIdentityCookie(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection connection,
javax.ws.rs.core.HttpHeaders headers,
boolean checkActive) |
protected AuthenticationManager.AuthenticationStatus |
AuthenticationManager.authenticateInternal(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.MultivaluedMap<String,String> formData,
String username) |
void |
ApplianceBootstrap.bootstrap(KeycloakSession session,
String contextPath) |
AccessCode |
TokenManager.createAccessCode(String scopeParam,
String state,
String redirect,
KeycloakSession session,
RealmModel realm,
ClientModel client,
UserModel user,
UserSessionModel userSession) |
void |
BruteForceProtector.failure(KeycloakSession session,
BruteForceProtector.LoginEvent event) |
protected RealmModel |
BruteForceProtector.getRealmModel(KeycloakSession session,
BruteForceProtector.LoginEvent event) |
SessionStats |
ResourceAdminManager.getSessionStats(URI requestUri,
KeycloakSession session,
RealmModel realm,
ApplicationModel application,
boolean users) |
SessionStats |
ResourceAdminManager.getSessionStats(URI requestUri,
KeycloakSession session,
RealmModel realm,
ApplicationModel application,
boolean users,
org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client) |
protected UsernameLoginFailureModel |
BruteForceProtector.getUserModel(KeycloakSession session,
BruteForceProtector.LoginEvent event) |
boolean |
BruteForceProtector.isTemporarilyDisabled(KeycloakSession session,
RealmModel realm,
String username) |
static void |
AuthenticationManager.logout(KeycloakSession session,
RealmModel realm,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection connection) |
static AccessCode |
AccessCode.parse(String code,
KeycloakSession session,
RealmModel realm) |
AccessToken |
TokenManager.refreshAccessToken(KeycloakSession session,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection connection,
RealmModel realm,
ClientModel client,
String encodedRefreshToken,
Audit audit) |
protected AuthenticationManager.AuthResult |
AuthenticationManager.verifyIdentityToken(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection connection,
boolean checkActive,
String tokenString) |
Constructor and Description |
---|
AuditManager(RealmModel realm,
KeycloakSession session,
ClientConnection clientConnection) |
RealmManager(KeycloakSession session) |
UserManager(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
TokenService.session |
protected KeycloakSession |
SocialResource.session |
protected KeycloakSession |
RequiredActionsService.session |
protected KeycloakSession |
RealmsResource.session |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
UsersResource.session |
protected KeycloakSession |
UserFederationResource.session |
protected KeycloakSession |
ScopeMappedResource.session |
protected KeycloakSession |
RealmsAdminResource.session |
protected KeycloakSession |
RealmAdminResource.session |
protected KeycloakSession |
OAuthClientsResource.session |
protected KeycloakSession |
OAuthClientResource.session |
protected KeycloakSession |
ApplicationsResource.session |
protected KeycloakSession |
ApplicationResource.session |
protected KeycloakSession |
AdminRoot.session |
protected KeycloakSession |
AdminConsole.session |
Constructor and Description |
---|
ApplicationResource(RealmModel realm,
RealmAuth auth,
ApplicationModel applicationModel,
KeycloakSession session) |
OAuthClientResource(RealmModel realm,
RealmAuth auth,
OAuthClientModel oauthClient,
KeycloakSession session) |
OAuthClientsResource(RealmModel realm,
RealmAuth auth,
KeycloakSession session) |
ScopeMappedResource(RealmModel realm,
RealmAuth auth,
ClientModel client,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
static LoginFormsProvider |
Flows.forms(KeycloakSession session,
RealmModel realm,
ClientModel client,
javax.ws.rs.core.UriInfo uriInfo) |
static OAuthFlows |
Flows.oauth(KeycloakSession session,
RealmModel realm,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection clientConnection,
AuthenticationManager authManager,
TokenManager tokenManager) |
Modifier and Type | Method and Description |
---|---|
void |
ScheduledTask.run(KeycloakSession session) |
void |
ClearExpiredUserSessions.run(KeycloakSession session) |
void |
ClearExpiredAuditEvents.run(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
UsersJob.before(KeycloakSession keycloakSession) |
protected void |
UpdateUsersJob.before(KeycloakSession session) |
protected void |
DeleteUsersJob.before(KeycloakSession session) |
protected void |
CreateUsersJob.before(KeycloakSession session) |
protected abstract void |
UsersJob.runIteration(KeycloakSession session,
RealmModel realm,
Map<String,ApplicationModel> apps,
Set<RoleModel> realmRoles,
Map<String,Set<RoleModel>> appRoles,
int counter) |
protected void |
UpdateUsersJob.runIteration(KeycloakSession session,
RealmModel realm,
Map<String,ApplicationModel> apps,
Set<RoleModel> realmRoles,
Map<String,Set<RoleModel>> appRoles,
int counter) |
protected void |
DeleteUsersJob.runIteration(KeycloakSession session,
RealmModel realm,
Map<String,ApplicationModel> apps,
Set<RoleModel> realmRoles,
Map<String,Set<RoleModel>> appRoles,
int counter) |
protected void |
CreateUsersJob.runIteration(KeycloakSession session,
RealmModel realm,
Map<String,ApplicationModel> apps,
Set<RoleModel> realmRoles,
Map<String,Set<RoleModel>> appRoles,
int counter) |
Modifier and Type | Method and Description |
---|---|
UserFederationProvider |
DummyUserFederationProviderFactory.create(KeycloakSession session) |
UserFederationProvider |
DummyUserFederationProviderFactory.getInstance(KeycloakSession session,
UserFederationProviderModel model) |
Modifier and Type | Method and Description |
---|---|
ThemeProvider |
FolderThemeProviderFactory.create(KeycloakSession sessions) |
ThemeProvider |
DefaultKeycloakThemeProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
TimerProvider |
BasicTimerProviderFactory.create(KeycloakSession session) |
Copyright © 2014. All Rights Reserved.