| Package | Description |
|---|---|
| org.pac4j.core.client | |
| org.pac4j.core.credentials | |
| org.pac4j.core.credentials.authenticator | |
| org.pac4j.core.credentials.extractor | |
| org.pac4j.core.profile.creator |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseClient<C extends Credentials,U extends CommonProfile>
This class is the default implementation of an authentication client (whatever the mechanism).
|
interface |
Client<C extends Credentials,U extends CommonProfile>
This interface is the core class of the library.
|
class |
DirectClient<C extends Credentials,U extends CommonProfile>
Direct client: credentials are passed and authentication occurs for every HTTP request.
|
class |
IndirectClient<C extends Credentials,U extends CommonProfile>
Indirect client: the requested protected URL is saved, the user is redirected to the identity provider for login and
back to the application after the sucessful authentication and finally to the originally requested URL.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnonymousCredentials
Anonymous credentials.
|
class |
TokenCredentials
This credentials represents a token.
|
class |
UsernamePasswordCredentials
This class represents a username and a password credentials
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Authenticator<C extends Credentials>
An authenticator is responsible for validating
Credentials and should throw a CredentialsException
if the authentication fails. |
class |
LocalCachingAuthenticator<T extends Credentials>
An authenticator that caches the result of an authentication event locally.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CredentialsExtractor<C extends Credentials>
An extractor gets the
Credentials from a WebContext and should return null if no credentials are present
or should throw a CredentialsException if it cannot get it. |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthenticatorProfileCreator<C extends Credentials,P extends CommonProfile>
This profile creator retrieves the user profile attached in the
Credentials. |
interface |
ProfileCreator<C extends Credentials,U extends CommonProfile>
This interface is responsible to create a
CommonProfile from a Credentials. |
Copyright © 2017. All Rights Reserved.