Package org.pac4j.http.client.direct
Class IpClient
- java.lang.Object
-
- org.pac4j.core.util.InitializableObject
-
- org.pac4j.core.client.BaseClient<C,U>
-
- org.pac4j.core.client.DirectClient<TokenCredentials,CommonProfile>
-
- org.pac4j.http.client.direct.IpClient
-
- All Implemented Interfaces:
Client<TokenCredentials,CommonProfile>
public class IpClient extends DirectClient<TokenCredentials,CommonProfile>
This class is the client to authenticate users directly based on their IP address.
- Since:
- 1.8.0
- Author:
- Jerome Leleu
-
-
Field Summary
-
Fields inherited from class org.pac4j.core.client.BaseClient
logger
-
-
Constructor Summary
Constructors Constructor Description IpClient()
IpClient(Authenticator tokenAuthenticator)
IpClient(Authenticator tokenAuthenticator, ProfileCreator profileCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clientInit()
-
Methods inherited from class org.pac4j.core.client.DirectClient
getCredentials, getLogoutAction, internalInit, redirect
-
Methods inherited from class org.pac4j.core.client.BaseClient
addAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreator, toString
-
Methods inherited from class org.pac4j.core.util.InitializableObject
init
-
-
-
-
Constructor Detail
-
IpClient
public IpClient()
-
IpClient
public IpClient(Authenticator tokenAuthenticator)
-
IpClient
public IpClient(Authenticator tokenAuthenticator, ProfileCreator profileCreator)
-
-
Method Detail
-
clientInit
protected void clientInit()
- Specified by:
clientInit
in classDirectClient<TokenCredentials,CommonProfile>
-
-