Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractRegexpAuthenticator - Class in org.pac4j.http.credentials.authenticator
-
Abstract authenticator based on regular expressions.
- AbstractRegexpAuthenticator() - Constructor for class org.pac4j.http.credentials.authenticator.AbstractRegexpAuthenticator
- addAuthenticateHeader(WebContext) - Method in class org.pac4j.http.client.direct.DirectBasicAuthClient
-
addAuthenticateHeader.
B
- buildProfile(UsernamePasswordCredentials, String) - Method in class org.pac4j.http.credentials.authenticator.RestAuthenticator
-
buildProfile.
C
- calculateServerDigest(boolean, String) - Method in class org.pac4j.http.credentials.DigestCredentials
-
This calculates the server digest value based on user stored password.
- callRestApi(String, String) - Method in class org.pac4j.http.credentials.authenticator.RestAuthenticator
-
Return the body from the REST API, passing the username/pasword auth.
- CERTIFICATE_REQUEST_ATTRIBUTE - Static variable in class org.pac4j.http.credentials.extractor.X509CredentialsExtractor
-
Constant
CERTIFICATE_REQUEST_ATTRIBUTE="jakarta.servlet.request.X509Certificate"
- computeErrorMessage(Exception) - Method in class org.pac4j.http.client.indirect.FormClient
-
Return the error message depending on the thrown exception.
- CookieClient - Class in org.pac4j.http.client.direct
-
Allows direct authentication based on a cookie.
- CookieClient() - Constructor for class org.pac4j.http.client.direct.CookieClient
-
Constructor for CookieClient.
- CookieClient(String, Authenticator) - Constructor for class org.pac4j.http.client.direct.CookieClient
-
Constructor for CookieClient.
- CookieExtractor - Class in org.pac4j.http.credentials.extractor
-
Extracts a cookie value from the request context.
- CookieExtractor(String) - Constructor for class org.pac4j.http.credentials.extractor.CookieExtractor
-
Constructor for CookieExtractor.
- CredentialUtil - Class in org.pac4j.http.credentials
-
This class contains utility methods related to credential encryption algorithms (MD5 for http digest)
- CredentialUtil() - Constructor for class org.pac4j.http.credentials.CredentialUtil
D
- DigestAuthExtractor - Class in org.pac4j.http.credentials.extractor
-
To extract digest auth header.
- DigestAuthExtractor() - Constructor for class org.pac4j.http.credentials.extractor.DigestAuthExtractor
-
Constructor for DigestAuthExtractor.
- DigestAuthExtractor(String, String) - Constructor for class org.pac4j.http.credentials.extractor.DigestAuthExtractor
-
Constructor for DigestAuthExtractor.
- DigestCredentials - Class in org.pac4j.http.credentials
-
This credentials is retrieved from a HTTP request.
- DigestCredentials(String, String, String, String, String, String, String, String, String) - Constructor for class org.pac4j.http.credentials.DigestCredentials
-
the token represents the client response attribute value in digest authorization header
- DirectBasicAuthClient - Class in org.pac4j.http.client.direct
-
This class is the client to authenticate users directly through HTTP basic auth.
- DirectBasicAuthClient() - Constructor for class org.pac4j.http.client.direct.DirectBasicAuthClient
-
Constructor for DirectBasicAuthClient.
- DirectBasicAuthClient(Authenticator) - Constructor for class org.pac4j.http.client.direct.DirectBasicAuthClient
-
Constructor for DirectBasicAuthClient.
- DirectBasicAuthClient(Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.DirectBasicAuthClient
-
Constructor for DirectBasicAuthClient.
- DirectBearerAuthClient - Class in org.pac4j.http.client.direct
-
This class is the client to authenticate users directly through RFC 6750 HTTP bearer authentication.
- DirectBearerAuthClient() - Constructor for class org.pac4j.http.client.direct.DirectBearerAuthClient
-
Constructor for DirectBearerAuthClient.
- DirectBearerAuthClient(Authenticator) - Constructor for class org.pac4j.http.client.direct.DirectBearerAuthClient
-
Constructor for DirectBearerAuthClient.
- DirectBearerAuthClient(Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.DirectBearerAuthClient
-
Constructor for DirectBearerAuthClient.
- DirectBearerAuthClient(ProfileCreator) - Constructor for class org.pac4j.http.client.direct.DirectBearerAuthClient
-
Constructor for DirectBearerAuthClient.
- DirectDigestAuthClient - Class in org.pac4j.http.client.direct
-
This class is the client to authenticate users directly through HTTP digest auth.
- DirectDigestAuthClient() - Constructor for class org.pac4j.http.client.direct.DirectDigestAuthClient
-
Constructor for DirectDigestAuthClient.
- DirectDigestAuthClient(Authenticator) - Constructor for class org.pac4j.http.client.direct.DirectDigestAuthClient
-
Constructor for DirectDigestAuthClient.
- DirectDigestAuthClient(Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.DirectDigestAuthClient
-
Constructor for DirectDigestAuthClient.
- DirectFormClient - Class in org.pac4j.http.client.direct
-
This class is the client to authenticate users, based on form HTTP parameters.
- DirectFormClient() - Constructor for class org.pac4j.http.client.direct.DirectFormClient
-
Constructor for DirectFormClient.
- DirectFormClient(String, String, Authenticator) - Constructor for class org.pac4j.http.client.direct.DirectFormClient
-
Constructor for DirectFormClient.
- DirectFormClient(Authenticator) - Constructor for class org.pac4j.http.client.direct.DirectFormClient
-
Constructor for DirectFormClient.
- DirectFormClient(Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.DirectFormClient
-
Constructor for DirectFormClient.
E
- encryptMD5(String) - Static method in class org.pac4j.http.credentials.CredentialUtil
-
Defined in rfc 2617 as H(data) = MD5(data);
- encryptMD5(String, String) - Static method in class org.pac4j.http.credentials.CredentialUtil
-
Defined in rfc 2617 as KD(secret, data) = H(concat(secret, ":", data))
- ERROR_PARAMETER - Static variable in class org.pac4j.http.client.indirect.FormClient
-
Constant
ERROR_PARAMETER="error"
- extract(CallContext) - Method in class org.pac4j.http.credentials.extractor.CookieExtractor
- extract(CallContext) - Method in class org.pac4j.http.credentials.extractor.DigestAuthExtractor
-
Extracts digest Authorization header components.
- extract(CallContext) - Method in class org.pac4j.http.credentials.extractor.IpExtractor
- extract(CallContext) - Method in class org.pac4j.http.credentials.extractor.X509CredentialsExtractor
- extractExtensionFromCertificate(UserProfile, X509Certificate, String, int) - Method in class org.pac4j.http.credentials.authenticator.X509Authenticator
F
- FormClient - Class in org.pac4j.http.client.indirect
-
This class is the client to authenticate users through HTTP form.
- FormClient() - Constructor for class org.pac4j.http.client.indirect.FormClient
-
Constructor for FormClient.
- FormClient(String, String, String, Authenticator) - Constructor for class org.pac4j.http.client.indirect.FormClient
-
Constructor for FormClient.
- FormClient(String, Authenticator) - Constructor for class org.pac4j.http.client.indirect.FormClient
-
Constructor for FormClient.
- FormClient(String, Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.indirect.FormClient
-
Constructor for FormClient.
G
- getCredentials(CallContext) - Method in class org.pac4j.http.client.direct.DirectBasicAuthClient
- getCredentials(CallContext) - Method in class org.pac4j.http.client.direct.DirectBearerAuthClient
- getCredentials(CallContext) - Method in class org.pac4j.http.client.direct.DirectDigestAuthClient
-
Per RFC 2617 If a server receives a request for an access-protected object, and an acceptable Authorization header is not sent, the server responds with a "401 Unauthorized" status code, and a WWW-Authenticate header
- getCredentials(CallContext) - Method in class org.pac4j.http.client.indirect.FormClient
- getCredentials(CallContext) - Method in class org.pac4j.http.client.indirect.IndirectBasicAuthClient
H
- handleInvalidCredentials(CallContext, String, String, String) - Method in class org.pac4j.http.client.indirect.FormClient
-
handleInvalidCredentials.
- HeaderClient - Class in org.pac4j.http.client.direct
-
This class is the client to authenticate users directly based on a provided header.
- HeaderClient() - Constructor for class org.pac4j.http.client.direct.HeaderClient
-
Constructor for HeaderClient.
- HeaderClient(String, String, Authenticator) - Constructor for class org.pac4j.http.client.direct.HeaderClient
-
Constructor for HeaderClient.
- HeaderClient(String, String, Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.HeaderClient
-
Constructor for HeaderClient.
- HeaderClient(String, String, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.HeaderClient
-
Constructor for HeaderClient.
- HeaderClient(String, Authenticator) - Constructor for class org.pac4j.http.client.direct.HeaderClient
-
Constructor for HeaderClient.
- HeaderClient(String, Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.HeaderClient
-
Constructor for HeaderClient.
- HeaderClient(String, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.HeaderClient
-
Constructor for HeaderClient.
I
- IndirectBasicAuthClient - Class in org.pac4j.http.client.indirect
-
This class is the client to authenticate users through HTTP basic auth.
- IndirectBasicAuthClient() - Constructor for class org.pac4j.http.client.indirect.IndirectBasicAuthClient
-
Constructor for IndirectBasicAuthClient.
- IndirectBasicAuthClient(String, Authenticator) - Constructor for class org.pac4j.http.client.indirect.IndirectBasicAuthClient
-
Constructor for IndirectBasicAuthClient.
- IndirectBasicAuthClient(Authenticator) - Constructor for class org.pac4j.http.client.indirect.IndirectBasicAuthClient
-
Constructor for IndirectBasicAuthClient.
- IndirectBasicAuthClient(Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.indirect.IndirectBasicAuthClient
-
Constructor for IndirectBasicAuthClient.
- internalInit(boolean) - Method in class org.pac4j.http.client.direct.CookieClient
- internalInit(boolean) - Method in class org.pac4j.http.client.direct.DirectBasicAuthClient
- internalInit(boolean) - Method in class org.pac4j.http.client.direct.DirectBearerAuthClient
- internalInit(boolean) - Method in class org.pac4j.http.client.direct.DirectDigestAuthClient
- internalInit(boolean) - Method in class org.pac4j.http.client.direct.DirectFormClient
- internalInit(boolean) - Method in class org.pac4j.http.client.direct.HeaderClient
- internalInit(boolean) - Method in class org.pac4j.http.client.direct.IpClient
- internalInit(boolean) - Method in class org.pac4j.http.client.direct.ParameterClient
- internalInit(boolean) - Method in class org.pac4j.http.client.direct.X509Client
- internalInit(boolean) - Method in class org.pac4j.http.client.indirect.FormClient
- internalInit(boolean) - Method in class org.pac4j.http.client.indirect.IndirectBasicAuthClient
- internalInit(boolean) - Method in class org.pac4j.http.credentials.authenticator.IpRegexpAuthenticator
- internalInit(boolean) - Method in class org.pac4j.http.credentials.authenticator.RestAuthenticator
- internalInit(boolean) - Method in class org.pac4j.http.credentials.authenticator.X509Authenticator
- internalValidateCredentials(CallContext, Credentials) - Method in class org.pac4j.http.client.indirect.FormClient
- internalValidateCredentials(CallContext, Credentials) - Method in class org.pac4j.http.client.indirect.IndirectBasicAuthClient
- IpClient - Class in org.pac4j.http.client.direct
-
This class is the client to authenticate users directly based on their IP address.
- IpClient() - Constructor for class org.pac4j.http.client.direct.IpClient
-
Constructor for IpClient.
- IpClient(Authenticator) - Constructor for class org.pac4j.http.client.direct.IpClient
-
Constructor for IpClient.
- IpClient(Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.IpClient
-
Constructor for IpClient.
- IpExtractor - Class in org.pac4j.http.credentials.extractor
-
To extract a remote IP address.
- IpExtractor() - Constructor for class org.pac4j.http.credentials.extractor.IpExtractor
-
Constructor for IpExtractor.
- IpExtractor(String...) - Constructor for class org.pac4j.http.credentials.extractor.IpExtractor
-
Constructor for IpExtractor.
- IpProfile - Class in org.pac4j.http.profile
-
Profile for IP authentication.
- IpProfile() - Constructor for class org.pac4j.http.profile.IpProfile
- IpRegexpAuthenticator - Class in org.pac4j.http.credentials.authenticator
-
Authenticates users based on their IP and a regexp pattern.
- IpRegexpAuthenticator() - Constructor for class org.pac4j.http.credentials.authenticator.IpRegexpAuthenticator
-
Constructor for IpRegexpAuthenticator.
- IpRegexpAuthenticator(String) - Constructor for class org.pac4j.http.credentials.authenticator.IpRegexpAuthenticator
-
Constructor for IpRegexpAuthenticator.
- IpRegexpAuthorizer - Class in org.pac4j.http.authorization.authorizer
-
Authorizes users based on their IP and a regexp pattern.
- IpRegexpAuthorizer() - Constructor for class org.pac4j.http.authorization.authorizer.IpRegexpAuthorizer
-
Constructor for IpRegexpAuthorizer.
- IpRegexpAuthorizer(String) - Constructor for class org.pac4j.http.authorization.authorizer.IpRegexpAuthorizer
-
Constructor for IpRegexpAuthorizer.
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.http.authorization.authorizer.IpRegexpAuthorizer
L
- logger - Variable in class org.pac4j.http.authorization.authorizer.IpRegexpAuthorizer
- logger - Variable in class org.pac4j.http.credentials.authenticator.AbstractRegexpAuthenticator
M
- MISSING_FIELD_ERROR - Static variable in class org.pac4j.http.client.indirect.FormClient
-
Constant
MISSING_FIELD_ERROR="missing_field"
O
- org.pac4j.http.authorization.authorizer - package org.pac4j.http.authorization.authorizer
- org.pac4j.http.client.direct - package org.pac4j.http.client.direct
- org.pac4j.http.client.indirect - package org.pac4j.http.client.indirect
- org.pac4j.http.credentials - package org.pac4j.http.credentials
- org.pac4j.http.credentials.authenticator - package org.pac4j.http.credentials.authenticator
- org.pac4j.http.credentials.authenticator.test - package org.pac4j.http.credentials.authenticator.test
- org.pac4j.http.credentials.extractor - package org.pac4j.http.credentials.extractor
- org.pac4j.http.profile - package org.pac4j.http.profile
P
- ParameterClient - Class in org.pac4j.http.client.direct
-
This class is the client to authenticate users directly based on a provided parameter (in a GET and/or POST request).
- ParameterClient() - Constructor for class org.pac4j.http.client.direct.ParameterClient
-
Constructor for ParameterClient.
- ParameterClient(String, Authenticator) - Constructor for class org.pac4j.http.client.direct.ParameterClient
-
Constructor for ParameterClient.
- ParameterClient(String, Authenticator, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.ParameterClient
-
Constructor for ParameterClient.
- ParameterClient(String, ProfileCreator) - Constructor for class org.pac4j.http.client.direct.ParameterClient
-
Constructor for ParameterClient.
- pattern - Variable in class org.pac4j.http.credentials.authenticator.AbstractRegexpAuthenticator
R
- regexpPattern - Variable in class org.pac4j.http.credentials.authenticator.AbstractRegexpAuthenticator
- RestAuthenticator - Class in org.pac4j.http.credentials.authenticator
-
Authenticates against a REST API.
- RestAuthenticator() - Constructor for class org.pac4j.http.credentials.authenticator.RestAuthenticator
-
Constructor for RestAuthenticator.
- RestAuthenticator(String) - Constructor for class org.pac4j.http.credentials.authenticator.RestAuthenticator
-
Constructor for RestAuthenticator.
- RestProfile - Class in org.pac4j.http.profile
-
REST profile.
- RestProfile() - Constructor for class org.pac4j.http.profile.RestProfile
S
- setAlternateIpHeaders(String...) - Method in class org.pac4j.http.credentials.extractor.IpExtractor
-
Setter for the field
alternateIpHeaders
. - setProxyIp(String) - Method in class org.pac4j.http.credentials.extractor.IpExtractor
-
Setter for the field
proxyIp
. - setRegexpPattern(String) - Method in class org.pac4j.http.authorization.authorizer.IpRegexpAuthorizer
-
setRegexpPattern.
- setRegexpPattern(String) - Method in class org.pac4j.http.credentials.authenticator.AbstractRegexpAuthenticator
-
Setter for the field
regexpPattern
. - SimpleTestDigestAuthenticator - Class in org.pac4j.http.credentials.authenticator.test
-
This class is a simple test authenticator: username and token must not be blank.
- SimpleTestDigestAuthenticator() - Constructor for class org.pac4j.http.credentials.authenticator.test.SimpleTestDigestAuthenticator
- SimpleTestTokenAuthenticator - Class in org.pac4j.http.credentials.authenticator.test
-
This class is a simple test authenticator: token must not be blank.
- SimpleTestTokenAuthenticator() - Constructor for class org.pac4j.http.credentials.authenticator.test.SimpleTestTokenAuthenticator
- SimpleTestUsernamePasswordAuthenticator - Class in org.pac4j.http.credentials.authenticator.test
-
This class is a simple test authenticator: password must match username.
- SimpleTestUsernamePasswordAuthenticator() - Constructor for class org.pac4j.http.credentials.authenticator.test.SimpleTestUsernamePasswordAuthenticator
T
- toString() - Method in class org.pac4j.http.authorization.authorizer.IpRegexpAuthorizer
- toString() - Method in class org.pac4j.http.credentials.X509Credentials
V
- validate(CallContext, Credentials) - Method in class org.pac4j.http.credentials.authenticator.IpRegexpAuthenticator
- validate(CallContext, Credentials) - Method in class org.pac4j.http.credentials.authenticator.RestAuthenticator
- validate(CallContext, Credentials) - Method in class org.pac4j.http.credentials.authenticator.test.SimpleTestDigestAuthenticator
- validate(CallContext, Credentials) - Method in class org.pac4j.http.credentials.authenticator.test.SimpleTestTokenAuthenticator
- validate(CallContext, Credentials) - Method in class org.pac4j.http.credentials.authenticator.test.SimpleTestUsernamePasswordAuthenticator
- validate(CallContext, Credentials) - Method in class org.pac4j.http.credentials.authenticator.X509Authenticator
X
- X509Authenticator - Class in org.pac4j.http.credentials.authenticator
-
Authenticates
X509Credentials
. - X509Authenticator() - Constructor for class org.pac4j.http.credentials.authenticator.X509Authenticator
- X509Authenticator(String) - Constructor for class org.pac4j.http.credentials.authenticator.X509Authenticator
- X509Client - Class in org.pac4j.http.client.direct
-
Direct client for X509 certificates.
- X509Client() - Constructor for class org.pac4j.http.client.direct.X509Client
- X509Credentials - Class in org.pac4j.http.credentials
-
X509 credentials.
- X509Credentials(X509Certificate) - Constructor for class org.pac4j.http.credentials.X509Credentials
-
Constructor for X509Credentials.
- X509CredentialsExtractor - Class in org.pac4j.http.credentials.extractor
-
The X509 credentials extractor.
- X509CredentialsExtractor() - Constructor for class org.pac4j.http.credentials.extractor.X509CredentialsExtractor
- X509Profile - Class in org.pac4j.http.profile
-
Profile for X509 certificate authentication.
- X509Profile() - Constructor for class org.pac4j.http.profile.X509Profile
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form