Uses of Class
org.craftercms.profile.api.exceptions.ProfileException
Packages that use ProfileException
Package
Description
-
Uses of ProfileException in org.craftercms.profile.api.exceptions
Subclasses of ProfileException in org.craftercms.profile.api.exceptions -
Uses of ProfileException in org.craftercms.profile.api.services
Methods in org.craftercms.profile.api.services that throw ProfileExceptionModifier and TypeMethodDescriptionTenantService.addAttributeDefinitions
(String tenantName, Collection<AttributeDefinition> attributeDefinitions) Adds the given attribute definitions to the specified tenant.ProfileService.addProfileAttachment
(String profileId, String attachmentName, InputStream file) Saves a Profile AttachmentProfileService.addRoles
(String profileId, Collection<String> roles, String... attributesToReturn) Assigns roles to the profile.TenantService.addRoles
(String tenantName, Collection<String> roles) Adds the given roles to the specified tenant.AuthenticationService.authenticate
(String tenantName, String username, String password) Authenticates the user, and returns a ticket identifying the authentication.ProfileService.changePassword
(String resetTokenId, String newPassword, String... attributesToReturn) Changes a profile's password, after a reset request has been sent.AuthenticationService.createPersistentLogin
(String profileId) Creates a persistent login, use for remember me functionality.ProfileService.createProfile
(String tenantName, String username, String password, String email, boolean enabled, Set<String> roles, Map<String, Object> attributes, String verificationUrl) Creates a new profile for a specific tenant name.TenantService.createTenant
(Tenant tenant) Creates the given tenant, failing if it already has been created.AuthenticationService.createTicket
(String profileId) Create a new ticket for the specified profile.AccessTokenService.createToken
(AccessToken token) Creates a new access token.ProfileService.createVerificationToken
(String profileId) Creates a token that can be sent to the user in an email as a link.void
AuthenticationService.deletePersistentLogin
(String loginId) Deletes the persistent login.void
ProfileService.deleteProfile
(String profileId) Deletes a profile.void
TenantService.deleteTenant
(String name) Deletes a tenant.void
AccessTokenService.deleteToken
(String id) Deletes the token with the given ID.void
ProfileService.deleteVerificationToken
(String tokenId) Deletes a verification token when it's not needed anymore (not necessary to call ifProfileService.verifyProfile(String, String...)
orProfileService.changePassword(String, String, String...)
, since they already delete the token.ProfileService.disableProfile
(String profileId, String... attributesToReturn) Disables a profile.ProfileService.enableProfile
(String profileId, String... attributesToReturn) Enables a profile.TenantService.getAllTenants()
Returns a list with all the tenants.AccessTokenService.getAllTokens()
Returns all the access tokens in the DB.ProfileService.getAttributes
(String profileId, String... attributesToReturn) Returns the attributes of a profile.AuthenticationService.getPersistentLogin
(String loginId) Returns the persistent login object for the given ID.ProfileService.getProfile
(String profileId, String... attributesToReturn) Returns the profile for the specified ID.ProfileService.getProfileAttachment
(String attachmentId, String profileId) Given the Attachment Id and the Profile Id, gets the Actual Attachment.ProfileService.getProfileAttachmentInformation
(String profileId, String attachmentId) Gets Profile attachment Information.ProfileService.getProfileAttachments
(String profileId) List all Attachments for the given profile.ProfileService.getProfileByQuery
(String tenantName, String query, String... attributesToReturn) Returns the single profile that matches the specified queryProfileService.getProfileByTicket
(String ticketId, String... attributesToReturn) Returns the profile for the specified ticket.ProfileService.getProfileByUsername
(String tenantName, String username, String... attributesToReturn) Returns the user for the specified tenant and usernamelong
ProfileService.getProfileCount
(String tenantName) Returns the number of profiles of the specified tenant.long
ProfileService.getProfileCountByQuery
(String tenantName, String query) Returns the number of profiles that match the query for the specified tenant.ProfileService.getProfileRange
(String tenantName, String sortBy, SortOrder sortOrder, Integer start, Integer count, String... attributesToReturn) Returns a range of profiles for the specified tenant.ProfileService.getProfilesByAttributeValue
(String tenantName, String attributeName, String attributeValue, String sortBy, SortOrder sortOrder, String... attributesToReturn) Returns the list of profiles that have the given attribute with the given value.ProfileService.getProfilesByExistingAttribute
(String tenantName, String attributeName, String sortBy, SortOrder sortOrder, String... attributesToReturn) Returns the list of profiles that have the given attribute, with any valueProfileService.getProfilesByIds
(List<String> profileIds, String sortBy, SortOrder sortOrder, String... attributesToReturn) Returns a list of profiles for the specified list of IDs.ProfileService.getProfilesByQuery
(String tenantName, String query, String sortBy, SortOrder sortOrder, Integer start, Integer count, String... attributesToReturn) Returns the profiles that match the specified query.ProfileService.getProfilesByRole
(String tenantName, String role, String sortBy, SortOrder sortOrder, String... attributesToReturn) Returns a list of profiles for a specific role and tenant.Returns a tenant.long
TenantService.getTenantCount()
Returns the total number of tenants.Returns the ticket object for the given ticket ID.Returns the token for the given ID.ProfileService.getVerificationToken
(String tokenId) Returns the verification token that corresponds to the given ID.void
AuthenticationService.invalidateTicket
(String ticketId) Invalidates the ticket.AuthenticationService.refreshPersistentLoginToken
(String loginId) Refreshes the token of the specified persistent login.TenantService.removeAttributeDefinitions
(String tenantName, Collection<String> attributeNames) Removes the given attribute definitions from the specified tenant.ProfileService.removeAttributes
(String profileId, Collection<String> attributeNames, String... attributesToReturn) Removes a list of attributes of a profile.ProfileService.removeRoles
(String profileId, Collection<String> roles, String... attributesToReturn) Removes assigned roles from a profile.TenantService.removeRoles
(String tenantName, Collection<String> roles) Removes the given roles from the specified tenant.ProfileService.resetPassword
(String profileId, String resetPasswordUrl, String... attributesToReturn) Sends an email to the profile's user to indicate that the password needs to be reset.ProfileService.setFailedLoginAttempts
(String profileId, int failedAttempts, String... attributesToReturn) Sets the number of failed login attempts for the profile.ProfileService.setLastFailedLogin
(String profileId, Date lastFailedLogin, String... attributesToReturn) Sets the date of the last failed login for the profile.TenantService.updateAttributeDefinitions
(String tenantName, Collection<AttributeDefinition> attributeDefinitions) Updates the given attribute definitions of the specified tenant.ProfileService.updateAttributes
(String profileId, Map<String, Object> attributes, String... attributesToReturn) Updates the attributes of a profile, by merging the specified attributes with the existing attributes.ProfileService.updateProfile
(String profileId, String username, String password, String email, Boolean enabled, Set<String> roles, Map<String, Object> attributes, String... attributesToReturn) Updates the profile's info.TenantService.updateTenant
(Tenant tenant) Updates the given tenant.TenantService.verifyNewProfiles
(String tenantName, boolean verify) Sets if new profiles for the specified tenant should be verified or not.ProfileService.verifyProfile
(String verificationTokenId, String... attributesToReturn) Sets the profile as verified if the verification token is valid. -
Uses of ProfileException in org.craftercms.profile.controllers.rest
Methods in org.craftercms.profile.controllers.rest with parameters of type ProfileExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<Object> ExceptionHandlers.handleProfileException
(ProfileException e, org.springframework.web.context.request.WebRequest request) Methods in org.craftercms.profile.controllers.rest that throw ProfileExceptionModifier and TypeMethodDescriptionTenantController.addAttributeDefinitions
(String tenantName, Collection<AttributeDefinition> attributeDefinitions) ProfileController.addRoles
(String profileId, Collection<String> roles, String[] attributesToReturn) TenantController.addRoles
(String tenantName, Collection<String> roles) AuthenticationController.authenticate
(String tenantName, String username, String password) ProfileController.changePassword
(String resetTokenId, String newPassword, String[] attributesToReturn) AuthenticationController.createPersistentLogin
(String profileId) ProfileController.createProfile
(String tenantName, String username, String password, String email, boolean enabled, Set<String> roles, String serializedAttributes, String verificationUrl) TenantController.createTenant
(Tenant tenant) AuthenticationController.createTicket
(String profileId) AccessTokenController.createToken
(AccessToken token) ProfileController.createVerificationToken
(String profileId) void
AuthenticationController.deletePersistentLogin
(String loginId) void
ProfileController.deleteProfile
(String profileId) void
TenantController.deleteTenant
(String name) void
AccessTokenController.deleteToken
(String id) void
ProfileController.deleteVerificationToken
(String tokenId) ProfileController.disableProfile
(String profileId, String[] attributesToReturn) ProfileController.enableProfile
(String profileId, String[] attributesToReturn) TenantController.getAllTenants()
AccessTokenController.getAllTokens()
void
ProfileController.getAttachment
(String profileId, String attachmentId, jakarta.servlet.http.HttpServletResponse response) ProfileController.getAttachmentDetails
(String profileId, String attachmentId) ProfileController.getAttachments
(String profileId) ProfileController.getAttributes
(String profileId, String[] attributesToReturn) AuthenticationController.getPersistentLogin
(String loginId) ProfileController.getProfile
(String profileId, String[] attributesToReturn) ProfileController.getProfileByIds
(List<String> profileIds, String sortBy, SortOrder sortOrder, String[] attributesToReturn) ProfileController.getProfileByQuery
(String tenantName, String query, String[] attributesToReturn) ProfileController.getProfileByTicket
(String ticketId, String[] attributesToReturn) ProfileController.getProfileByUsername
(String tenantName, String username, String[] attributesToReturn) long
ProfileController.getProfileCount
(String tenantName) long
ProfileController.getProfileCount
(String tenantName, String query) ProfileController.getProfileRange
(String tenantName, String sortBy, SortOrder sortOrder, Integer start, Integer count, String[] attributesToReturn) ProfileController.getProfilesByAttributeValue
(String tenantName, String attributeName, String attributeValue, String sortBy, SortOrder sortOrder, String[] attributesToReturn) ProfileController.getProfilesByExistingAttribute
(String tenantName, String attributeName, String sortBy, SortOrder sortOrder, String[] attributesToReturn) ProfileController.getProfilesByQuery
(String tenantName, String query, String sortBy, SortOrder sortOrder, Integer start, Integer count, String[] attributesToReturn) ProfileController.getProfilesByRole
(String tenantName, String role, String sortBy, SortOrder sortOrder, String[] attributesToReturn) long
TenantController.getTenantCount()
ProfileController.getVerificationToken
(String tokenId) void
AuthenticationController.invalidateTicket
(String ticketId) AuthenticationController.refreshPersistentLoginToken
(String loginId) TenantController.removeAttributeDefinitions
(String tenantName, Collection<String> attributeNames) ProfileController.removeAttributes
(String profileId, Collection<String> attributeNames, String[] attributesToReturn) ProfileController.removeRoles
(String profileId, Collection<String> roles, String[] attributesToReturn) TenantController.removeRoles
(String tenantName, Collection<String> roles) ProfileController.resetPassword
(String profileId, String resetPasswordUrl, String[] attributesToReturn) TenantController.updateAttributeDefinitions
(String tenantName, Collection<AttributeDefinition> attributeDefinitions) ProfileController.updateAttributes
(String profileId, Map<String, Object> attributes, String[] attributesToReturn) ProfileController.updateProfile
(String profileId, String username, String password, String email, Boolean enabled, Set<String> roles, String serializedAttributes, String[] attributesToReturn) TenantController.updateTenant
(Tenant tenant) ProfileController.uploadProfileAttachment
(String profileId, String filename, org.springframework.web.multipart.MultipartFile attachment) TenantController.verifyNewProfiles
(String tenantName, boolean verify) ProfileController.verifyProfile
(String verificationTokenId, String[] attributesToReturn) -
Uses of ProfileException in org.craftercms.profile.exceptions
Subclasses of ProfileException in org.craftercms.profile.exceptionsModifier and TypeClassDescriptionclass
Exception thrown when a request is rejected because of a problem with the access token (not provided, expired or not found).static class
static class
static class
class
Thrown when a create access token operation fails because an access token with the same properties already exists.class
Thrown if an attribute has already been defined.class
Thrown when an attribute definition is being updated or when an attribute value is being set but not attribute definition was found.class
Thrown when a username/password pair is invalid.class
Thrown when an operation on a profile (like authentication) can't be performed because the profile is disabled.class
Thrown when an email address is in an invalid format.class
Thrown when a specified Mongo query is invalid, because of illegal operators ($where) or non-readable attributes.class
Thrown when a specified access token ID doesn't correspond to any known access token.class
Thrown if no persistent login with a specified ID was found.class
Thrown if no profile with a specified ID was found.static class
static class
static class
static class
class
Thrown if no tenant with a specified name was found.class
Thrown if no ticket with a specified ID was found.static class
class
Thrown when a serialized verification token is in an invalid format.class
Thrown the JSON in a param can't be correctly deserialized.class
Thrown when a create profile operation fails because a profile with the same tenant and username already exists.class
Throw when account had too much failed attempts.class
ProfileException
used by clients to indicate a REST service error.class
Thrown when a create tenant operation fails because a tenant with the same name already exists. -
Uses of ProfileException in org.craftercms.profile.interceptors
Methods in org.craftercms.profile.interceptors that throw ProfileExceptionModifier and TypeMethodDescriptionprotected AccessToken
AccessTokenCheckingInterceptor.getAccessToken
(jakarta.servlet.http.HttpServletRequest request) -
Uses of ProfileException in org.craftercms.profile.management.web.controllers
Methods in org.craftercms.profile.management.web.controllers with parameters of type ProfileExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<Object> ExceptionHandlers.handleProfileException
(ProfileException e, org.springframework.web.context.request.WebRequest request) Methods in org.craftercms.profile.management.web.controllers that throw ProfileExceptionModifier and TypeMethodDescriptionAccessTokenController.createAccessToken
(AccessToken token) ProfileController.createProfile
(Profile profile) TenantController.createTenant
(Tenant tenant) AccessTokenController.deleteAccessToken
(String id) ProfileController.deleteProfile
(String id) TenantController.deleteTenant
(String name) AccessTokenController.getAccessToken
(String id) AccessTokenController.getAllAccessTokens()
ProfileController.getProfile
(String id) long
ProfileController.getProfileCount
(String tenantName, String query) ProfileController.getProfileList
(String tenantName, String query, String sortBy, SortOrder sortOrder, Integer start, Integer limit) TenantController.getTenantNames()
ProfileController.updateProfile
(Profile profile) TenantController.updateTenant
(Tenant tenant) AccessTokenController.viewAccessToken()
AccessTokenController.viewAccessTokenList()
AccessTokenController.viewNewAccessToken()
org.springframework.web.servlet.ModelAndView
TenantController.viewNewTenant()
org.springframework.web.servlet.ModelAndView
TenantController.viewTenant()
TenantController.viewTenantList()
-
Uses of ProfileException in org.craftercms.profile.services
Methods in org.craftercms.profile.services that throw ProfileExceptionModifier and TypeMethodDescriptionVerificationService.createToken
(Profile profile) Creates a new verification token.void
VerificationService.deleteToken
(String tokenId) Deletes the token corresponding the specified ID.Returns the token that corresponds to the specified IDvoid
VerificationService.sendEmail
(VerificationToken token, Profile profile, String verificationUrl, String from, String subject, String templateName) Creates a verification token and sends the user an email with the token for verification. -
Uses of ProfileException in org.craftercms.profile.services.impl
Methods in org.craftercms.profile.services.impl that throw ProfileExceptionModifier and TypeMethodDescriptionTenantServiceImpl.addAttributeDefinitions
(String tenantName, Collection<AttributeDefinition> attributeDefinitions) TenantServiceRestClient.addAttributeDefinitions
(String tenantName, Collection<AttributeDefinition> attributeDefinitions) protected void
TenantServiceImpl.addDefaultValue
(String tenantName, String attributeName, Object defaultValue) ProfileServiceImpl.addProfileAttachment
(String profileId, String attachmentName, InputStream file) ProfileServiceRestClient.addProfileAttachment
(String profileId, String attachmentName, InputStream file) ProfileServiceImpl.addRoles
(String profileId, Collection<String> roles, String... attributesToReturn) ProfileServiceRestClient.addRoles
(String profileId, Collection<String> roles, String... attributesToReturn) TenantServiceImpl.addRoles
(String tenantName, Collection<String> roles) TenantServiceRestClient.addRoles
(String tenantName, Collection<String> roles) AuthenticationServiceImpl.authenticate
(String tenantName, String username, String password) AuthenticationServiceRestClient.authenticate
(String tenantName, String username, String password) ProfileServiceImpl.changePassword
(String resetTokenId, String newPassword, String... attributesToReturn) ProfileServiceRestClient.changePassword
(String resetTokenId, String newPassword, String... attributesToReturn) protected void
AuthenticationServiceImpl.countAsFail
(Profile profile) AuthenticationServiceImpl.createPersistentLogin
(String profileId) AuthenticationServiceRestClient.createPersistentLogin
(String profileId) ProfileServiceImpl.createProfile
(String tenantName, String username, String password, String email, boolean enabled, Set<String> roles, Map<String, Object> attributes, String verificationUrl) ProfileServiceRestClient.createProfile
(String tenantName, String username, String password, String email, boolean enabled, Set<String> roles, Map<String, Object> attributes, String verificationUrl) TenantServiceImpl.createTenant
(Tenant tenant) TenantServiceRestClient.createTenant
(Tenant tenant) AuthenticationServiceImpl.createTicket
(String profileId) AuthenticationServiceRestClient.createTicket
(String profileId) AccessTokenServiceImpl.createToken
(AccessToken token) AccessTokenServiceRestClient.createToken
(AccessToken token) VerificationServiceImpl.createToken
(Profile profile) ProfileServiceImpl.createVerificationToken
(String profileId) ProfileServiceRestClient.createVerificationToken
(String profileId) void
AuthenticationServiceImpl.deletePersistentLogin
(String loginId) void
AuthenticationServiceRestClient.deletePersistentLogin
(String loginId) void
ProfileServiceImpl.deleteProfile
(String profileId) void
ProfileServiceRestClient.deleteProfile
(String profileId) void
TenantServiceImpl.deleteTenant
(String name) void
TenantServiceRestClient.deleteTenant
(String name) void
AccessTokenServiceImpl.deleteToken
(String id) void
AccessTokenServiceRestClient.deleteToken
(String id) void
VerificationServiceImpl.deleteToken
(String tokenId) void
ProfileServiceImpl.deleteVerificationToken
(String tokenId) void
ProfileServiceRestClient.deleteVerificationToken
(String tokenId) ProfileServiceImpl.disableProfile
(String profileId, String... attributesToReturn) ProfileServiceRestClient.disableProfile
(String profileId, String... attributesToReturn) protected <T> T
AbstractProfileRestClientBase.doGetForObject
(String url, Class<T> responseType, Object... uriVariables) protected <T> T
AbstractProfileRestClientBase.doGetForObject
(String url, org.springframework.core.ParameterizedTypeReference<T> responseType, Object... uriVariables) protected <T> T
AbstractProfileRestClientBase.doGetForObject
(URI url, Class<T> responseType) protected <T> T
AbstractProfileRestClientBase.doGetForObject
(URI url, org.springframework.core.ParameterizedTypeReference<T> responseType) protected URI
AbstractProfileRestClientBase.doPostForLocation
(String url, Object request, Object... uriVariables) protected <T> T
AbstractProfileRestClientBase.doPostForObject
(String url, Object request, Class<T> responseType, Object... uriVariables) protected <T> T
AbstractProfileRestClientBase.doPostForUpload
(String url, org.springframework.util.MultiValueMap<String, Object> request, Class<T> responseType, Object... uriVariables) void
ProfileServiceImpl.UpdateCallback.doWithProfile
(ProfileUpdater profileUpdater) void
TenantServiceImpl.UpdateCallback.doWithTenant
(TenantUpdater tenantUpdater) ProfileServiceImpl.enableProfile
(String profileId, String... attributesToReturn) ProfileServiceRestClient.enableProfile
(String profileId, String... attributesToReturn) protected void
ProfileServiceImpl.filterNonReadableAttributes
(Iterable<Profile> profiles) protected void
ProfileServiceImpl.filterNonReadableAttributes
(Profile profile) protected void
ProfileServiceImpl.filterNonReadableAttributes
(Tenant tenant, Iterable<Profile> profiles) protected void
ProfileServiceImpl.filterNonReadableAttributes
(Tenant tenant, Profile profile) TenantServiceImpl.getAllTenants()
TenantServiceRestClient.getAllTenants()
AccessTokenServiceImpl.getAllTokens()
AccessTokenServiceRestClient.getAllTokens()
ProfileServiceImpl.getAttributes
(String profileId, String... attributesToReturn) ProfileServiceRestClient.getAttributes
(String profileId, String... attributesToReturn) protected String
ProfileServiceImpl.getFinalQuery
(Tenant tenant, String query) protected Profile
ProfileServiceImpl.getNonNullProfile
(String id, String... attributesToReturn) AuthenticationServiceImpl.getPersistentLogin
(String loginId) AuthenticationServiceRestClient.getPersistentLogin
(String loginId) ProfileServiceImpl.getProfile
(String profileId, String... attributesToReturn) ProfileServiceRestClient.getProfile
(String profileId, String... attributesToReturn) ProfileServiceImpl.getProfileAttachment
(String attachmentId, String profileId) ProfileServiceRestClient.getProfileAttachment
(String attachmentId, String profileId) ProfileServiceImpl.getProfileAttachmentInformation
(String profileId, String attachmentId) ProfileServiceRestClient.getProfileAttachmentInformation
(String profileId, String attachmentId) ProfileServiceImpl.getProfileAttachments
(String profileId) ProfileServiceRestClient.getProfileAttachments
(String profileId) ProfileServiceImpl.getProfileByQuery
(String tenantName, String query, String... attributesToReturn) ProfileServiceRestClient.getProfileByQuery
(String tenantName, String query, String... attributesToReturn) ProfileServiceImpl.getProfileByTicket
(String ticketId, String... attributesToReturn) ProfileServiceRestClient.getProfileByTicket
(String ticketId, String... attributesToReturn) ProfileServiceImpl.getProfileByUsername
(String tenantName, String username, String... attributesToReturn) ProfileServiceRestClient.getProfileByUsername
(String tenantName, String username, String... attributesToReturn) long
ProfileServiceImpl.getProfileCount
(String tenantName) long
ProfileServiceRestClient.getProfileCount
(String tenantName) long
ProfileServiceImpl.getProfileCountByQuery
(String tenantName, String query) long
ProfileServiceRestClient.getProfileCountByQuery
(String tenantName, String query) ProfileServiceImpl.getProfileRange
(String tenantName, String sortBy, SortOrder sortOrder, Integer start, Integer count, String... attributesToReturn) ProfileServiceRestClient.getProfileRange
(String tenantName, String sortBy, SortOrder sortOrder, Integer start, Integer count, String... attributesToReturn) ProfileServiceImpl.getProfilesByAttributeValue
(String tenantName, String attributeName, String attributeValue, String sortBy, SortOrder sortOrder, String... attributesToReturn) ProfileServiceRestClient.getProfilesByAttributeValue
(String tenantName, String attributeName, String attributeValue, String sortBy, SortOrder sortOrder, String... attributesToReturn) ProfileServiceImpl.getProfilesByExistingAttribute
(String tenantName, String attributeName, String sortBy, SortOrder sortOrder, String... attributesToReturn) ProfileServiceRestClient.getProfilesByExistingAttribute
(String tenantName, String attributeName, String sortBy, SortOrder sortOrder, String... attributesToReturn) ProfileServiceImpl.getProfilesByIds
(List<String> profileIds, String sortBy, SortOrder sortOrder, String... attributesToReturn) ProfileServiceRestClient.getProfilesByIds
(List<String> profileIds, String sortBy, SortOrder sortOrder, String... attributesToReturn) ProfileServiceImpl.getProfilesByQuery
(String tenantName, String query, String sortBy, SortOrder sortOrder, Integer start, Integer count, String... attributesToReturn) ProfileServiceRestClient.getProfilesByQuery
(String tenantName, String query, String sortBy, SortOrder sortOrder, Integer start, Integer count, String... attributesToReturn) ProfileServiceImpl.getProfilesByRole
(String tenantName, String role, String sortBy, SortOrder sortOrder, String... attributesToReturn) ProfileServiceRestClient.getProfilesByRole
(String tenantName, String role, String sortBy, SortOrder sortOrder, String... attributesToReturn) protected Tenant
long
TenantServiceImpl.getTenantCount()
long
TenantServiceRestClient.getTenantCount()
ProfileServiceImpl.getVerificationToken
(String tokenId) ProfileServiceRestClient.getVerificationToken
(String tokenId) protected void
AbstractProfileRestClientBase.handleException
(Exception e) protected void
AbstractProfileRestClientBase.handleRestServiceException
(org.craftercms.commons.rest.RestServiceException e) void
AuthenticationServiceImpl.invalidateTicket
(String ticketId) void
AuthenticationServiceRestClient.invalidateTicket
(String ticketId) AuthenticationServiceImpl.refreshPersistentLoginToken
(String loginId) AuthenticationServiceRestClient.refreshPersistentLoginToken
(String loginId) protected void
ProfileServiceImpl.rejectAttributesIfActionNotAllowed
(String tenantName, Collection<String> attributeNames, AttributeAction action) protected void
ProfileServiceImpl.rejectAttributesIfActionNotAllowed
(Tenant tenant, Collection<String> attributeNames, AttributeAction action) TenantServiceImpl.removeAttributeDefinitions
(String tenantName, Collection<String> attributeNames) TenantServiceRestClient.removeAttributeDefinitions
(String tenantName, Collection<String> attributeNames) protected void
TenantServiceImpl.removeAttributeFromProfiles
(String tenantName, String attributeName) ProfileServiceImpl.removeAttributes
(String profileId, Collection<String> attributeNames, String... attributesToReturn) ProfileServiceRestClient.removeAttributes
(String profileId, Collection<String> attributeNames, String... attributesToReturn) protected void
TenantServiceImpl.removeRoleFromProfiles
(String tenantName, String role) ProfileServiceImpl.removeRoles
(String profileId, Collection<String> roles, String... attributesToReturn) ProfileServiceRestClient.removeRoles
(String profileId, Collection<String> roles, String... attributesToReturn) TenantServiceImpl.removeRoles
(String tenantName, Collection<String> roles) TenantServiceRestClient.removeRoles
(String tenantName, Collection<String> roles) ProfileServiceImpl.resetPassword
(String profileId, String resetPasswordUrl, String... attributesToReturn) ProfileServiceRestClient.resetPassword
(String profileId, String resetPasswordUrl, String... attributesToReturn) void
VerificationServiceImpl.sendEmail
(VerificationToken token, Profile profile, String verificationBaseUrl, String from, String subject, String templateName) protected String
ProfileServiceRestClient.serializeAttributes
(Map<String, Object> attributes) ProfileServiceImpl.setFailedLoginAttempts
(String profileId, int failedAttempts, String... attributesToReturn) ProfileServiceRestClient.setFailedLoginAttempts
(String profileId, int failedLoginAttempts, String... attributesToReturn) ProfileServiceImpl.setLastFailedLogin
(String profileId, Date lastFailedLogin, String... attributesToReturn) ProfileServiceRestClient.setLastFailedLogin
(String profileId, Date lastFailedLogin, String... attributesToReturn) TenantServiceImpl.updateAttributeDefinitions
(String tenantName, Collection<AttributeDefinition> attributeDefinitions) TenantServiceRestClient.updateAttributeDefinitions
(String tenantName, Collection<AttributeDefinition> attributeDefinitions) ProfileServiceImpl.updateAttributes
(String profileId, Map<String, Object> attributes, String... attributesToReturn) ProfileServiceRestClient.updateAttributes
(String profileId, Map<String, Object> attributes, String... attributesToReturn) ProfileServiceImpl.updateProfile
(String profileId, String username, String password, String email, Boolean enabled, Set<String> roles, Map<String, Object> attributes, String... attributesToReturn) protected Profile
ProfileServiceImpl.updateProfile
(String profileId, ProfileServiceImpl.UpdateCallback callback, String... attributesToReturn) ProfileServiceRestClient.updateProfile
(String profileId, String username, String password, String email, Boolean enabled, Set<String> roles, Map<String, Object> attributes, String... attributesToReturn) protected Tenant
TenantServiceImpl.updateTenant
(String tenantName, TenantServiceImpl.UpdateCallback callback) TenantServiceImpl.updateTenant
(Tenant tenant) TenantServiceRestClient.updateTenant
(Tenant tenant) protected void
ProfileServiceImpl.validateQuery
(Tenant tenant, String query) TenantServiceImpl.verifyNewProfiles
(String tenantName, boolean verify) TenantServiceRestClient.verifyNewProfiles
(String tenantName, boolean verify) ProfileServiceImpl.verifyProfile
(String verificationTokenId, String... attributesToReturn) ProfileServiceRestClient.verifyProfile
(String verificationTokenId, String... attributesToReturn) -
Uses of ProfileException in org.craftercms.security.processors.impl
Methods in org.craftercms.security.processors.impl that throw ProfileExceptionModifier and TypeMethodDescriptionprotected Profile
AuthenticationHeadersLoginProcessor.createProfileWithSsoInfo
(String username, Tenant tenant, jakarta.servlet.http.HttpServletRequest request) protected Tenant
AuthenticationHeadersLoginProcessor.getSsoEnabledTenant
(String[] tenantNames) -
Uses of ProfileException in org.craftercms.security.utils.tenant
Methods in org.craftercms.security.utils.tenant that throw ProfileExceptionModifier and TypeMethodDescriptionTenantUtils.getTenantNames
(TenantService tenantService) Returns a list with the names of all tenants.