| Package | Description |
|---|---|
| org.hawkular.accounts.api |
Provides the main API for Hawkular components intending to perform permission checking and authorization procedures.
|
| org.hawkular.accounts.api.internal.impl |
| Modifier and Type | Method and Description |
|---|---|
HawkularUser |
UserService.getById(String id)
Retrieves an
HawkularUser based in its ID. |
HawkularUser |
UserService.getCurrent()
Retrieves the current user for the request.
|
HawkularUser |
UserService.getOrCreateById(String id)
Retrieves an
HawkularUser based on its ID. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PersonaService.isAllowedToImpersonate(HawkularUser actual,
Persona toImpersonate)
Checks if the current user is allowed to impersonate the given persona.
|
| Modifier and Type | Method and Description |
|---|---|
HawkularUser |
UserServiceImpl.getById(String id) |
HawkularUser |
UserServiceImpl.getCurrent() |
HawkularUser |
UserServiceImpl.getOrCreateById(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PersonaServiceImpl.isAllowedToImpersonate(HawkularUser actual,
Persona toImpersonate) |
Copyright © 2015 Red Hat, Inc.. All rights reserved.