public final class BasicAuthUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<UsernamePasswordCredentials> |
parseCredentials(java.lang.String authorization) |
@NonNull public static java.util.Optional<UsernamePasswordCredentials> parseCredentials(@NonNull java.lang.String authorization)
authorization
- Authorization HTTP Header valueUsernamePasswordCredentials
or an empty optional if not possible.