Class StaticUserId
java.lang.Object
org.springframework.vault.authentication.StaticUserId
- All Implemented Interfaces:
AppIdUserIdMechanism
A static UserId.
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a UserId for AppId authentication.
-
Constructor Details
-
StaticUserId
Create a newStaticUserId
for a givenuserId
.- Parameters:
userId
- must not be empty or null.
-
-
Method Details
-
createUserId
Description copied from interface:AppIdUserIdMechanism
Create a UserId for AppId authentication.- Specified by:
createUserId
in interfaceAppIdUserIdMechanism
- Returns:
- the UserId.
-