public class DefaultBasicAuthenticationFacade extends Object implements BasicAuthenticationFacade
BasicAuthenticationAccessorreading the username and password from the current
ThreadContextor, after that, from the currently incoming request and returning it as a
|Constructor and Description|
|Modifier and Type||Method and Description|
Retrieves the username password pair and returns them as
@Nonnull public io.vavr.control.Try<BasicCredentials> tryGetBasicCredentials()
Try.Success. If they could not be retrieved or an error occurred while parsing them a
Try.Failurecontaining the exception will be returned.
Trycontaining either the retrieved
Copyright © 2021 SAP SE. All rights reserved.