public static final class HttpBasicAuthProvider.Builder extends Object implements Builder<HttpBasicAuthProvider>
HttpBasicAuthProvider fluent API builder.| Modifier and Type | Method and Description |
|---|---|
HttpBasicAuthProvider |
build()
Build the instance from this builder.
|
HttpBasicAuthProvider.Builder |
config(Config config)
Update this builder from configuration.
|
HttpBasicAuthProvider.Builder |
realm(String realm)
Set the realm to use when challenging users.
|
HttpBasicAuthProvider.Builder |
subjectType(SubjectType subjectType)
Principal type this provider extracts (and also propagates).
|
HttpBasicAuthProvider.Builder |
userStore(UserStore store)
Set user store to obtain passwords and roles based on logins.
|
public HttpBasicAuthProvider.Builder config(Config config)
config - configuration to read, located on the node of the http basic authentication providerpublic HttpBasicAuthProvider build()
Builderbuild in interface Builder<HttpBasicAuthProvider>public HttpBasicAuthProvider.Builder subjectType(SubjectType subjectType)
subjectType - type of principalpublic HttpBasicAuthProvider.Builder userStore(UserStore store)
store - User store to usepublic HttpBasicAuthProvider.Builder realm(String realm)
realm - security realm name to send to browser (or any other client) when unauthenticatedCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.