public class IpClient extends DirectHttpClient<TokenCredentials>
This class is the client to authenticate users directly based on their IP address.
It returns a HttpProfile
.
HttpProfile
extractor
logger
Constructor and Description |
---|
IpClient() |
IpClient(TokenAuthenticator tokenAuthenticator) |
IpClient(TokenAuthenticator tokenAuthenticator,
ProfileCreator profileCreator) |
Modifier and Type | Method and Description |
---|---|
ClientType |
getClientType()
Return the client type.
|
protected void |
internalInit(WebContext context)
Internal initialization of the object.
|
protected IpClient |
newClient()
Create a new instance of the client.
|
clone, getAuthenticator, getCredentials, getProfileCreator, retrieveUserProfile, setAuthenticator, setProfileCreator, toString
redirect
addAuthorizationGenerator, getAuthorizationGenerators, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setName
init, reinit
public IpClient()
public IpClient(TokenAuthenticator tokenAuthenticator)
public IpClient(TokenAuthenticator tokenAuthenticator, ProfileCreator profileCreator)
protected void internalInit(WebContext context)
InitializableWebObject
internalInit
in class DirectHttpClient<TokenCredentials>
context
- the web contextprotected IpClient newClient()
BaseClient
newClient
in class BaseClient<TokenCredentials,CommonProfile>
public ClientType getClientType()
BaseClient
getClientType
in class BaseClient<TokenCredentials,CommonProfile>
Copyright © 2016. All rights reserved.