Search in sources :

Example 1 with AccountLoader

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;
}
Also used : RealmModel(org.keycloak.models.RealmModel) EventBuilder(org.keycloak.events.EventBuilder) AccountLoader(org.keycloak.services.resources.account.AccountLoader) Path(javax.ws.rs.Path)

Aggregations

Path (javax.ws.rs.Path)1 EventBuilder (org.keycloak.events.EventBuilder)1 RealmModel (org.keycloak.models.RealmModel)1 AccountLoader (org.keycloak.services.resources.account.AccountLoader)1