@Service(value="userIdService") public class UserIdService extends Object
PortletRequest.getRemoteUser as a userId.
Unauthenticated users, however, need a different strategy. Users who aren't authenticated will
have null for both getRemoteUser and the USER_INFO map. We
need to differentiate them (in the case of multiple guest users) based on the role(s) they belong
to.| Constructor and Description |
|---|
UserIdService() |
| Modifier and Type | Method and Description |
|---|---|
String |
getUserId(javax.portlet.PortletRequest req)
getUserId.
|
void |
init()
init.
|
@PostConstruct public void init()
init.
Copyright © 2023 Jasig, Inc.. All rights reserved.