Interface HttpAuthenticationFeature.UniversalBuilder
-
- All Superinterfaces:
HttpAuthenticationFeature.Builder
- All Known Implementing Classes:
HttpAuthenticationFeature.BuilderImpl
- Enclosing class:
- HttpAuthenticationFeature
public static interface HttpAuthenticationFeature.UniversalBuilder extends HttpAuthenticationFeature.Builder
Extension ofHttpAuthenticationFeature.Builder
that 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.UniversalBuilder
credentialsForBasic(java.lang.String username, byte[] password)
Set credentials that will be used for basic authentication only.HttpAuthenticationFeature.UniversalBuilder
credentialsForBasic(java.lang.String username, java.lang.String password)
Set credentials that will be used for basic authentication only.HttpAuthenticationFeature.UniversalBuilder
credentialsForDigest(java.lang.String username, byte[] password)
Set credentials that will be used for digest authentication only.HttpAuthenticationFeature.UniversalBuilder
credentialsForDigest(java.lang.String username, java.lang.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(java.lang.String username, java.lang.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(java.lang.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(java.lang.String username, java.lang.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(java.lang.String username, byte[] password)
Set credentials that will be used for digest authentication only.- Parameters:
username
- Username.password
- Password asbyte array
.- Returns:
- This builder.
-
-