Package io.apicurio.registry.auth
Class BasicAuth
- java.lang.Object
-
- io.apicurio.registry.auth.BasicAuth
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBasicAuth.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Map<String,String> requestHeaders)Called to apply this auth mechanism to the HTTP request headers.StringgetPassword()StringgetUsername()
-
-
-
Field Detail
-
BASIC
public static final String BASIC
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
apply
public void apply(Map<String,String> requestHeaders)
Description copied from interface:AuthCalled to apply this auth mechanism to the HTTP request headers. Typically an implementation would add an "Authorization" header or something similar.- Specified by:
applyin interfaceAuth- See Also:
Auth.apply(java.util.Map)
-
-