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, setName, toString
init, internalInit, reinit
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCredentials
public final void redirect(WebContext context, boolean protectedTarget)
Client
Redirect to the authentication provider for an indirect client.
context
- the current web contextprotectedTarget
- whether the target url is protectedCopyright © 2015. All Rights Reserved.