keycloak
|
公開メンバ関数 | |
RealmAdminResource (AdminPermissionEvaluator auth, RealmModel realm, TokenManager tokenManager, AdminEventBuilder adminEvent) | |
ClientRepresentation | convertClientDescription (String description) |
AttackDetectionResource | getAttackDetection () |
ClientsResource | getClients () |
ClientScopesResource | getClientTemplates () |
ClientScopesResource | getClientScopes () |
List< ClientScopeRepresentation > | getDefaultDefaultClientScopes () |
void | addDefaultDefaultClientScope (@PathParam("clientScopeId") String clientScopeId) |
void | removeDefaultDefaultClientScope (@PathParam("clientScopeId") String clientScopeId) |
List< ClientScopeRepresentation > | getDefaultOptionalClientScopes () |
void | addDefaultOptionalClientScope (@PathParam("clientScopeId") String clientScopeId) |
void | removeDefaultOptionalClientScope (@PathParam("clientScopeId") String clientScopeId) |
ClientInitialAccessResource | getClientInitialAccess () |
ClientRegistrationPolicyResource | getClientRegistrationPolicy () |
ComponentResource | getComponents () |
RoleContainerResource | getRoleContainerResource () |
RealmRepresentation | getRealm () |
Response | updateRealm (final RealmRepresentation rep) |
void | deleteRealm () |
UsersResource | users () |
ManagementPermissionReference | getUserMgmtPermissions () |
ManagementPermissionReference | setUsersManagementPermissionsEnabled (ManagementPermissionReference ref) |
UserStorageProviderResource | userStorage () |
AuthenticationManagementResource | flows () |
RoleByIdResource | rolesById () |
GlobalRequestResult | pushRevocation () |
GlobalRequestResult | logoutAll () |
void | deleteSession (@PathParam("session") String sessionId) |
List< Map< String, String > > | getClientSessionStats () |
RealmEventsConfigRepresentation | getRealmEventsConfig () |
void | updateRealmEventsConfig (final RealmEventsConfigRepresentation rep) |
List< EventRepresentation > | getEvents (@QueryParam("type") List< String > types, @QueryParam("client") String client, @QueryParam("user") String user, @QueryParam("dateFrom") String dateFrom, @QueryParam("dateTo") String dateTo, @QueryParam("ipAddress") String ipAddress, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults) |
List< AdminEventRepresentation > | getEvents (@QueryParam("operationTypes") List< String > operationTypes, @QueryParam("authRealm") String authRealm, @QueryParam("authClient") String authClient, @QueryParam("authUser") String authUser, @QueryParam("authIpAddress") String authIpAddress, @QueryParam("resourcePath") String resourcePath, @QueryParam("dateFrom") String dateFrom, @QueryParam("dateTo") String dateTo, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults, @QueryParam("resourceTypes") List< String > resourceTypes) |
void | clearEvents () |
void | clearAdminEvents () |
Response | testLDAPConnection (@FormParam("action") String action, @FormParam("connectionUrl") String connectionUrl, @FormParam("bindDn") String bindDn, @FormParam("bindCredential") String bindCredential, @FormParam("useTruststoreSpi") String useTruststoreSpi, @FormParam("connectionTimeout") String connectionTimeout, @FormParam("componentId") String componentId) |
Response | testSMTPConnection (final @PathParam("config") String config) throws Exception |
IdentityProvidersResource | getIdentityProviderResource () |
List< GroupRepresentation > | getDefaultGroups () |
void | addDefaultGroup (@PathParam("groupId") String groupId) |
void | removeDefaultGroup (@PathParam("groupId") String groupId) |
GroupsResource | getGroups () |
GroupRepresentation | getGroupByPath (@PathParam("path") String path) |
Response | partialImport (PartialImportRepresentation rep) |
RealmRepresentation | partialExport (@QueryParam("exportGroupsAndRoles") Boolean exportGroupsAndRoles, @QueryParam("exportClients") Boolean exportClients) |
void | clearRealmCache () |
void | clearUserCache () |
void | clearKeysCache () |
KeyResource | keys () |
静的公開メンバ関数 | |
static ManagementPermissionReference | toUsersMgmtRef (AdminPermissionManagement permissions) |
限定公開変数類 | |
AdminPermissionEvaluator | auth |
RealmModel | realm |
KeycloakSession | session |
ClientConnection | connection |
HttpHeaders | headers |
静的限定公開変数類 | |
static final Logger | logger = Logger.getLogger(RealmAdminResource.class) |
非公開メンバ関数 | |
List< ClientScopeRepresentation > | getDefaultClientScopes (boolean defaultScope) |
void | addDefaultClientScope (String clientScopeId, boolean defaultScope) |
List< EventRepresentation > | toEventListRep (List< Event > events) |
List< AdminEventRepresentation > | toAdminEventRep (List< AdminEvent > events) |
非公開変数類 | |
TokenManager | tokenManager |
AdminEventBuilder | adminEvent |
Base resource class for the admin REST api of one realm
Realms Admin
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
Delete all admin events
|
inline |
Delete all events
|
inline |
Clear cache of external public keys (Public keys of clients or Identity providers)
|
inline |
Clear realm cache
|
inline |
Clear user cache
|
inline |
Base path for importing clients under this realm.
|
inline |
Delete the realm
|
inline |
Remove a specific user session. Any client that has an admin url will also be told to invalidate this particular session.
sessionId |
|
inline |
|
inline |
Base path for managing attack detection.
|
inline |
Base path for managing client initial access tokens
|
inline |
|
inline |
Base path for managing clients under this realm.
|
inline |
Base path for managing client scopes under this realm.
|
inline |
Get client session stats
Returns a JSON map. The key is the client id, the value is the number of sessions that currently are active with that client. Only clients that actually have a session associated with them will be in this map.
|
inline |
This endpoint is deprecated. It's here just because of backwards compatibility. Use getClientScopes() instead
|
inline |
Base path for managing components under this realm.
|
inlineprivate |
|
inline |
Get realm default client scopes. Only name and ids are returned.
|
inline |
Get group hierarchy. Only name and ids are returned.
|
inline |
Get realm optional client scopes. Only name and ids are returned.
|
inline |
Get events
Returns all events, or filters them based on URL query parameters listed here
types | The types of events to return |
client | App or oauth client name |
user | User id |
ipAddress | IP address |
dateTo | To date |
dateFrom | From date |
firstResult | Paging offset |
maxResults | Maximum results size (defaults to 100) |
|
inline |
Get admin events
Returns all admin events, or filters events based on URL query parameters listed here
operationTypes | |
authRealm | |
authClient | |
authUser | user id |
authIpAddress | |
resourcePath | |
dateTo | |
dateFrom | |
firstResult | |
maxResults | Maximum results size (defaults to 100) |
|
inline |
|
inline |
|
inline |
|
inline |
Get the top-level representation of the realm
It will not include nested information like User and Client representations.
|
inline |
Get the events provider configuration
Returns JSON object with events provider configuration
|
inline |
base path for managing realm-level roles of this realm
|
inline |
|
inline |
|
inline |
Removes all user sessions. Any client that has an admin url will also be told to invalidate any sessions they have.
|
inline |
Partial export of existing realm into a JSON file.
exportGroupsAndRoles | |
exportClients |
|
inline |
Partial import from a JSON file to an existing realm.
rep |
|
inline |
Push the realm's revocation policy to any client that has an admin url associated with it.
|
inline |
|
inline |
|
inline |
|
inline |
Path for managing all realm-level or client-level roles defined in this realm by its id.
|
inline |
|
inline |
Test LDAP connection
action | |
connectionUrl | |
bindDn | |
bindCredential |
|
inline |
Test SMTP connection with current logged in user
config | SMTP server configuration |
Exception |
|
inlineprivate |
|
inlineprivate |
|
inlinestatic |
|
inline |
Update the top-level information of the realm
Any user, roles or client information in the representation will be ignored. This will only update top-level attributes of the realm.
rep |
|
inline |
Update the events provider
Change the events provider and/or its configuration
rep |
|
inline |
Base path for managing users in this realm.
|
inline |
|
private |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
private |