public abstract class DirectClient<C extends Credentials,U extends CommonProfile> extends BaseClient<C,U>
This class is the default direct (stateless) implementation of an authentication client (whatever the protocol). In that case, redirecting does not have any sense.
logger| Constructor and Description |
|---|
DirectClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
redirect(WebContext context,
boolean protectedTarget)
Redirect to the authentication provider for an indirect client.
|
addAuthorizationGenerator, clone, getAuthorizationGenerators, getClientType, getName, getUserProfile, newClient, retrieveUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setName, toStringinit, internalInit, reinitequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCredentialspublic final void redirect(WebContext context, boolean protectedTarget)
ClientRedirect to the authentication provider for an indirect client.
context - the current web contextprotectedTarget - whether the target url is protectedCopyright © 2016. All rights reserved.