Uses of Interface
org.pac4j.core.profile.UserProfile
Packages that use UserProfile
Package
Description
-
Uses of UserProfile in org.pac4j.core.authorization.authorizer
Methods in org.pac4j.core.authorization.authorizer with parameters of type UserProfileModifier and TypeMethodDescriptionprotected abstract booleanAbstractRequireElementAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, E element) Check a specific element.protected booleanCheckHttpMethodAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, HttpConstants.HTTP_METHOD element) protected booleanCheckProfileTypeAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, Class element) protected booleanRequireAllPermissionsAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanRequireAllRolesAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanRequireAnyAttributeAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanRequireAnyPermissionAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanRequireAnyRoleAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanAbstractRequireAllAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) protected booleanAbstractRequireAnyAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) booleanIsAnonymousAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) booleanIsAuthenticatedAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) booleanIsFullyAuthenticatedAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) booleanIsRememberedAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) protected abstract booleanProfileAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) Whether a specific profile is authorized.Method parameters in org.pac4j.core.authorization.authorizer with type arguments of type UserProfileModifier and TypeMethodDescriptionbooleanProfileAuthorizer.isAllAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) If all profiles are authorized.booleanProfileAuthorizer.isAnyAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) If any of the profiles is authorized.booleanAbstractRequireElementAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanAndAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) Checks if the user profiles and / or the current web context are authorized.booleanCsrfAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanIsAnonymousAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanIsAuthenticatedAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanIsFullyAuthenticatedAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanIsRememberedAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanOrAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) -
Uses of UserProfile in org.pac4j.core.authorization.checker
Method parameters in org.pac4j.core.authorization.checker with type arguments of type UserProfileModifier and TypeMethodDescriptionprotected List<Authorizer>DefaultAuthorizationChecker.computeAuthorizers(WebContext context, List<UserProfile> profiles, String authorizersValue, Map<String, Authorizer> authorizersMap, List<Client> clients) protected List<Authorizer>DefaultAuthorizationChecker.computeDefaultAuthorizers(WebContext context, List<UserProfile> profiles, List<Client> clients, Map<String, Authorizer> authorizersMap) booleanAuthorizationChecker.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles, String authorizerNames, Map<String, Authorizer> authorizersMap, List<Client> clients) Check whether the user is authorized.booleanDefaultAuthorizationChecker.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles, String authorizersValue, Map<String, Authorizer> authorizersMap, List<Client> clients) protected booleanDefaultAuthorizationChecker.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles, List<Authorizer> authorizers) -
Uses of UserProfile in org.pac4j.core.authorization.generator
Methods in org.pac4j.core.authorization.generator that return types with arguments of type UserProfileModifier and TypeMethodDescriptionAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) Generate the authorization information from and for the user profile.DefaultRolesPermissionsAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) FromAttributesAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) LoadLinkedUserAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) SpringSecurityPropertiesAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) Methods in org.pac4j.core.authorization.generator with parameters of type UserProfileModifier and TypeMethodDescriptionAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) Generate the authorization information from and for the user profile.DefaultRolesPermissionsAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) FromAttributesAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) LoadLinkedUserAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) SpringSecurityPropertiesAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) -
Uses of UserProfile in org.pac4j.core.client
Methods in org.pac4j.core.client that return types with arguments of type UserProfileModifier and TypeMethodDescriptionfinal Optional<UserProfile>BaseClient.getUserProfile(Credentials credentials, WebContext context, SessionStore sessionStore) Client.getUserProfile(Credentials credentials, WebContext context, SessionStore sessionStore) Get the user profile based on the provided credentials.BaseClient.renewUserProfile(UserProfile profile, WebContext context, SessionStore sessionStore) Client.renewUserProfile(UserProfile profile, WebContext context, SessionStore sessionStore) Renew the user profile.protected final Optional<UserProfile>BaseClient.retrieveUserProfile(Credentials credentials, WebContext context, SessionStore sessionStore) Retrieve a user profile.Methods in org.pac4j.core.client with parameters of type UserProfileModifier and TypeMethodDescriptionClient.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) Return the logout action (indirect clients).final Optional<RedirectionAction>DirectClient.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) final Optional<RedirectionAction>IndirectClient.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) BaseClient.getSaveProfileInSession(WebContext context, UserProfile profile) booleanBaseClient.isMultiProfile(WebContext context, UserProfile profile) BaseClient.renewUserProfile(UserProfile profile, WebContext context, SessionStore sessionStore) Client.renewUserProfile(UserProfile profile, WebContext context, SessionStore sessionStore) Renew the user profile. -
Uses of UserProfile in org.pac4j.core.credentials
Methods in org.pac4j.core.credentials that return UserProfileMethods in org.pac4j.core.credentials with parameters of type UserProfile -
Uses of UserProfile in org.pac4j.core.credentials.authenticator
Methods in org.pac4j.core.credentials.authenticator that return types with arguments of type UserProfileMethod parameters in org.pac4j.core.credentials.authenticator with type arguments of type UserProfileModifier and TypeMethodDescriptionvoidLocalCachingAuthenticator.setStore(Store<Credentials, UserProfile> store) Constructor parameters in org.pac4j.core.credentials.authenticator with type arguments of type UserProfileModifierConstructorDescriptionLocalCachingAuthenticator(Authenticator delegate, Store<Credentials, UserProfile> store) -
Uses of UserProfile in org.pac4j.core.engine
Methods in org.pac4j.core.engine that return types with arguments of type UserProfileModifier and TypeMethodDescriptionprotected List<UserProfile>DefaultSecurityLogic.loadProfiles(ProfileManager manager, WebContext context, SessionStore sessionStore, List<Client> clients) Load the profiles.Methods in org.pac4j.core.engine with parameters of type UserProfileModifier and TypeMethodDescriptionprotected voidDefaultCallbackLogic.saveUserProfile(WebContext context, SessionStore sessionStore, Config config, UserProfile profile, boolean saveProfileInSession, boolean multiProfile, boolean renewSession) Method parameters in org.pac4j.core.engine with type arguments of type UserProfileModifier and TypeMethodDescriptionSecurityGrantedAccessAdapter.adapt(WebContext context, SessionStore sessionStore, Collection<UserProfile> profiles, Object... parameters) Adapt the current successful action as the expected result. -
Uses of UserProfile in org.pac4j.core.logout
Methods in org.pac4j.core.logout with parameters of type UserProfileModifier and TypeMethodDescriptionCasLogoutActionBuilder.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) GoogleLogoutActionBuilder.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) LogoutActionBuilder.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) Return theRedirectionActionfor logout.NoLogoutActionBuilder.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) -
Uses of UserProfile in org.pac4j.core.profile
Classes in org.pac4j.core.profile that implement UserProfileModifier and TypeClassDescriptionclassAnonymous profile.classThis class is the user profile retrieved from a provider after successful authentication: it's an identifier (string) and attributes (objects).classThis class is the base implementation with the default attribute getters which can be retrieved for most profiles.Methods in org.pac4j.core.profile with type parameters of type UserProfileModifier and TypeMethodDescriptionstatic <U extends UserProfile>
List<U>ProfileHelper.flatIntoAProfileList(Map<String, U> profiles) Flat the map of profiles into a list of profiles.static <U extends UserProfile>
Optional<U>ProfileHelper.flatIntoOneProfile(Collection<U> profiles) Flat the list of profiles into a single optional profile (skip any anonymous profile unless it's the only one).<U extends UserProfile>
Optional<U>ProfileManager.getProfile(Class<U> clazz) Methods in org.pac4j.core.profile that return UserProfileModifier and TypeMethodDescriptionstatic UserProfileProfileHelper.buildUserProfileByClassCompleteName(String completeName) Build a profile by its class name.Methods in org.pac4j.core.profile that return types with arguments of type UserProfileModifier and TypeMethodDescriptionProfileManager.getProfile()Retrieve the first user profile if it exists, ignoring anyAnonymousProfileif possible.ProfileManager.getProfiles()Retrieve all user profiles.protected LinkedHashMap<String,UserProfile> ProfileManager.retrieveAll(boolean readFromSession) Retrieve the map of profiles from the session or the request.Methods in org.pac4j.core.profile with parameters of type UserProfileModifier and TypeMethodDescriptionprotected StringProfileManager.retrieveClientName(UserProfile profile) voidProfileManager.save(boolean saveInSession, UserProfile profile, boolean multiProfile) Save the given user profile (replace the current one if multi profiles are not supported, add it otherwise).Method parameters in org.pac4j.core.profile with type arguments of type UserProfileModifier and TypeMethodDescriptionstatic booleanProfileHelper.isTypedIdOf(String id, Class<? extends UserProfile> clazz) Indicate if the user identifier matches this kind of profile.protected voidProfileManager.removeOrRenewExpiredProfiles(LinkedHashMap<String, UserProfile> profiles, boolean readFromSession) protected voidProfileManager.saveAll(LinkedHashMap<String, UserProfile> profiles, boolean saveInSession) Constructors in org.pac4j.core.profile with parameters of type UserProfile -
Uses of UserProfile in org.pac4j.core.profile.creator
Methods in org.pac4j.core.profile.creator that return types with arguments of type UserProfileModifier and TypeMethodDescriptionAuthenticatorProfileCreator.create(Credentials credentials, WebContext context, SessionStore sessionStore) LocalCachingProfileCreator.create(Credentials credentials, WebContext context, SessionStore sessionStore) ProfileCreator.create(Credentials credentials, WebContext context, SessionStore sessionStore) Create a profile from a credentials.LocalCachingProfileCreator.getStore()Method parameters in org.pac4j.core.profile.creator with type arguments of type UserProfileModifier and TypeMethodDescriptionvoidLocalCachingProfileCreator.setStore(Store<Credentials, UserProfile> store) Constructor parameters in org.pac4j.core.profile.creator with type arguments of type UserProfileModifierConstructorDescriptionLocalCachingProfileCreator(ProfileCreator delegate, Store<Credentials, UserProfile> store) -
Uses of UserProfile in org.pac4j.core.profile.definition
Methods in org.pac4j.core.profile.definition that return UserProfileModifier and TypeMethodDescriptionProfileDefinition.newProfile(Object... parameters) Return the new built or restored profile.Methods in org.pac4j.core.profile.definition with parameters of type UserProfileModifier and TypeMethodDescriptionvoidProfileDefinition.convertAndAdd(UserProfile profile, Map<String, Object> profileAttributes, Map<String, Object> authenticationAttributes) Convert the profile and authentication attributes, if necessary, and add them to the profile.voidProfileDefinition.convertAndAdd(UserProfile profile, AttributeLocation attributeLocation, String name, Object value) Convert a profile or authentication attribute, if necessary, and add it to the profile. -
Uses of UserProfile in org.pac4j.core.profile.jwt
Classes in org.pac4j.core.profile.jwt that implement UserProfile