Builder<HttpBasicAuthProvider>public static class HttpBasicAuthProvider.Builder extends java.lang.Object implements Builder<HttpBasicAuthProvider>
HttpBasicAuthProvider fluent API builder.| Modifier and Type | Method | Description |
|---|---|---|
HttpBasicAuthProvider |
build() |
Build the instance from this builder.
|
HttpBasicAuthProvider.Builder |
realm(java.lang.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 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(java.lang.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.