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 |
RequireAnyAttributeAuthorizer<U extends CommonProfile>
This is
RequireAnyAttributeAuthorizer which checks profile
attributes for the specified element, and optionally
may pattern-check the configured value. |
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 |
CorsAuthorizer.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 |
LoadLinkedUserAuthorizationGenerator<U extends CommonProfile>
Load a linked account and replace the original account.
|
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>
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 | Method and Description |
---|---|
CommonProfile |
Credentials.getUserProfile() |
Modifier and Type | Method and Description |
---|---|
void |
Credentials.setUserProfile(CommonProfile userProfile) |
Modifier and Type | Method and Description |
---|---|
Store<T,CommonProfile> |
LocalCachingAuthenticator.getStore() |
Modifier and Type | Method and Description |
---|---|
void |
LocalCachingAuthenticator.setStore(Store<T,CommonProfile> store) |
Constructor and Description |
---|
LocalCachingAuthenticator(Authenticator<T> delegate,
Store<T,CommonProfile> store) |
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,
Config config,
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 |
CasLogoutActionBuilder<U extends CommonProfile>
CAS logout action builder.
|
class |
GoogleLogoutActionBuilder<U extends CommonProfile>
Google logout action builder.
|
interface |
LogoutActionBuilder<U extends CommonProfile>
The
RedirectAction for logout. |
class |
NoLogoutActionBuilder<U extends CommonProfile>
No
RedirectAction for logout. |
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.
|
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.buildUserProfileByClassCompleteName(String completeName)
Build a profile by its class name.
|
static CommonProfile |
ProfileHelper.restoreOrBuildProfile(ProfileDefinition<? extends CommonProfile> profileDefinition,
String typedId,
Map<String,Object> attributes,
Object... parameters)
Restore or build a profile.
|
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.
|
static CommonProfile |
ProfileHelper.restoreOrBuildProfile(ProfileDefinition<? extends CommonProfile> profileDefinition,
String typedId,
Map<String,Object> attributes,
Object... parameters)
Restore or build a 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 |
CommonProfileDefinition<P extends CommonProfile>
Profile definition with the common attributes.
|
class |
ProfileDefinition<P extends CommonProfile>
Define a profile (its class and attributes).
|
class |
ProfileDefinitionAware<P extends CommonProfile>
For classes that can set the profile definition.
|
Modifier and Type | Method and Description |
---|---|
void |
ProfileDefinition.convertAndAdd(CommonProfile profile,
Map<String,Object> attributes)
Convert the attributes if necessary and add them to the profile.
|
void |
ProfileDefinition.convertAndAdd(CommonProfile profile,
String name,
Object value)
Convert the attribute if necessary and add it to the profile.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractJwtProfile
Abstract JWT profile.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractProfileService<U extends CommonProfile>
Abstract implementation of the
ProfileService for the storage: LDAP, SQL and MongoDB. |
interface |
ProfileService<U extends CommonProfile>
Profile services: creation, update, delete and retrievals in the storage.
|
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 |
RememberMeAuthorizationGenerator<U extends CommonProfile>
Save a form remember-me checkbox into the remember-me nature of the 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 |
OAuthProfileDefinition<P extends CommonProfile,T extends com.github.scribejava.core.model.Token,O extends OAuthConfiguration>
OAuth profile definition.
|
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 |
OidcProfile
This class is the user profile for sites using OpenID Connect protocol.
|
Modifier and Type | Class and Description |
---|---|
class |
AzureAdProfile
This class is the user profile for Azure AD (using OpenID Connect protocol) with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
GoogleOidcProfile
This class is the user profile for Google (using OpenID Connect protocol) with appropriate getters.
|
Modifier and Type | Class and Description |
---|---|
class |
KeycloakOidcProfile
This class is the user profile for Keycloak (using OpenID Connect protocol) with appropriate getters.
|
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 © 2017. All rights reserved.