Modifier and Type | Class and Description |
---|---|
class |
CasProfile
This class is the user profile for sites using CAS protocol.
|
class |
CasProxyProfile
This class is the user profile for sites using CAS protocol with proxy capabilities.
|
class |
HttpTGTProfile
This is
HttpTGTProfile that represents
the CAS TGT when it's obtained via the rest api. |
Modifier and Type | Interface and Description |
---|---|
interface |
Authorizer<U extends UserProfile>
Checks if an access is authorized.
|
class |
RequireAllPermissionsAuthorizer<U extends UserProfile>
Checks an access if the user profile has all the permissions.
|
class |
RequireAllRolesAuthorizer<U extends UserProfile>
Checks an access if the user profile has all the roles.
|
class |
RequireAnyPermissionAuthorizer<U extends UserProfile>
Checks an access if the user profile has any of the permissions.
|
class |
RequireAnyRoleAuthorizer<U extends UserProfile>
Checks an access if the user profile has any of the roles.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultAuthorizationChecker.isAuthorized(WebContext context,
UserProfile profile,
List<Authorizer> authorizers) |
boolean |
AuthorizationChecker.isAuthorized(WebContext context,
UserProfile profile,
List<Authorizer> authorizers) |
boolean |
DefaultAuthorizationChecker.isAuthorized(WebContext context,
UserProfile profile,
String authorizerName,
Map<String,Authorizer> authorizersMap) |
boolean |
AuthorizationChecker.isAuthorized(WebContext context,
UserProfile profile,
String authorizerName,
Map<String,Authorizer> authorizersMap) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRequireAllAuthorizer<E,U extends UserProfile>
An authorizer to require all the elements.
|
class |
AbstractRequireAnyAuthorizer<E,U extends UserProfile>
An authorizer to require any of the elements.
|
class |
AbstractRequireElementAuthorizer<E,U extends UserProfile>
An authorizer to require elements.
|
class |
CheckHttpMethodAuthorizer<U extends UserProfile>
Checks the HTTP method.
|
class |
CheckProfileTypeAuthorizer<U extends UserProfile>
Checks the profile type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XSSProtectionHeader.isAuthorized(WebContext context,
UserProfile profile) |
boolean |
XFrameOptionsHeader.isAuthorized(WebContext context,
UserProfile profile) |
boolean |
XContentTypeOptionsHeader.isAuthorized(WebContext context,
UserProfile profile) |
boolean |
StrictTransportSecurityHeader.isAuthorized(WebContext context,
UserProfile profile) |
boolean |
CustomSecurityHeader.isAuthorized(WebContext context,
UserProfile profile) |
boolean |
CacheControlHeader.isAuthorized(WebContext context,
UserProfile profile) |
Modifier and Type | Class and Description |
---|---|
class |
CsrfAuthorizer<U extends UserProfile>
Authorizer that checks CSRF tokens.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CsrfTokenGeneratorAuthorizer.isAuthorized(WebContext context,
UserProfile profile) |
Modifier and Type | Interface and Description |
---|---|
interface |
Client<C extends Credentials,U extends UserProfile>
This interface is the core of
pac4j . |
Modifier and Type | Class and Description |
---|---|
class |
ProfileManager<U extends UserProfile>
This class is a generic way to manage the current user profile, i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
CommonProfile
This class is the base implementation with the default attribute getters which can be retrieved for most profiles.
|
Modifier and Type | Method and Description |
---|---|
static UserProfile |
ProfileHelper.buildProfile(String typedId,
Map<String,Object> attributes)
Build a profile from a typed id and a map of attributes.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ProfileHelper.isTypedIdOf(String id,
Class<? extends UserProfile> clazz)
Indicate if the user identifier matches this kind of profile.
|
Modifier and Type | Class and Description |
---|---|
class |
GaeUserServiceProfile
s class is the user profile for Google using UserService with appropriate getters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IpRegexpAuthorizer.isAuthorized(WebContext context,
UserProfile profile) |
Modifier and Type | Method and Description |
---|---|
UserProfile |
HttpCredentials.getUserProfile() |
Modifier and Type | Method and Description |
---|---|
void |
HttpCredentials.setUserProfile(UserProfile userProfile) |
Modifier and Type | Class and Description |
---|---|
class |
AnonymousProfile
Anonymous profile.
|
class |
HttpProfile
This class is the user profile for sites using HTTP protocol.
|
class |
IpProfile
Profile for IP authentication.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthenticatorProfileCreator<C extends HttpCredentials,P extends UserProfile>
This profile creator retrieves the user profile attached with the
HttpCredentials . |
interface |
ProfileCreator<C extends Credentials,U extends UserProfile>
This interface is responsible to create a
UserProfile from a Credentials . |
Modifier and Type | Method and Description |
---|---|
UserProfile |
AuthenticatorProfileCreator.create(HttpCredentials credentials)
Create a profile from a credentials.
|
Modifier and Type | Method and Description |
---|---|
UserProfile |
JwtAuthenticator.validateToken(String token)
Validates the token and returns the corresponding user profile.
|
Modifier and Type | Class and Description |
---|---|
class |
JwtGenerator<U extends UserProfile>
Generates a JWT token from a user profile.
|
Modifier and Type | Class and Description |
---|---|
class |
JwtProfile
Represents a user profile based on a JWT.
|
Modifier and Type | Class and Description |
---|---|
class |
LdapProfile
The user profile returned by a LDAP authentication.
|
Modifier and Type | Class and Description |
---|---|
class |
MongoProfile
The user profile returned from a MongoDB.
|
Modifier and Type | Class and Description |
---|---|
class |
OAuth10Profile
This class is the base OAuth 1.0 profile, extending from the base
OAuth20Profile . |
class |
OAuth20Profile
This class is the base OAuth 2.0 profile, extending from the base
CommonProfile . |
Modifier and Type | Class and Description |
---|---|
class |
BitbucketProfile
This class is the user profile for Bitbucket with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
CasOAuthWrapperProfile
This class is the user profile for sites using OAuth wrapper for CAS.
|
Modifier and Type | Class and Description |
---|---|
class |
DropBoxProfile
This class is the user profile for DropBox with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
FacebookProfile
This class is the user profile for Facebook with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
FoursquareProfile
This class is the user profile for Foursquare with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
GitHubProfile
This class is the user profile for GitHub with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
Google2Profile
This class is the user profile for Google (using OAuth protocol version 2) with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
LinkedIn2Profile
This class is the user profile for LinkedIn with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
OkProfile
Represents basic (OAuth20Profile) profile on Ok.ru (Odnoklassniki.ru)
|
Modifier and Type | Class and Description |
---|---|
class |
OrcidProfile
This class is the user profile for ORCiD with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
PayPalProfile
This class is the user profile for PayPal with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
StravaProfile
Encapsulates a Strava athlete profile.
|
Modifier and Type | Class and Description |
---|---|
class |
TwitterProfile
This class is the user profile for Twitter with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
VkProfile
This class is the user profile for Vk with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
WindowsLiveProfile
This class is the user profile for Windows Live with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
WordPressProfile
This class is the user profile for WordPress with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
YahooProfile
This class is the user profile for Yahoo with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
OidcProfile
This class is the user profile for sites using OpenID Connect protocol.
|
Modifier and Type | Class and Description |
---|---|
class |
OpenIdProfile
This class is the generic OpenID profile.
|
Modifier and Type | Class and Description |
---|---|
class |
YahooOpenIdProfile
This class is the user profile for Yahoo using OpenID with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
SAML2Profile
This class is the user profile for sites using SAML2 protocol.
|
Modifier and Type | Class and Description |
---|---|
class |
DbProfile
The user profile returned by a DB authentication.
|
Modifier and Type | Class and Description |
---|---|
class |
StormpathProfile
The user profile returned from a Stormpath Authentication event.
|
Copyright © 2016. All rights reserved.