Interface HttpAuthenticationFeature.UniversalBuilder
-
- All Superinterfaces:
HttpAuthenticationFeature.Builder
- Enclosing class:
- HttpAuthenticationFeature
public static interface HttpAuthenticationFeature.UniversalBuilder extends HttpAuthenticationFeature.Builder
Extension ofHttpAuthenticationFeature.Builderthat builds the http authentication feature configured in universal mode that supports basic and digest authentication.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpAuthenticationFeature.UniversalBuildercredentialsForBasic(String username, byte[] password)Set credentials that will be used for basic authentication only.HttpAuthenticationFeature.UniversalBuildercredentialsForBasic(String username, String password)Set credentials that will be used for basic authentication only.HttpAuthenticationFeature.UniversalBuildercredentialsForDigest(String username, byte[] password)Set credentials that will be used for digest authentication only.HttpAuthenticationFeature.UniversalBuildercredentialsForDigest(String username, String password)Set credentials that will be used for digest authentication only.-
Methods inherited from interface org.glassfish.jersey.client.authentication.HttpAuthenticationFeature.Builder
build, credentials, credentials
-
-
-
-
Method Detail
-
credentialsForBasic
HttpAuthenticationFeature.UniversalBuilder credentialsForBasic(String username, String password)
Set credentials that will be used for basic authentication only.- Parameters:
username- Username.password- Password asString.- Returns:
- This builder.
-
credentialsForBasic
HttpAuthenticationFeature.UniversalBuilder credentialsForBasic(String username, byte[] password)
Set credentials that will be used for basic authentication only.- Parameters:
username- Username.password- Password asbyte array.- Returns:
- This builder.
-
credentialsForDigest
HttpAuthenticationFeature.UniversalBuilder credentialsForDigest(String username, String password)
Set credentials that will be used for digest authentication only.- Parameters:
username- Username.password- Password asString.- Returns:
- This builder.
-
credentialsForDigest
HttpAuthenticationFeature.UniversalBuilder credentialsForDigest(String username, byte[] password)
Set credentials that will be used for digest authentication only.- Parameters:
username- Username.password- Password asbyte array.- Returns:
- This builder.
-
-