| 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 |
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.
|
| 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 completeName)
Build a profile by its class name.
|
| 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 |
AbstractProfileCreator<C extends Credentials,P extends CommonProfile>
Abstract profile creator where you can define the profile created.
|
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.