Modifier and Type | Method and Description |
---|---|
AccountProvider |
AccountProvider.setRealm(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
AccountProvider |
FreeMarkerAccountProvider.setRealm(RealmModel realm) |
Constructor and Description |
---|
AccountSocialBean(RealmModel realm,
UserModel user,
URI baseUri) |
SessionsBean.UserSessionBean(RealmModel realm,
UserSessionModel session) |
SessionsBean(RealmModel realm,
List<UserSessionModel> sessions) |
UrlBean(RealmModel realm,
Theme theme,
URI baseURI,
URI baseQueryURI,
URI currentURI) |
Modifier and Type | Method and Description |
---|---|
Audit |
Audit.realm(RealmModel realm) |
Constructor and Description |
---|
Audit(List<AuditListener> listeners,
RealmModel realm,
String ipAddress) |
Modifier and Type | Method and Description |
---|---|
static AuthenticationProviderModel |
AuthenticationProviderManager.getConfiguredProviderModel(RealmModel realm,
String providerName) |
static AuthenticationProviderManager |
AuthenticationProviderManager.getManager(RealmModel realm,
ProviderSession providerSession) |
AuthUser |
AuthenticationProvider.getUser(RealmModel realm,
Map<String,String> configuration,
String username)
Get user by given username or email.
|
String |
AuthenticationProvider.registerUser(RealmModel realm,
Map<String,String> configuration,
String username)
Try to register user with this authentication provider
|
boolean |
AuthenticationProvider.updateCredential(RealmModel realm,
Map<String,String> configuration,
String username,
String password)
Update credential
|
AuthProviderStatus |
AuthenticationProvider.validatePassword(RealmModel realm,
Map<String,String> configuration,
String username,
String password)
Standard Authentication flow
|
Constructor and Description |
---|
AuthenticationProviderManager(RealmModel realm,
Map<String,AuthenticationProvider> delegates) |
Modifier and Type | Method and Description |
---|---|
RealmModel |
ExternalModelAuthenticationProvider.getRealm(RealmModel currentRealm,
Map<String,String> configuration) |
protected RealmModel |
ModelAuthenticationProvider.getRealm(RealmModel currentRealm,
Map<String,String> config) |
protected abstract RealmModel |
AbstractModelAuthenticationProvider.getRealm(RealmModel currentRealm,
Map<String,String> config) |
Modifier and Type | Method and Description |
---|---|
RealmModel |
ExternalModelAuthenticationProvider.getRealm(RealmModel currentRealm,
Map<String,String> configuration) |
protected RealmModel |
ModelAuthenticationProvider.getRealm(RealmModel currentRealm,
Map<String,String> config) |
protected abstract RealmModel |
AbstractModelAuthenticationProvider.getRealm(RealmModel currentRealm,
Map<String,String> config) |
AuthUser |
AbstractModelAuthenticationProvider.getUser(RealmModel currentRealm,
Map<String,String> config,
String username) |
String |
AbstractModelAuthenticationProvider.registerUser(RealmModel currentRealm,
Map<String,String> config,
String username) |
boolean |
AbstractModelAuthenticationProvider.updateCredential(RealmModel currentRealm,
Map<String,String> config,
String username,
String password) |
AuthProviderStatus |
AbstractModelAuthenticationProvider.validatePassword(RealmModel currentRealm,
Map<String,String> config,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
org.picketlink.idm.IdentityManager |
PicketlinkAuthenticationProvider.getIdentityManager(RealmModel realm) |
AuthUser |
PicketlinkAuthenticationProvider.getUser(RealmModel realm,
Map<String,String> configuration,
String username) |
String |
PicketlinkAuthenticationProvider.registerUser(RealmModel realm,
Map<String,String> configuration,
String username) |
boolean |
PicketlinkAuthenticationProvider.updateCredential(RealmModel realm,
Map<String,String> configuration,
String username,
String password) |
AuthProviderStatus |
PicketlinkAuthenticationProvider.validatePassword(RealmModel realm,
Map<String,String> configuration,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
EmailProvider |
EmailProvider.setRealm(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
EmailProvider |
FreeMarkerEmailProvider.setRealm(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
AuthUser |
PropertiesAuthenticationProvider.getUser(RealmModel realm,
Map<String,String> configuration,
String username) |
String |
PropertiesAuthenticationProvider.registerUser(RealmModel realm,
Map<String,String> configuration,
String username) |
boolean |
PropertiesAuthenticationProvider.updateCredential(RealmModel realm,
Map<String,String> configuration,
String username,
String password) |
AuthProviderStatus |
PropertiesAuthenticationProvider.validatePassword(RealmModel realm,
Map<String,String> configuration,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
LoginFormsProvider |
LoginFormsProvider.setRealm(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
LoginFormsProvider |
FreeMarkerLoginFormsProvider.setRealm(RealmModel realm) |
Constructor and Description |
---|
RealmBean(RealmModel realmModel) |
SocialBean(RealmModel realm,
URI baseURI) |
TotpBean(RealmModel realm,
UserModel user,
URI baseUri) |
UrlBean(RealmModel realm,
Theme theme,
URI baseURI) |
Modifier and Type | Method and Description |
---|---|
static void |
LdapTestUtils.setLdapPassword(ProviderSession providerSession,
RealmModel realm,
String username,
String password) |
void |
LDAPEmbeddedServer.setupLdapInRealm(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
RealmModel |
KeycloakSession.createRealm(String name) |
RealmModel |
KeycloakSession.createRealm(String id,
String name) |
RealmModel |
ClientModel.getRealm() |
RealmModel |
KeycloakSession.getRealm(String id) |
RealmModel |
KeycloakSession.getRealmByName(String name) |
Modifier and Type | Method and Description |
---|---|
List<RealmModel> |
KeycloakSession.getRealms() |
Modifier and Type | Class and Description |
---|---|
class |
RealmAdapter |
Modifier and Type | Field and Description |
---|---|
protected RealmModel |
ClientAdapter.cachedRealm |
protected RealmModel |
RoleAdapter.realm |
protected RealmModel |
RealmAdapter.updated |
Modifier and Type | Field and Description |
---|---|
protected Map<String,RealmModel> |
DefaultCacheKeycloakSession.managedRealms |
Modifier and Type | Method and Description |
---|---|
RealmModel |
NoCacheKeycloakSession.createRealm(String name) |
RealmModel |
DefaultCacheKeycloakSession.createRealm(String name) |
RealmModel |
NoCacheKeycloakSession.createRealm(String id,
String name) |
RealmModel |
DefaultCacheKeycloakSession.createRealm(String id,
String name) |
RealmModel |
ClientAdapter.getRealm() |
RealmModel |
NoCacheKeycloakSession.getRealm(String id) |
RealmModel |
DefaultCacheKeycloakSession.getRealm(String id) |
RealmModel |
NoCacheKeycloakSession.getRealmByName(String name) |
RealmModel |
DefaultCacheKeycloakSession.getRealmByName(String name) |
Modifier and Type | Method and Description |
---|---|
List<RealmModel> |
NoCacheKeycloakSession.getRealms() |
List<RealmModel> |
DefaultCacheKeycloakSession.getRealms() |
Constructor and Description |
---|
ApplicationAdapter(RealmModel cachedRealm,
CachedApplication cached,
CacheKeycloakSession cacheSession,
KeycloakCache cache) |
ClientAdapter(RealmModel cachedRealm,
CachedClient cached,
KeycloakCache cache,
CacheKeycloakSession cacheSession) |
OAuthClientAdapter(RealmModel cachedRealm,
CachedOAuthClient cached,
CacheKeycloakSession cacheSession,
KeycloakCache cache) |
RoleAdapter(CachedRole cached,
KeycloakCache cache,
CacheKeycloakSession session,
RealmModel realm) |
Constructor and Description |
---|
CachedApplication(KeycloakCache cache,
KeycloakSession delegate,
RealmModel realm,
ApplicationModel model) |
CachedClient(KeycloakCache cache,
KeycloakSession delegate,
RealmModel realm,
ClientModel model) |
CachedOAuthClient(KeycloakCache cache,
KeycloakSession delegate,
RealmModel realm,
OAuthClientModel model) |
CachedRealm(KeycloakCache cache,
KeycloakSession delegate,
RealmModel model) |
Modifier and Type | Field and Description |
---|---|
protected RealmModel |
UserAdapter.realm |
protected RealmModel |
RoleAdapter.realm |
protected RealmModel |
ClientAdapter.realm |
Modifier and Type | Method and Description |
---|---|
RealmModel |
JpaKeycloakSession.createRealm(String name) |
RealmModel |
JpaKeycloakSession.createRealm(String id,
String name) |
RealmModel |
ClientAdapter.getRealm() |
RealmModel |
JpaKeycloakSession.getRealm(String id) |
RealmModel |
JpaKeycloakSession.getRealmByName(String name) |
Modifier and Type | Method and Description |
---|---|
List<RealmModel> |
JpaKeycloakSession.getRealms() |
Constructor and Description |
---|
ApplicationAdapter(RealmModel realm,
javax.persistence.EntityManager em,
ApplicationEntity applicationEntity) |
ClientAdapter(RealmModel realm,
ClientEntity entity,
javax.persistence.EntityManager em) |
OAuthClientAdapter(RealmModel realm,
OAuthClientEntity entity,
javax.persistence.EntityManager em) |
RoleAdapter(RealmModel realm,
javax.persistence.EntityManager em,
RoleEntity role) |
UserAdapter(RealmModel realm,
javax.persistence.EntityManager em,
UserEntity user) |
UserSessionAdapter(javax.persistence.EntityManager em,
RealmModel realm,
UserSessionEntity entity) |
Modifier and Type | Method and Description |
---|---|
RealmModel |
MongoKeycloakSession.createRealm(String name) |
RealmModel |
MongoKeycloakSession.createRealm(String id,
String name) |
RealmModel |
ClientAdapter.getRealm() |
RealmModel |
MongoKeycloakSession.getRealm(String id) |
RealmModel |
MongoKeycloakSession.getRealmByName(String name) |
Modifier and Type | Method and Description |
---|---|
List<RealmModel> |
MongoKeycloakSession.getRealms() |
Modifier and Type | Method and Description |
---|---|
static UserModel |
KeycloakModelUtils.findUserByNameOrEmail(RealmModel realm,
String username)
Try to find user by given username.
|
Modifier and Type | Method and Description |
---|---|
org.picketlink.idm.IdentityManager |
AbstractIdentityManagerProvider.getIdentityManager(RealmModel realm) |
org.picketlink.idm.IdentityManager |
IdentityManagerProvider.getIdentityManager(RealmModel realm) |
protected abstract org.picketlink.idm.PartitionManager |
AbstractIdentityManagerProvider.getPartitionManager(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
protected org.picketlink.idm.PartitionManager |
RealmIdentityManagerProvider.getPartitionManager(RealmModel realm) |
org.picketlink.idm.PartitionManager |
PartitionManagerRegistry.getPartitionManager(RealmModel realm) |
Modifier and Type | Field and Description |
---|---|
protected RealmModel |
OAuthClientManager.realm |
protected RealmModel |
AccessCodeEntry.realm |
Modifier and Type | Method and Description |
---|---|
RealmModel |
RealmManager.createRealm(String name) |
RealmModel |
RealmManager.createRealm(String id,
String name) |
RealmModel |
RealmManager.getKeycloakAdminstrationRealm() |
RealmModel |
AccessCodeEntry.getRealm() |
RealmModel |
Auth.getRealm() |
RealmModel |
RealmManager.getRealm(String id) |
RealmModel |
RealmManager.getRealmByName(String name) |
protected RealmModel |
BruteForceProtector.getRealmModel(KeycloakSession session,
BruteForceProtector.LoginEvent event) |
RealmModel |
RealmManager.importRealm(RealmRepresentation rep) |
Modifier and Type | Method and Description |
---|---|
void |
RealmManager.addComposites(RoleModel role,
RoleRepresentation roleRep,
RealmModel realm) |
void |
RealmManager.addRequiredCredential(RealmModel newRealm,
String requiredCred) |
AuthenticationManager.AuthResult |
AppAuthManager.authenticateBearerToken(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
AuthenticationManager.AuthenticationStatus |
AuthenticationManager.authenticateForm(ClientConnection clientConnection,
RealmModel realm,
javax.ws.rs.core.MultivaluedMap<String,String> formData) |
AuthenticationManager.AuthResult |
AppAuthManager.authenticateIdentityCookie(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
AuthenticationManager.AuthResult |
AuthenticationManager.authenticateIdentityCookie(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
AuthenticationManager.AuthResult |
AuthenticationManager.authenticateIdentityCookie(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers,
boolean checkActive) |
protected AuthenticationManager.AuthenticationStatus |
AuthenticationManager.authenticateInternal(RealmModel realm,
javax.ws.rs.core.MultivaluedMap<String,String> formData,
String username) |
AccessCodeEntry |
TokenManager.createAccessCode(String scopeParam,
String state,
String redirect,
RealmModel realm,
ClientModel client,
UserModel user,
UserSessionModel session) |
ApplicationModel |
ApplicationManager.createApplication(RealmModel realm,
ApplicationRepresentation resourceRep)
Does not create scope or role mappings!
|
ApplicationModel |
ApplicationManager.createApplication(RealmModel realm,
String name) |
protected Map<String,ApplicationModel> |
RealmManager.createApplications(RealmRepresentation rep,
RealmModel realm) |
AccessToken |
TokenManager.createClientAccessToken(String scopeParam,
RealmModel realm,
ClientModel client,
UserModel user,
UserSessionModel session) |
AccessToken |
TokenManager.createClientAccessToken(String scopeParam,
RealmModel realm,
ClientModel client,
UserModel user,
UserSessionModel session,
List<RoleModel> realmRolesRequested,
javax.ws.rs.core.MultivaluedMap<String,RoleModel> resourceRolesRequested) |
AccessToken |
AuthenticationManager.createIdentityToken(RealmModel realm,
UserModel user,
UserSessionModel session) |
void |
AuthenticationManager.createLoginCookie(RealmModel realm,
UserModel user,
UserSessionModel session,
javax.ws.rs.core.UriInfo uriInfo,
boolean rememberMe) |
protected void |
RealmManager.createOAuthClients(RealmRepresentation realmRep,
RealmModel realm) |
void |
AuthenticationManager.createRememberMeCookie(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
void |
RealmManager.createRole(RealmModel newRealm,
ApplicationModel app,
RoleRepresentation roleRep) |
void |
RealmManager.createRole(RealmModel newRealm,
RoleRepresentation roleRep) |
void |
ApplicationManager.createRoleMappings(RealmModel realm,
ApplicationModel applicationModel,
List<UserRoleMappingRepresentation> mappings) |
void |
ApplicationManager.createScopeMappings(RealmModel realm,
ApplicationModel applicationModel,
List<ScopeMappingRepresentation> mappings) |
UserModel |
RealmManager.createUser(RealmModel newRealm,
UserRepresentation userRep) |
String |
TokenManager.encodeToken(RealmModel realm,
Object token) |
protected String |
AuthenticationManager.encodeToken(RealmModel realm,
Object token) |
static void |
AuthenticationManager.expireCookie(RealmModel realm,
String cookieName,
String path,
boolean httpOnly) |
static void |
AuthenticationManager.expireIdentityCookie(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
static void |
AuthenticationManager.expireRememberMeCookie(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
void |
BruteForceProtector.failedLogin(RealmModel realm,
String username,
ClientConnection clientConnection) |
void |
RealmManager.generateRealmKeys(RealmModel realm) |
protected static String |
AuthenticationManager.getIdentityCookiePath(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
String |
RealmManager.getMasterRealmAdminApplicationName(RealmModel realm) |
String |
RealmManager.getRealmAdminApplicationName(RealmModel realm) |
SessionStats |
ResourceAdminManager.getSessionStats(URI requestUri,
RealmModel realm,
ApplicationModel application,
boolean users) |
SessionStats |
ResourceAdminManager.getSessionStats(URI requestUri,
RealmModel realm,
ApplicationModel application,
boolean users,
org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client) |
UserStats |
ResourceAdminManager.getUserStats(URI requestUri,
RealmModel realm,
ApplicationModel application,
UserModel user) |
UserStats |
ResourceAdminManager.getUserStats(URI requestUri,
RealmModel realm,
ApplicationModel application,
UserModel user,
org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client) |
void |
RealmManager.importRealm(RealmRepresentation rep,
RealmModel newRealm) |
protected IDToken |
TokenManager.initIDToken(RealmModel realm,
ClientModel claimer,
UserModel client,
UserModel user) |
protected AccessToken |
TokenManager.initToken(RealmModel realm,
ClientModel client,
UserModel user,
UserSessionModel session) |
void |
BruteForceProtector.invalidUser(RealmModel realm,
String username,
ClientConnection clientConnection) |
static boolean |
AuthenticationManager.isSessionValid(RealmModel realm,
UserSessionModel session) |
boolean |
BruteForceProtector.isTemporarilyDisabled(RealmModel realm,
String username) |
static void |
AuthenticationManager.logout(RealmModel realm,
UserSessionModel session,
javax.ws.rs.core.UriInfo uriInfo) |
void |
ResourceAdminManager.logoutAll(URI requestUri,
RealmModel realm) |
void |
ResourceAdminManager.logoutApplication(URI requestUri,
RealmModel realm,
ApplicationModel resource,
String user,
String session) |
protected boolean |
ResourceAdminManager.logoutApplication(URI requestUri,
RealmModel realm,
ApplicationModel resource,
String user,
String session,
org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client,
int notBefore) |
void |
ResourceAdminManager.logoutSession(URI requestUri,
RealmModel realm,
String session) |
void |
ResourceAdminManager.logoutUser(URI requestUri,
RealmModel realm,
String user,
String session) |
void |
ResourceAdminManager.pushApplicationRevocationPolicy(URI requestUri,
RealmModel realm,
ApplicationModel application) |
void |
ResourceAdminManager.pushRealmRevocationPolicy(URI requestUri,
RealmModel realm) |
protected boolean |
ResourceAdminManager.pushRevocationPolicy(URI requestUri,
RealmModel realm,
ApplicationModel resource,
int notBefore,
org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client) |
AccessToken |
TokenManager.refreshAccessToken(javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm,
ClientModel client,
String encodedRefreshToken,
Audit audit) |
boolean |
RealmManager.removeRealm(RealmModel realm) |
TokenManager.AccessTokenResponseBuilder |
TokenManager.responseBuilder(RealmModel realm,
ClientModel client,
Audit audit) |
List<UserModel> |
RealmManager.searchUsers(String searchString,
RealmModel realmModel)
Query users based on a search string:
"Bill Burke" first and last name
"bburke@redhat.com" email
"Burke" lastname or username
|
void |
AccessCodeEntry.setRealm(RealmModel realm) |
protected void |
RealmManager.setupAdminConsole(RealmModel realm) |
protected void |
RealmManager.setupRealmDefaults(RealmModel realm) |
void |
BruteForceProtector.successfulLogin(RealmModel realm,
String username,
ClientConnection clientConnection) |
static RealmAuditRepresentation |
ModelToRepresentation.toAuditReprensetation(RealmModel realm) |
ApplicationManager.InstallationAdapterConfig |
ApplicationManager.toInstallationRepresentation(RealmModel realmModel,
ApplicationModel applicationModel,
URI baseUri) |
OAuthClientManager.InstallationAdapterConfig |
OAuthClientManager.toInstallationRepresentation(RealmModel realmModel,
OAuthClientModel model,
URI baseUri) |
String |
ApplicationManager.toJBossSubsystemConfig(RealmModel realmModel,
ApplicationModel applicationModel,
URI baseUri) |
static RealmRepresentation |
ModelToRepresentation.toRepresentation(RealmModel realm) |
void |
RealmManager.updateRealm(RealmRepresentation rep,
RealmModel realm) |
void |
RealmManager.updateRealmAudit(RealmAuditRepresentation rep,
RealmModel realm) |
protected AuthenticationManager.AuthResult |
AuthenticationManager.verifyIdentityToken(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
boolean checkActive,
String tokenString) |
Constructor and Description |
---|
AuditManager(RealmModel realm,
ProviderSession providers,
ClientConnection clientConnection) |
Auth(RealmModel realm,
AccessToken token,
UserModel user,
ClientModel client,
boolean cookie) |
OAuthClientManager(RealmModel realm) |
TokenManager.AccessTokenResponseBuilder(RealmModel realm,
ClientModel client,
Audit audit) |
Modifier and Type | Field and Description |
---|---|
protected RealmModel |
TokenService.realm |
protected RealmModel |
PublicRealmResource.realm |
Modifier and Type | Method and Description |
---|---|
protected RealmModel |
RealmsResource.locateRealm(String name,
RealmManager realmManager) |
Modifier and Type | Method and Description |
---|---|
static PublishedRealmRepresentation |
PublicRealmResource.realmRep(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
static String |
TokenService.verifyRedirectUri(javax.ws.rs.core.UriInfo uriInfo,
String redirectUri,
RealmModel realm,
ClientModel client) |
Constructor and Description |
---|
AccountService(RealmModel realm,
ApplicationModel application,
Audit audit) |
PublicRealmResource(RealmModel realm) |
RequiredActionsService(RealmModel realm,
TokenManager tokenManager,
Audit audit) |
TokenService(RealmModel realm,
TokenManager tokenManager,
Audit audit,
AuthenticationManager authManager) |
Modifier and Type | Field and Description |
---|---|
protected RealmModel |
OAuthClientResource.realm |
protected RealmModel |
AdminConsole.realm |
protected RealmModel |
ApplicationResource.realm |
protected RealmModel |
UsersResource.realm |
protected RealmModel |
RoleResource.realm |
protected RealmModel |
OAuthClientsResource.realm |
protected RealmModel |
RealmAdminResource.realm |
protected RealmModel |
ScopeMappedResource.realm |
protected RealmModel |
ApplicationsResource.realm |
Modifier and Type | Method and Description |
---|---|
protected RealmModel |
AdminConsole.getAdminstrationRealm(RealmManager realmManager) |
RealmModel |
AdminAuth.getRealm() |
protected RealmModel |
AdminRoot.locateRealm(String name,
RealmManager realmManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
RealmsAdminResource.addRealmRep(List<RealmRepresentation> reps,
RealmModel realm,
ApplicationModel realmManagementApplication) |
Modifier and Type | Method and Description |
---|---|
static LoginFormsProvider |
Flows.forms(ProviderSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
static OAuthFlows |
Flows.oauth(ProviderSession session,
RealmModel realm,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
AuthenticationManager authManager,
TokenManager tokenManager) |
static SocialRedirectFlows |
Flows.social(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
SocialProvider provider) |
Copyright © 2014. All Rights Reserved.