public interface UserInfoProvider
UserInfoProvider
provides the UserInfo
for a RequestContext
if not provided explicitly.
It can get access to the determined AuthenticationInfo
from the AuthenticationInfoProvider
through CdsRuntime.getProvidedAuthenticationInfo()
.Modifier and Type | Method and Description |
---|---|
UserInfo |
get()
Provides the
UserInfo . |
default void |
setPrevious(UserInfoProvider previous)
Passes the latest configured
UserInfoProvider during configuration phase when this instances gets registered. |
default void setPrevious(UserInfoProvider previous)
UserInfoProvider
during configuration phase when this instances gets registered.
The previous provider can be used to build an adapted provider on top.previous
- The previously registered provider.Copyright © 2022. All rights reserved.