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 class
BasicAuth.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Map<String,String> requestHeaders)
Called to apply this auth mechanism to the HTTP request headers.String
getPassword()
String
getUsername()
-
-
-
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:Auth
Called to apply this auth mechanism to the HTTP request headers. Typically an implementation would add an "Authorization" header or something similar.- Specified by:
apply
in interfaceAuth
- See Also:
Auth.apply(java.util.Map)
-
-