public static interface HttpAuthenticationFeature.UniversalBuilder extends HttpAuthenticationFeature.Builder
HttpAuthenticationFeature.Builder
that builds the http authentication feature configured in universal mode that supports
basic and digest authentication.Modifier and Type | Method and 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.
|
build, credentials, credentials
HttpAuthenticationFeature.UniversalBuilder credentialsForBasic(java.lang.String username, java.lang.String password)
username
- Username.password
- Password as String
.HttpAuthenticationFeature.UniversalBuilder credentialsForBasic(java.lang.String username, byte[] password)
username
- Username.password
- Password as byte array
.HttpAuthenticationFeature.UniversalBuilder credentialsForDigest(java.lang.String username, java.lang.String password)
username
- Username.password
- Password as String
.HttpAuthenticationFeature.UniversalBuilder credentialsForDigest(java.lang.String username, byte[] password)
username
- Username.password
- Password as byte array
.