public final class AnonymousClient extends DirectClient<AnonymousCredentials,AnonymousProfile>
| Modifier and Type | Field and Description |
|---|---|
static AnonymousClient |
INSTANCE |
logger| Constructor and Description |
|---|
AnonymousClient() |
| Modifier and Type | Method and Description |
|---|---|
AnonymousCredentials |
getCredentials(WebContext context)
Get the credentials from the web context.
|
protected void |
internalInit(WebContext context)
Internal initialization of the object.
|
protected AnonymousProfile |
retrieveUserProfile(AnonymousCredentials credentials,
WebContext context)
Retrieve a user userprofile.
|
redirectaddAuthorizationGenerator, getAuthorizationGenerators, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setName, toStringinit, reinitpublic static final AnonymousClient INSTANCE
protected void internalInit(WebContext context)
InitializableWebObjectinternalInit in class InitializableWebObjectcontext - the web contextpublic AnonymousCredentials getCredentials(WebContext context) throws HttpAction
ClientGet the credentials from the web context. If no validation was made remotely (direct client), credentials must be validated at this step.
In some cases, a HttpAction may be thrown instead.
context - the current web contextHttpAction - whether an additional HTTP action is requiredprotected AnonymousProfile retrieveUserProfile(AnonymousCredentials credentials, WebContext context) throws HttpAction
BaseClientretrieveUserProfile in class BaseClient<AnonymousCredentials,AnonymousProfile>credentials - the credentialscontext - the web contextHttpAction - whether an additional HTTP action is requiredCopyright © 2016. All rights reserved.