Interface HttpAuthenticationFeature.Builder
-
- All Known Subinterfaces:
HttpAuthenticationFeature.BasicBuilder,HttpAuthenticationFeature.UniversalBuilder
- Enclosing class:
- HttpAuthenticationFeature
public static interface HttpAuthenticationFeature.BuilderBuilder that creates instances ofHttpAuthenticationFeature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpAuthenticationFeaturebuild()Build the feature.HttpAuthenticationFeature.Buildercredentials(String username, byte[] password)Set credentials.HttpAuthenticationFeature.Buildercredentials(String username, String password)Set credentials.
-
-
-
Method Detail
-
credentials
HttpAuthenticationFeature.Builder credentials(String username, byte[] password)
Set credentials.- Parameters:
username- Username.password- Password as byte array.- Returns:
- This builder.
-
credentials
HttpAuthenticationFeature.Builder credentials(String username, String password)
Set credentials.- Parameters:
username- Username.password- Password asString.- Returns:
- This builder.
-
build
HttpAuthenticationFeature build()
Build the feature.- Returns:
- Http authentication feature configured from this builder.
-
-