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(String username,
byte[] password)
Set credentials that will be used for basic authentication only.
|
HttpAuthenticationFeature.UniversalBuilder |
credentialsForBasic(String username,
String password)
Set credentials that will be used for basic authentication only.
|
HttpAuthenticationFeature.UniversalBuilder |
credentialsForDigest(String username,
byte[] password)
Set credentials that will be used for digest authentication only.
|
HttpAuthenticationFeature.UniversalBuilder |
credentialsForDigest(String username,
String password)
Set credentials that will be used for digest authentication only.
|
build, credentials, credentials
HttpAuthenticationFeature.UniversalBuilder credentialsForBasic(String username, String password)
username
- Username.password
- Password as String
.HttpAuthenticationFeature.UniversalBuilder credentialsForBasic(String username, byte[] password)
username
- Username.password
- Password as byte array
.HttpAuthenticationFeature.UniversalBuilder credentialsForDigest(String username, String password)
username
- Username.password
- Password as String
.HttpAuthenticationFeature.UniversalBuilder credentialsForDigest(String username, byte[] password)
username
- Username.password
- Password as byte array
.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.