public static interface HttpAuthenticationFeature.Builder
HttpAuthenticationFeature
.Modifier and Type | Method and Description |
---|---|
HttpAuthenticationFeature |
build()
Build the feature.
|
HttpAuthenticationFeature.Builder |
credentials(String username,
byte[] password)
Set credentials.
|
HttpAuthenticationFeature.Builder |
credentials(String username,
String password)
Set credentials.
|
HttpAuthenticationFeature.Builder credentials(String username, byte[] password)
username
- Username.password
- Password as byte array.HttpAuthenticationFeature.Builder credentials(String username, String password)
username
- Username.password
- Password as String
.HttpAuthenticationFeature build()
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.