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 mechanism). In that case, redirecting does not make any sense.
logger
Constructor and Description |
---|
DirectClient() |
Modifier and Type | Method and Description |
---|---|
HttpAction |
redirect(WebContext context)
Redirect to the authentication provider for an indirect client.
|
addAuthorizationGenerator, getAuthorizationGenerators, getName, getUserProfile, retrieveUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setName, toString
init, internalInit, reinit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCredentials
public final HttpAction redirect(WebContext context) throws HttpAction
Client
Redirect to the authentication provider for an indirect client.
context
- the current web contextHttpAction
- whether an additional HTTP action is requiredCopyright © 2016. All rights reserved.