T - the class consumed by this handlerpublic interface IdVaultTokenHandler<T> extends UserTokenHandler<T>
IdVault.getUserIdWithToken(Object, String) and retrieve
a UserId implementation.| Modifier and Type | Method and Description |
|---|---|
Optional<UserId> |
getUserId(T token,
String serverName,
IdVault contextIdVault)
Processes the provided token object to look up a
UserId representation. |
canProcessOptional<UserId> getUserId(T token, String serverName, IdVault contextIdVault)
UserId representation.
This method is potentially called when UserTokenHandler.canProcess(Object) returns true
and should either:
Optional describing a user ID if found,Copyright © 2019–2021 HCL. All rights reserved.