public interface CrossAppAuthService
CrossAppAdminAuthService
Modifier and Type | Field and Description |
---|---|
static String |
AUTH_FROM_ADMIN_SESSION_VAR |
static String |
AUTH_FROM_ADMIN_URL_PARAM |
Modifier and Type | Method and Description |
---|---|
Long |
getCurrentAuthedAdminId() |
boolean |
hasCsrPermission() |
boolean |
hasQuotePermission() |
boolean |
isAuthedFromAdmin() |
void |
useSiteAuthToken(Long adminUserId,
String token)
Consumes an authentication token for the given user id and token.
|
static final String AUTH_FROM_ADMIN_URL_PARAM
static final String AUTH_FROM_ADMIN_SESSION_VAR
void useSiteAuthToken(Long adminUserId, String token) throws IllegalArgumentException
RedirectAttributes
argument) as having an admin authentication for the
given adminUserId.adminUserId
- token
- ra
- IllegalArgumentException
boolean isAuthedFromAdmin()
Long getCurrentAuthedAdminId()
boolean hasCsrPermission()
boolean hasQuotePermission()
Copyright © 2022. All rights reserved.