Class BasicAuthCredentials

java.lang.Object
org.refcodes.web.BasicCredentials
org.refcodes.web.BasicAuthCredentials
All Implemented Interfaces:
org.refcodes.mixin.CredentialsAccessor, org.refcodes.mixin.IdentityAccessor, org.refcodes.mixin.SecretAccessor, org.refcodes.mixin.Validatable<BasicCredentials>, AuthTypeAccessor, AuthTypeCredentials<BasicAuthCredentials,BasicCredentials>
Direct Known Subclasses:
BasicAuthCredentialsBuilder

public class BasicAuthCredentials extends BasicCredentials implements AuthTypeCredentials<BasicAuthCredentials,BasicCredentials>
The BasicAuthCredentials defines a type for representing a Basic-Authentication credentials Header-Field. Parse the Header-Field via fromHttpAuthorization(String) and feed it with the header's HeaderField.AUTHORIZATION field's value. To create the according Header-Field's value from the BasicAuthCredentials type, call toHttpAuthorization().