Class IpAddressUserId
java.lang.Object
org.springframework.vault.authentication.IpAddressUserId
- All Implemented Interfaces:
AppIdUserIdMechanism
Mechanism to generate a SHA-256 hashed and hex-encoded representation of the IP
address. Can be calculated with
echo -n 192.168.99.1 | sha256sum
.- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a UserId for AppId authentication.
-
Constructor Details
-
IpAddressUserId
public IpAddressUserId()
-
-
Method Details
-
createUserId
Description copied from interface:AppIdUserIdMechanism
Create a UserId for AppId authentication.- Specified by:
createUserId
in interfaceAppIdUserIdMechanism
- Returns:
- the UserId.
-