Class RequestIds
java.lang.Object
zeroecho.pki.server.http.RequestIds
Strict opaque request-correlation identity policy.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
HEADER
-
-
Method Details
-
resolve
Validates a supplied correlation identifier or generates a random one. This identifier conveys no authentication or authorization.- Parameters:
supplied- header values; null or empty requests a fresh identifier- Returns:
- the single supplied identifier or a new 144-bit URL-safe identifier
- Throws:
IllegalArgumentException- if multiple values are supplied, or the value is not 16–128 ASCII letters, digits, underscores or hyphensNullPointerException- if the sole supplied value is null
-