use of org.keycloak.services.resources.account.AccountLoader in project keycloak by keycloak.
the class RealmsResource method getAccountService.
@Path("{realm}/account")
public Object getAccountService(@PathParam("realm") final String name) {
RealmModel realm = init(name);
EventBuilder event = new EventBuilder(realm, session, clientConnection);
AccountLoader accountLoader = new AccountLoader(session, event);
ResteasyProviderFactory.getInstance().injectProperties(accountLoader);
return accountLoader;
}
Aggregations