@Loggable(value=1) public final class HttpBasic extends Object implements Provider
| Modifier and Type | Class and Description |
|---|---|
static interface |
HttpBasic.Vault
Vault the authenticates.
|
Provider.Always, Provider.Redirect, Provider.Visible| Modifier and Type | Field and Description |
|---|---|
static HttpBasic.Vault |
NEVER
Never authenticating vault.
|
| Constructor and Description |
|---|
HttpBasic(Resource res,
HttpBasic.Vault vlt)
Public ctor.
|
public static final HttpBasic.Vault NEVER
public HttpBasic(@NotNull
Resource res,
@NotNull
HttpBasic.Vault vlt)
res - JAX-RS resourcevlt - Authentication vaultpublic Identity identity() throws IOException
ProviderIdentity.ANONYMOUS if can't authenticate.identity in interface ProviderIdentity.ANONYMOUS)IOException - If failed for some exceptional reasonCopyright © 2011–2014 ReXSL.com. All rights reserved.