Class BasicAuthProperties.Builder
- java.lang.Object
-
- org.bremersee.security.authentication.BasicAuthProperties.Builder
-
- Enclosing interface:
- BasicAuthProperties
public static class BasicAuthProperties.Builder extends Object
The basic auth properties builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicAuthProperties
build()
Build basic auth properties.BasicAuthProperties.Builder
password(String password)
Sets password on builder.BasicAuthProperties.Builder
username(String username)
Sets username on builder.
-
-
-
Method Detail
-
username
public BasicAuthProperties.Builder username(String username)
Sets username on builder.- Parameters:
username
- the username- Returns:
- the builder
-
password
public BasicAuthProperties.Builder password(String password)
Sets password on builder.- Parameters:
password
- the password- Returns:
- the builder
-
build
public BasicAuthProperties build()
Build basic auth properties.- Returns:
- the basic auth properties
-
-