Modifier and Type | Class and Description |
---|---|
class |
DefaultCasAuthorizationGenerator<U extends CommonProfile>
Default
AuthorizationGenerator implementation for a CasClient which is able
to retrieve the isRemembered status from the CAS response and put it in the profile. |
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 |
CasRestProfile
This is
CasRestProfile that represents
the CAS TGT when it's obtained via the rest api. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCheckAuthenticationAuthorizer<U extends CommonProfile>
Check the authentication of the user.
|
class |
AbstractRequireAllAuthorizer<E,U extends CommonProfile>
An authorizer to require all the elements.
|
class |
AbstractRequireAnyAuthorizer<E,U extends CommonProfile>
An authorizer to require any of the elements.
|
class |
AbstractRequireElementAuthorizer<E,U extends CommonProfile>
An authorizer to require elements.
|
interface |
Authorizer<U extends CommonProfile>
Checks if an access is authorized.
|
class |
CheckProfileTypeAuthorizer<U extends CommonProfile>
Checks the profile type.
|
class |
IsAnonymousAuthorizer<U extends CommonProfile>
The user must be anonymous.
|
class |
IsAuthenticatedAuthorizer<U extends CommonProfile>
The user must be authenticated.
|
class |
IsFullyAuthenticatedAuthorizer<U extends CommonProfile>
The user must be fully authenticated (not remembered).
|
class |
IsRememberedAuthorizer<U extends CommonProfile>
The user must be authenticated and remembered.
|
class |
ProfileAuthorizer<U extends CommonProfile>
Authorizer which is valid if one of the profiles is authorized or all the profiles are authorized.
|
class |
RequireAllPermissionsAuthorizer<U extends CommonProfile>
Checks an access if the user profile has all the permissions.
|
class |
RequireAllRolesAuthorizer<U extends CommonProfile>
Checks an access if the user profile has all the roles.
|
class |
RequireAnyPermissionAuthorizer<U extends CommonProfile>
Checks an access if the user profile has any of the permissions.
|
class |
RequireAnyRoleAuthorizer<U extends CommonProfile>
Checks an access if the user profile has any of the roles.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
CheckHttpMethodAuthorizer.check(WebContext context,
CommonProfile profile,
HttpConstants.HTTP_METHOD element) |
Modifier and Type | Method and Description |
---|---|
boolean |
XSSProtectionHeader.isAuthorized(WebContext context,
List<CommonProfile> profiles) |
boolean |
XFrameOptionsHeader.isAuthorized(WebContext context,
List<CommonProfile> profiles) |
boolean |
XContentTypeOptionsHeader.isAuthorized(WebContext context,
List<CommonProfile> profiles) |
boolean |
StrictTransportSecurityHeader.isAuthorized(WebContext context,
List<CommonProfile> profiles) |
boolean |
CacheControlHeader.isAuthorized(WebContext context,
List<CommonProfile> profiles) |
Modifier and Type | Method and Description |
---|---|
boolean |
CsrfTokenGeneratorAuthorizer.isAuthorized(WebContext context,
List<CommonProfile> profiles) |
boolean |
CsrfAuthorizer.isAuthorized(WebContext context,
List<CommonProfile> profiles) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultAuthorizationChecker.isAuthorized(WebContext context,
List<CommonProfile> profiles,
List<Authorizer> authorizers) |
boolean |
DefaultAuthorizationChecker.isAuthorized(WebContext context,
List<CommonProfile> profiles,
String authorizerNames,
Map<String,Authorizer> authorizersMap) |
boolean |
AuthorizationChecker.isAuthorized(WebContext context,
List<CommonProfile> profiles,
String authorizerNames,
Map<String,Authorizer> authorizersMap)
Check whether the user is authorized.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AuthorizationGenerator<U extends CommonProfile>
Generate the authorization roles and permissions for this user profile.
|
class |
DefaultRolesPermissionsAuthorizationGenerator<U extends CommonProfile>
Grant default roles and/or permissions to a user profile.
|
class |
FromAttributesAuthorizationGenerator<U extends CommonProfile>
Generate the authorization information by inspecting attributes.
|
class |
SpringSecurityPropertiesAuthorizationGenerator<U extends CommonProfile>
Authorization generator based on a properties file in Spring security format:
username=password,grantedAuthority[,grantedAuthority][,enabled|disabled]
|
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>
This class is the default direct (stateless) implementation of an authentication client (whatever the mechanism).
|
class |
DirectClientV2<C extends Credentials,U extends CommonProfile>
|
class |
IndirectClient<C extends Credentials,U extends CommonProfile>
This class is the default indirect (with redirection, stateful) implementation of an authentication client (whatever the mechanism).
|
class |
IndirectClientV2<C extends Credentials,U extends CommonProfile>
New indirect client type using the
RedirectActionBuilder , CredentialsExtractor , Authenticator
and ProfileCreator concepts. |
Modifier and Type | Method and Description |
---|---|
CommonProfile |
Credentials.getUserProfile() |
Modifier and Type | Method and Description |
---|---|
void |
Credentials.setUserProfile(CommonProfile userProfile) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultSecurityLogic.saveProfileInSession(C context,
List<Client> currentClients,
DirectClient directClient,
CommonProfile profile)
Whether we need to save the profile in session after the authentication of direct client(s).
|
protected void |
DefaultCallbackLogic.saveUserProfile(C context,
CommonProfile profile,
boolean multiProfile,
boolean renewSession) |
Modifier and Type | Method and Description |
---|---|
protected HttpAction |
DefaultSecurityLogic.forbidden(C context,
List<Client> currentClients,
List<CommonProfile> profiles,
String authorizers)
Return a forbidden error.
|
Modifier and Type | Class and Description |
---|---|
class |
ProfileManager<U extends CommonProfile>
This class is a generic way to manage the current user profile(s), i.e. the one(s) of the current authenticated user.
|
Modifier and Type | Class and Description |
---|---|
class |
AnonymousProfile
Anonymous profile.
|
Modifier and Type | Method and Description |
---|---|
static <U extends CommonProfile> |
ProfileHelper.flatIntoAProfileList(LinkedHashMap<String,U> profiles)
Flat the linked hashmap of profiles into a list of profiles.
|
static <U extends CommonProfile> |
ProfileHelper.flatIntoOneProfile(LinkedHashMap<String,U> profiles)
Flat the linked hashmap of profiles into a single optional profile.
|
Modifier and Type | Method and Description |
---|---|
static CommonProfile |
ProfileHelper.buildProfile(String typedId,
Map<String,Object> attributes)
Build a profile from a typed id and a map of attributes.
|
static CommonProfile |
ProfileHelper.buildUserProfileByClassCompleteName(String typedId,
Map<String,Object> attributes,
String completeName) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ProfileHelper.isTypedIdOf(String id,
Class<? extends CommonProfile> clazz)
Indicate if the user identifier matches this kind of profile.
|
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 . |
Modifier and Type | Class and Description |
---|---|
class |
GaeUserServiceProfile
This class is the user profile for Google using UserService with appropriate getters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IpRegexpAuthorizer.isAuthorized(WebContext context,
List<CommonProfile> profile) |
Modifier and Type | Class and Description |
---|---|
class |
IpProfile
Profile for IP authentication.
|
Modifier and Type | Method and Description |
---|---|
CommonProfile |
JwtAuthenticator.validateToken(String token)
Validates the token and returns the corresponding user profile.
|
Modifier and Type | Class and Description |
---|---|
class |
JwtGenerator<U extends CommonProfile>
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
This class is the user profile for Strava with appropriate getters.
|
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 |
AzureAdProfile
This class is the user profile for Azure AD (using OpenID Connect protocol) with appropriate getters.
|
class |
GoogleOidcProfile
This class is the user profile for Google (using OpenID Connect protocol) with appropriate getters.
|
class |
OidcProfile
This class is the user profile for sites using OpenID Connect protocol.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseOpenIdClient<U extends CommonProfile>
This class is a base implementation for an OpenID protocol client based on the openid4java library.
|
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.