Uses of Class
pl.edu.icm.unity.exceptions.EngineException
Package
Description
The main entry point to engine's functionality.
Authentication related API and utilities
Local authentication API and general purpose support classes
Remote authentication API
Support for bulk operations: retrieving of mass data at once, that can be reused for obtaining fast results
on large amounts of records (e.g.
Confirmations API
Endpoint API
Identity API
IdP-type endpoints support
Message bundles and localization support
Notification API
Network server related APIs
Unity login session API
Low level tokens management API
Generic translation profile interface
Registration translation profile API
Input translation profiles API
Output translation API
Misc utilities
Support for registration by invitation, with one time use registration codes.
-
Uses of EngineException in pl.edu.icm.unity.engine.api
Modifier and TypeMethodDescriptionvoid
AttributeClassManagement.addAttributeClass
(AttributesClass clazz) Defines a new attribute classvoid
AttributeTypeManagement.addAttributeType
(AttributeType at) Adds a new attribute type.void
AuthenticationFlowManagement.addAuthenticationFlow
(AuthenticationFlowDefinition authenticatorsFlowDefinition) Add new authentication flowvoid
CredentialManagement.addCredentialDefinition
(CredentialDefinition credentialDefinition) Defines a new credential definition, so it can be assigned to entities via credential requirements and to local authenticators.void
CredentialRequirementManagement.addCredentialRequirement
(CredentialRequirements updated) Defines a new credential requirements instancevoid
EnquiryManagement.addEnquiry
(EnquiryForm form) Add a new enquiry form.EntityManagement.addEntity
(IdentityParam toAdd, String credReqIdId, EntityState initialState) AsEntityManagement.addEntity(IdentityParam, String, EntityState, List)
with the empty list of attributes.default Identity
EntityManagement.addEntity
(IdentityParam toAdd, String credReqIdId, EntityState initialState, boolean extractAttributes, List<Attribute> attributes) Deprecated.EntityManagement.addEntity
(IdentityParam toAdd, String credReqId, EntityState initialState, List<Attribute> attributes) Adds a new entity with an initial identity.EntityManagement.addEntity
(IdentityParam toAdd, EntityState initialState) AsEntityManagement.addEntity(IdentityParam, EntityState, List)
with the empty list of attributes and default credential requirements.default Identity
EntityManagement.addEntity
(IdentityParam toAdd, EntityState initialState, boolean extractAttributes) Deprecated.default Identity
EntityManagement.addEntity
(IdentityParam toAdd, EntityState initialState, boolean extractAttributes, List<Attribute> attributes) Deprecated.EntityManagement.addEntity
(IdentityParam toAdd, EntityState initialState, List<Attribute> attributes) AsEntityManagement.addEntity(IdentityParam, String, EntityState, List)
with the empty list of attributes and default credential requirements.void
RegistrationsManagement.addForm
(RegistrationForm form) Add a new registration form.void
Adds a new groupvoid
Adds a new group in a recursive wayvoid
Adds new groupsEntityManagement.addIdentity
(IdentityParam toAdd, EntityParam parentEntity) Adds a new identity under existing entity.default Identity
EntityManagement.addIdentity
(IdentityParam toAdd, EntityParam parentEntity, boolean extractAttributes) Deprecated.void
IdpStatisticManagement.addIdpStatistic
(IdpStatistic toAdd) InvitationManagement.addInvitation
(InvitationParam invitation) Associates a new invitation with a form.void
GroupsManagement.addMemberFromParent
(String path, EntityParam entity) AsGroupsManagement.addMemberFromParent(String, EntityParam, List)
with an empty list of attribute classes.void
GroupsManagement.addMemberFromParent
(String path, EntityParam entity, List<Attribute> attributes) Adds a new member to the group.void
GroupsManagement.addMemberFromParent
(String path, EntityParam entity, List<Attribute> attributes, String idp, String translationProfile) Adds a new member to the group.void
NotificationsManagement.addNotificationChannel
(NotificationChannel toAdd) Creates a new channel for a given facility.void
PKIManagement.addPersistedCertificate
(NamedCertificate toAdd) Adds a new persisted certificatevoid
TranslationProfileManagement.addProfile
(TranslationProfile toAdd) void
RealmsManagement.addRealm
(AuthenticationRealm realm) Creates a new realmvoid
MessageTemplateManagement.addTemplate
(MessageTemplate toAdd) void
PKIManagement.addVolatileCertificate
(String name, X509Certificate updated) Adds a new volatile certificatevoid
AttributesManagement.createAttribute
(EntityParam entity, Attribute attribute) Creates an attribute (must not be present).void
AttributesManagement.createAttributeSuppressingConfirmation
(EntityParam entity, Attribute attribute) Creates an attribute (must not be present).AuthenticatorManagement.createAuthenticator
(String id, String typeId, String config, String credentialId) Creates a new authenticatorvoid
IdpStatisticManagement.deleteOlderThan
(LocalDateTime olderThan) EndpointManagement.deploy
(String typeId, String endpointName, String address, EndpointConfiguration configuration) Deploys a new instance of an endpoint of id type, at address location.ServerManagement.exportDb
(DBDumpContentElements content) Exports database contents to a JSON file.AttributesManagement.getAllAttributes
(EntityParam entity, boolean effective, String groupPath, String attributeTypeId, boolean allowDegrade) Returns attributes of an entity, including hidden ones.AttributesManagement.getAllAttributes
(EntityParam entity, boolean effective, List<GroupPattern> groupPathPatterns, String attributeTypeId, boolean allowDegrade) Returns attributes of multiple groups, including hidden ones.PKIManagement.getAllCertificateNames()
EntityManagement.getAllEntitiesWithContactEmails
(Set<String> contactEmails) Returns entities with assigned e-mail - as attribute or identityGroupsManagement.getAllGroups()
AttributeClassManagement.getAttributeClass
(String name) AttributeClassManagement.getAttributeClasses()
AttributesManagement.getAttributes
(EntityParam entity, String groupPath, String attributeTypeId) Returns visible attributes of an entity.AttributeTypeManagement.getAttributeType
(String name) AttributeTypeManagement.getAttributeTypes()
AttributeTypeManagement.getAttributeTypesAsMap()
AuthenticationFlowManagement.getAuthenticationFlow
(String name) Get authentication flow by given nameAuthenticationFlowManagement.getAuthenticationFlows()
AuthenticatorManagement.getAuthenticator
(String id) AuthenticatorManagement.getAuthenticators
(String bindingId) EnquiryManagement.getAvailableEnquires
(EntityParam entityParam, EnquirySelector selector) Allows to get enquiries according to the given filter.PKIManagement.getCertificate
(String name) GroupsManagement.getChildGroups
(String root) MessageTemplateManagement.getCompatibleTemplates
(String templateConsumer) GroupsManagement.getContents
(String path, int filter) Allows to retrieve group's contents and metadata.eu.emi.security.authn.x509.X509Credential
PKIManagement.getCredential
(String name) CredentialManagement.getCredentialDefinition
(String name) CredentialManagement.getCredentialDefinitions()
PKIManagement.getCredentialNames()
CredentialRequirementManagement.getCredentialRequirements()
CredentialRequirementManagement.getCredentialRequirements
(String name) CredentialManagement.getCredentialTypes()
EndpointManagement.getDeployedEndpoints()
EndpointManagement.getEndpointTypes()
EnquiryManagement.getEnquires()
EnquiryManagement.getEnquiry
(String id) EnquiryManagement.getEnquiryResponses()
Lists all responsesEntityManagement.getEntity
(EntityParam entity) Returns information about an entity along with its all identities with authorization in '/'.EntityManagement.getEntity
(EntityParam entity, String target, boolean allowCreate, String group) Returns information about an entity along with its all identities.AttributeClassManagement.getEntityAttributeClasses
(EntityParam entity, String group) Attribute classes of a given entity in a groupEntityManagement.getEntityLabel
(EntityParam entity) EntityManagement.getEntityNoContext
(EntityParam entity, String group) Returns information about an entity along with its identities.RegistrationsManagement.getForms()
EntityManagement.getGroups
(EntityParam entity) Returns a collection with all groups where the entity is a member.GroupsManagement.getGroupsChain
(String path) EntityManagement.getGroupsForPresentation
(EntityParam entity) Returns a collection with all groups where the entity is a member.IdentityTypesManagement.getIdentityType
(String name) IdentityTypesManagement.getIdentityTypes()
IdpStatisticManagement.getIdpStatisticsSince
(LocalDateTime since, int limit) IdpStatisticManagement.getIdpStatisticsSinceGroupBy
(LocalDateTime since, IdpStatisticManagement.GroupBy groupBy, int sigInlimit, boolean skipZeroRecords) TranslationProfileManagement.getInputProfile
(String name) InvitationManagement.getInvitation
(String code) Retrieves an invitation by codeInvitationManagement.getInvitations()
NotificationsManagement.getNotificationChannels()
NotificationsManagement.getNotificationChannelsForTechnologies
(EnumSet<pl.edu.icm.unity.base.notifications.CommunicationTechnology> facilites) NotificationsManagement.getNotificationFacilities()
TranslationProfileManagement.getOutputProfile
(String name) PKIManagement.getPersistedCertificates()
PreferencesManagement.getPreference
(EntityParam entity, String preferenceId) Returns a given preference.MessageTemplateManagement.getPreprocessedTemplate
(String name) Returns a template after pre-processing (e.g.MessageTemplateManagement.getPreprocessedTemplate
(MessageTemplate toProcess) AsMessageTemplateManagement.getPreprocessedTemplate(String)
but returns the argument template after preprocessingReturns a realm by nameRealmsManagement.getRealms()
Returns all defined realmsRegistrationsManagement.getRegistrationRequest
(String id) RegistrationsManagement.getRegistrationRequests()
Lists all registration requests.BulkProcessingManagement.getScheduledRule
(String id) BulkProcessingManagement.getScheduledRules()
String[]
AttributeTypeManagement.getSupportedAttributeValueTypes()
MessageTemplateManagement.getTemplate
(String name) boolean
EntityCredentialManagement.getUserMFAOptIn
(EntityParam entity) eu.emi.security.authn.x509.X509CertChainValidatorExt
PKIManagement.getValidator
(String name) PKIManagement.getValidatorNames()
PKIManagement.getVolatileCertificates()
void
EnquiryManagement.ignoreEnquiry
(String enquiryId, EntityParam entity) Marks an enquiry as ignored for the given user.void
Imports the whole database from a given JSON fileUserImportManagement.importUser
(List<UserImportSpec> imports) Perform user import.TranslationProfileManagement.listInputProfiles()
TranslationProfileManagement.listOutputProfiles()
MessageTemplateManagement.listTemplates()
ServerManagement.loadConfigurationFile
(String path) Load configuration filevoid
EntityManagement.mergeEntities
(EntityParam target, EntityParam merged, boolean safeMode) Merge the 2nd entity with the first one.void
EnquiryManagement.processEnquiryResponse
(String id, EnquiryResponse finalResponse, RegistrationRequestAction action, String publicComment, String privateComment) Accepts, deletes or rejects a given enquiry response.void
RegistrationsManagement.processRegistrationRequest
(String id, RegistrationRequest finalRequest, RegistrationRequestAction action, String publicComment, String privateComment) Accepts, deletes or rejects a given registration request.void
ServerManagement.reloadConfig()
Reload main configuration file if changedvoid
AttributesManagement.removeAttribute
(EntityParam entity, String groupPath, String attributeTypeId) Removes a given attributevoid
AttributeClassManagement.removeAttributeClass
(String id) Removes attribute classvoid
AttributeTypeManagement.removeAttributeType
(String id, boolean deleteInstances) Removes attribute type by id.void
AuthenticationFlowManagement.removeAuthenticationFlow
(String toRemove) Removes an existing authentication flow.void
AuthenticatorManagement.removeAuthenticator
(String id) Removes an existing authenticator.void
PKIManagement.removeCertificate
(String toRemove) Removes a given certificatevoid
CredentialManagement.removeCredentialDefinition
(String toRemove) Removes the given credential definition.void
CredentialRequirementManagement.removeCredentialRequirement
(String toRemove, String replacementId) Removes the given credential set definition.void
EndpointManagement.removeEndpoint
(String id) Removes endpoint with given namevoid
EnquiryManagement.removeEnquiry
(String formId, boolean dropRequests) Remove an existing enquiry form.void
EnquiryManagement.removeEnquiryWithoutDependencyChecking
(String formId) Remove an existing enquiry form with no dependency checkingvoid
EntityManagement.removeEntity
(EntityParam toRemove) void
RegistrationsManagement.removeForm
(String formId, boolean dropRequests) Remove an existing registration form.void
RegistrationsManagement.removeFormWithoutDependencyChecking
(String formId) Remove an existing registration form with no dependency checkingvoid
GroupsManagement.removeGroup
(String path, boolean recursive) Removes a given group.void
EntityManagement.removeIdentity
(IdentityTaV toRemove) Deletes identity.void
InvitationManagement.removeInvitation
(String code) Removes a single invitationvoid
GroupsManagement.removeMember
(String path, EntityParam entity) Removes from the group and all subgroups if the user is in any.void
NotificationsManagement.removeNotificationChannel
(String channelName) Removes a specified channel.void
EnquiryManagement.removePendingStickyRequest
(String form, EntityParam entity) void
PreferencesManagement.removePreference
(EntityParam entity, String preferenceId) Removes the given preference.void
TranslationProfileManagement.removeProfile
(ProfileType type, String name) void
RealmsManagement.removeRealm
(String name) Remove realmvoid
BulkProcessingManagement.removeScheduledRule
(String id) void
MessageTemplateManagement.removeTemplate
(String name) void
ServerManagement.resetDatabase()
Removes the whole contents of the database and initializes it from scratch.void
EntityManagement.resetIdentity
(EntityParam entity, String typeIdToReset, String realm, String target) Reset a possibly targeted value of a dynamic identity.void
EntityManagement.scheduleEntityChange
(EntityParam toChange, Date changeTime, EntityScheduledOperation operation) Schedules an operation to be invoked at a given time on an entity.void
EntityManagement.scheduleRemovalByUser
(EntityParam toChange, Date changeTime) Sets the entity in theEntityState.onlyLoginPermitted
and schedules the entity removal at given time unless the user logs in before this time.BulkProcessingManagement.scheduleRule
(ScheduledProcessingRuleParam rule) void
EnquiryManagement.sendEnquiry
(String enquiryId) Triggers a (re?)send of enquiry notification message.void
InvitationManagement.sendInvitation
(String code) Sends an invitation message to the invitation specified by the code.void
AttributesManagement.setAttribute
(EntityParam entity, Attribute attribute) Updates or creates an attribute (may be present).void
AttributesManagement.setAttribute
(EntityParam entity, Attribute attribute, boolean allowUpdate) Deprecated.use any of other create or set methods.void
AttributesManagement.setAttributeSuppressingConfirmation
(EntityParam entity, Attribute attribute) Updates or creates an attribute (may be present).void
AttributeClassManagement.setEntityAttributeClasses
(EntityParam entity, String group, Collection<String> classes) Updates the set of entity's attribute classes in a given group.void
EntityCredentialManagement.setEntityCredential
(EntityParam entity, String credentialId, String secrets) Sets authentication secretes for the entity.void
EntityCredentialManagement.setEntityCredentialRequirements
(EntityParam entity, String requirementId) ChangesCredentialRequirements
of an entity.void
EntityCredentialManagement.setEntityCredentialStatus
(EntityParam entity, String credentialId, LocalCredentialState desiredCredentialState) Sets local credential state.void
EntityManagement.setEntityStatus
(EntityParam toChange, EntityState state) void
EntityManagement.setIdentities
(EntityParam entity, Collection<String> updatedTypes, Collection<? extends IdentityParam> newIdentities) Updates identities of a single entity.void
PreferencesManagement.setPreference
(EntityParam entity, String preferenceId, String value) Sets or updates a preference for the specified user.void
EntityCredentialManagement.setUserMFAOptIn
(EntityParam entity, boolean value) EnquiryManagement.submitEnquiryResponse
(EnquiryResponse response, RegistrationContext context) Submits an enquiry response.RegistrationsManagement.submitRegistrationRequest
(RegistrationRequest request, RegistrationContext context) Submits a new registration request.void
Removes a deployed endpointvoid
AttributeClassManagement.updateAttributeClass
(AttributesClass updated) Updates an attribute class.void
AttributeTypeManagement.updateAttributeType
(AttributeType at) Updates an existing attribute type.void
AuthenticationFlowManagement.updateAuthenticationFlow
(AuthenticationFlowDefinition authFlowdef) Update existing authentication flowvoid
AuthenticatorManagement.updateAuthenticator
(String id, String verificatorConfig, String localCredential) Updates a configuration of an existing authenticator instancevoid
PKIManagement.updateCertificate
(NamedCertificate toUpdate) Updates a given certificatevoid
CredentialManagement.updateCredentialDefinition
(CredentialDefinition updated, LocalCredentialState desiredCredState) Updates a definition of a credential.void
CredentialRequirementManagement.updateCredentialRequirement
(CredentialRequirements updated) Updated a definitions of credential set.void
EndpointManagement.updateEndpoint
(String id, EndpointConfiguration configuration) Updates a deployed endpoint configurationvoid
EnquiryManagement.updateEnquiry
(EnquiryForm updatedForm, boolean ignoreRequestsAndInvitations) Updates an existing enquiry form.void
RegistrationsManagement.updateForm
(RegistrationForm updatedForm, boolean ignoreRequestsAndInvitations) Updates an existing form.void
GroupsManagement.updateGroup
(String path, Group group) Updates the group, without specifying any special audit log informationvoid
GroupsManagement.updateGroup
(String path, Group group, String changedProperty, String newValue) Updates the group and pass information: changed property and new value used for audit log onlyvoid
EntityManagement.updateIdentity
(IdentityTaV original, IdentityParam updated) Updates a given identity.void
IdentityTypesManagement.updateIdentityType
(IdentityType toUpdate) Allows to update mutable part of identity type, as extracted fields or description.void
InvitationManagement.updateInvitation
(String code, InvitationParam invitation) Updates existing invitation.void
NotificationsManagement.updateNotificationChannel
(String channelName, String newConfiguration) Changes configuration of an existing notification channel.void
TranslationProfileManagement.updateProfile
(TranslationProfile updated) void
RealmsManagement.updateRealm
(AuthenticationRealm realm) Update realmvoid
BulkProcessingManagement.updateScheduledRule
(ScheduledProcessingRule rule) void
MessageTemplateManagement.updateTemplate
(MessageTemplate updated) -
Uses of EngineException in pl.edu.icm.unity.engine.api.attributes
Modifier and TypeMethodDescriptionAttributeSupport.getAttributeByMetadata
(EntityParam entity, String group, String metadataId) Returns attribute which has the given metadata set.AttributeSupport.getAttributeTypesAsMap()
AttributeSupport.getAttributeTypeWithMetadata
(String metadataId) Returns all attribute types which have the given metadata set.AttributeSupport.getAttributeTypeWithSingeltonMetadata
(String metadataId) Returns attribute type which has the given metadata set.AttributeSupport.getAttributeValueByMetadata
(EntityParam entity, String group, String metadataId) Returns the first value of attribute which has the given metadata set. -
Uses of EngineException in pl.edu.icm.unity.engine.api.authn
Modifier and TypeMethodDescriptionAuthenticatorSupportService.getRemoteAuthenticators
(String bindingId) AuthenticatorSupportService.getRemoteAuthenticatorsAsFlows
(String bindingId) void
AuthenticatorSupportService.refreshAuthenticatorsOfCredential
(String credential) All authenticators using the provided credential are refreshed.void
Sends a random confirmation code to the receiver.void
CredentialReset.updateCredential
(String newCredential) Changes the credential to a new one. -
Uses of EngineException in pl.edu.icm.unity.engine.api.authn.local
Modifier and TypeMethodDescriptionCredentialHelper.getCredentialDefinitions()
Get credential definitions as mapboolean
CredentialHelper.isCredentialSet
(EntityParam entity, String credentialId) Check if credential is setboolean
LocalCredentialVerificator.isCredentialSet
(EntityParam entity) Check if credential is setvoid
CredentialHelper.setCredential
(long entityId, String credentialName, String value, LocalCredentialVerificator handler) Updates the credential in DB.void
CredentialHelper.updateCredential
(long entityId, String credentialName, String dbEncodedCredentialState) Updates the credential in DB. -
Uses of EngineException in pl.edu.icm.unity.engine.api.authn.remote
Modifier and TypeMethodDescriptionRemoteAuthnResultTranslator.translateRemoteInput
(RemotelyAuthenticatedInput input, TranslationProfile profile, boolean dryRun, Optional<IdentityTaV> identity) Invokes the configured translation profile on the remotely obtained authentication input. -
Uses of EngineException in pl.edu.icm.unity.engine.api.bulk
Modifier and TypeMethodDescriptionBulkGroupQueryService.getBulkMembershipData
(String group) BulkGroupQueryService.getBulkMembershipData
(String group, Set<Long> filter) BulkGroupQueryService.getBulkStructuralData
(String group) -
Uses of EngineException in pl.edu.icm.unity.engine.api.confirmation
Modifier and TypeMethodDescriptionEmailConfirmationManager.processConfirmation
(String tokenValue) Process confirmation based on token.void
EmailConfirmationManager.sendConfirmationRequest
(BaseEmailConfirmationState state) Send confirmation request to the user with confirmation state.MobileNumberConfirmationManager.sendConfirmationRequest
(MobileNumberConfirmationConfiguration configEntry, String mobileToConfirm, ConfirmationInfo relatedConfirmationInfo) Send confirmation request to the user.Message template id is taken from given mobile number confirmation configuration.<T> void
EmailConfirmationManager.sendVerification
(EntityParam entity, Attribute attribute) Sends confirmation messages for the values of an attribute which are verifiable, only for unconfirmed attributes ones.void
EmailConfirmationManager.sendVerification
(EntityParam entity, Identity identity) see#sendVerificationNoTx(EntityParam, Identity)
, the only difference is that this method starts its own transactionvoid
EmailConfirmationManager.sendVerificationNoTx
(EntityParam entity, Identity identity, boolean force) see#sendVerificationQuiet(EntityParam, Identity)
, the only difference is that this method throws exception. -
Uses of EngineException in pl.edu.icm.unity.engine.api.endpoint
Modifier and TypeMethodDescriptionvoid
SharedEndpointManagement.deployInternalEndpointFilter
(String contextPath, org.eclipse.jetty.servlet.FilterHolder filter) Deploys the given filter in the internal, shared endpoint.void
SharedEndpointManagement.deployInternalEndpointServlet
(String contextPath, org.eclipse.jetty.servlet.ServletHolder servlet, boolean mapVaadinResource) Deploys the given servlet in the internal, shared endpoint.void
AbstractEndpoint.destroy()
final void
AbstractWebEndpoint.destroy()
void
EndpointInstance.destroy()
Stops the endpoint.EndpointFileConfigurationManagement.getEndpointConfig
(String name) final void
AbstractWebEndpoint.start()
void
EndpointInstance.start()
Starts the endpoint. -
Uses of EngineException in pl.edu.icm.unity.engine.api.files
Modifier and TypeMethodDescriptionpl.edu.icm.unity.base.file.FileData
FileStorageService.readFileFromWorkspace
(String workspacePath) pl.edu.icm.unity.base.file.FileData
FileStorageService.storeFileInWorkspace
(byte[] content, String workspacePath) -
Uses of EngineException in pl.edu.icm.unity.engine.api.identity
Modifier and TypeMethodDescriptionIdentityResolver.getDisplayedUserName
(EntityParam entity) IdentityResolver.resolveEntity
(long entityId, String credentialName) Provides information about entity including its credentialIdentityResolver.resolveIdentity
(String identity, String[] identityTypes, String credentialName) Resolves an identity for performing authentication.long
IdentityResolver.resolveIdentity
(String identity, String[] identityTypes, String target, String realm) Simple version that only resolves, but doesn't establish any local credential.IdentityResolver.resolveSubject
(AuthenticationSubject subject, String identityType) Provides information about subject including its credentialIdentityResolver.resolveSubject
(AuthenticationSubject subject, String[] identityTypes, String credentialName) Provides information about subject including its credential -
Uses of EngineException in pl.edu.icm.unity.engine.api.idp
Modifier and TypeMethodDescriptionIdPEngine.getIdentity
(List<IdentityParam> validIdentities, String selectedIdentity) Finds selected identity among validIdentities and returns it as IdentityParam.IdPEngine.obtainUserInformationWithEarlyImport
(IdentityTaV entity, String group, TranslationProfile profile, String requester, Optional<EntityInGroup> requesterEntity, String protocol, String protocolSubType, boolean allowIdentityCreate, UserImportConfigs userImportConfigs) Obtains a complete and translated information about entity, authorized to be published.IdPEngine.obtainUserInformationWithEnrichingImport
(EntityParam entity, String group, TranslationProfile profile, String requester, Optional<EntityInGroup> requesterEntity, String protocol, String protocolSubType, boolean allowIdentityCreate, UserImportConfigs userImportConfigs) Obtains a complete and translated information about entity, authorized to be published. -
Uses of EngineException in pl.edu.icm.unity.engine.api.msg
Modifier and TypeMethodDescriptionvoid
MessageManagement.addMessage
(Message message) MessageManagement.getAllMessages()
MessageManagement.getMessages
(String name) void
MessageManagement.removeMessage
(String name) void
MessageManagement.removeMessage
(String name, Locale locale) void
MessageManagement.updateMessage
(Message message) -
Uses of EngineException in pl.edu.icm.unity.engine.api.notification
Modifier and TypeMethodDescriptionNotificationProducer.getAddressForEntity
(EntityParam recipient, String templateId, boolean onlyConfirmed) Get address for entity.NotificationProducer.sendNotification
(String recipientAddress, String templateId, Map<String, String> params, String locale) Sends a message which is resolved from a given template with parameters.NotificationProducer.sendNotification
(Set<String> groups, List<Long> singleRecipients, String templateId, Map<String, String> params, String locale) Sends a message which is resolved from a given template with parameters.NotificationProducer.sendNotification
(EntityParam recipient, String templateId, Map<String, String> params, String locale, String preferredAddress, boolean sendOnlyToConfirmed) Sends a message which is resolved from a given template with parameters.void
NotificationProducer.sendNotificationToGroup
(String group, String templateId, Map<String, String> params, String locale) Sends a message which is resolved from a given template with parameters. -
Uses of EngineException in pl.edu.icm.unity.engine.api.policyAgreement
Modifier and TypeMethodDescriptionPolicyAgreementManagement.filterAgreementToPresent
(EntityParam entity, List<PolicyAgreementConfiguration> toFilter) static PolicyAgreementState
PolicyAgreementManagement.getPolicyAgreementsStatus
(EntityParam entity) void
PolicyAgreementManagement.submitDecisions
(EntityParam entity, List<PolicyAgreementDecision> decisions) PolicyAgreementState.toJson()
-
Uses of EngineException in pl.edu.icm.unity.engine.api.policyDocument
Modifier and TypeMethodDescriptionlong
PolicyDocumentManagement.addPolicyDocument
(PolicyDocumentCreateRequest policyDocument) Adds new policy documentPolicyDocumentManagement.getPolicyDocument
(long id) Get single policy document by given idPolicyDocumentManagement.getPolicyDocuments()
Gets all policy documentsvoid
PolicyDocumentManagement.removePolicyDocument
(long id) Removes policy document by given idvoid
PolicyDocumentManagement.updatePolicyDocument
(PolicyDocumentUpdateRequest policyDocument) Updates policy document, skip revision updatevoid
PolicyDocumentManagement.updatePolicyDocumentWithRevision
(PolicyDocumentUpdateRequest policyDocument) Updates policy document. -
Uses of EngineException in pl.edu.icm.unity.engine.api.project
Modifier and TypeMethodDescriptionvoid
ProjectRequestManagement.accept
(ProjectRequestParam request) Accept project requestDelegatedGroupManagement.addGroup
(String projectPath, String parentPath, I18nString groupName, boolean isPublic) Adds groupProjectInvitationsManagement.addInvitations
(Set<ProjectInvitationParam> param) void
DelegatedGroupManagement.addMemberToGroup
(String projectPath, String subgroupPath, long entityId) Adds a new member to the groupvoid
ProjectRequestManagement.decline
(ProjectRequestParam request) Reject project requestDelegatedGroupManagement.getAttributeDisplayedName
(String projectPath, String attributeName) Gets attribute displayed nameDelegatedGroupManagement.getContents
(String projectPath, String subgroupPath) Allows to retrieve group's contents and metadata.DelegatedGroupManagement.getDelegatedGroupMembers
(String projectPath, String subgroupPath) Gets delegated group membersDelegatedGroupManagement.getGroupAndSubgroups
(String projectPath, String subgroupPath) Gets group with all child (recursive) groups as map.DelegatedGroupManagement.getGroupAuthorizationRole
(String projectPath, long entityId) Update value of group authorization role attributeProjectInvitationsManagement.getInvitations
(String projectPath) Gets all project invitationsProjectRequestManagement.getProjectRegistrationFormLink
(String projectPath) DelegatedGroupManagement.getProjectsForEntity
(long entityId) Gets projects for entityProjectRequestManagement.getProjectSignUpEnquiryFormLink
(String projectPath) ProjectRequestManagement.getProjectUpdateMembershipEnquiryFormLink
(String projectPath) ProjectRequestManagement.getRequests
(String projectPath) Get all project requestsvoid
DelegatedGroupManagement.removeGroup
(String projectPath, String path) Removes groupvoid
ProjectInvitationsManagement.removeInvitation
(String projectPath, String code) Removes a single invitationvoid
DelegatedGroupManagement.removeMemberFromGroup
(String projectPath, String subgroupPath, long entityId) Removes from the group and all subgroups if the user is in any.void
DelegatedGroupManagement.removeProject
(String projectPath, String subProjectPath) Removes subprojectvoid
ProjectInvitationsManagement.sendInvitation
(String projectPath, String code) Sends an invitation message to the invitation specified by the code.void
DelegatedGroupManagement.setGroupAccessMode
(String projectPath, String path, boolean isPublic) Updates group access modevoid
DelegatedGroupManagement.setGroupAuthorizationRole
(String projectPath, String subgroupPath, long entityId, GroupAuthorizationRole role) Update value of group authorization role attributevoid
DelegatedGroupManagement.setGroupDelegationConfiguration
(String projectPath, String subgroupPath, SubprojectGroupDelegationConfiguration subprojectGroupDelegationConfiguration) Sets group delegation configurationvoid
DelegatedGroupManagement.setGroupDisplayedName
(String projectPath, String path, I18nString newName) Sets group display nameModifierConstructorDescriptionProjectInvitation
(String project, BaseForm form, InvitationWithCode org, String link) -
Uses of EngineException in pl.edu.icm.unity.engine.api.server
Modifier and TypeMethodDescriptionvoid
NetworkServer.deployEndpoint
(WebAppEndpointInstance endpoint) void
NetworkServer.deployHandler
(org.eclipse.jetty.servlet.ServletContextHandler sharedHandler, String endpointId) void
NetworkServer.undeployAllHandlers()
void
NetworkServer.undeployEndpoint
(String id) void
NetworkServer.undeployHandler
(String contextPath) -
Uses of EngineException in pl.edu.icm.unity.engine.api.session
Modifier and TypeMethodDescriptionSessionManagement.getOwnedSession
(EntityParam owner, String realm) Tries to find a session owned by a given entity in a given realm. -
Uses of EngineException in pl.edu.icm.unity.engine.api.token
Modifier and TypeMethodDescriptionList<pl.edu.icm.unity.base.token.Token>
SecuredTokensManagement.getAllTokens
(String type) User with "System Manager" authorization role can get all tokens.List<pl.edu.icm.unity.base.token.Token>
SecuredTokensManagement.getOwnedTokens
(String type) Returns all tokens of the logged entityList<pl.edu.icm.unity.base.token.Token>
SecuredTokensManagement.getOwnedTokens
(String type, EntityParam entity) User with "System Manager" authorization role can get all tokens of all entities.void
SecuredTokensManagement.removeToken
(String type, String value) User with "System Manager" authorization role can remove all tokens. -
Uses of EngineException in pl.edu.icm.unity.engine.api.translation
Modifier and TypeClassDescriptionclass
Throw to signal that further execution of the translation profile should be stopped and that the whole process should be finished with error.class
-
Uses of EngineException in pl.edu.icm.unity.engine.api.translation.form
Modifier and TypeMethodDescriptionfinal void
RegistrationTranslationAction.invoke
(TranslatedRegistrationRequest state, Object mvelCtx, RegistrationContext context, String currentProfile) Performs the translation.protected abstract void
RegistrationTranslationAction.invokeWrapped
(TranslatedRegistrationRequest state, Object mvelCtx, RegistrationContext contexts, String currentProfile) -
Uses of EngineException in pl.edu.icm.unity.engine.api.translation.in
Modifier and TypeMethodDescriptionfinal MappingResult
InputTranslationAction.invoke
(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) Performs the translation.protected abstract MappingResult
InputTranslationAction.invokeWrapped
(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) void
InputTranslationEngine.mergeWithExisting
(MappingResult result, EntityParam baseEntity) Merges the information obtained after execution of an input translation profile with a manually specified entity.void
InputTranslationEngine.process
(MappingResult result) Entry point.InputTranslationEngine.resolveMappedIdentity
(MappedIdentity checked) -
Uses of EngineException in pl.edu.icm.unity.engine.api.translation.out
Modifier and TypeMethodDescriptionvoid
OutputTranslationAction.invoke
(TranslationInput input, Object mvelCtx, String currentProfile, TranslationResult result) protected abstract void
OutputTranslationAction.invokeWrapped
(TranslationInput input, Object mvelCtx, String currentProfile, TranslationResult result) -
Uses of EngineException in pl.edu.icm.unity.engine.api.utils
Modifier and TypeMethodDescriptionGroupDelegationConfigGenerator.generateProjectJoinEnquiryForm
(String groupPath, String logo, List<Long> policyDocuments) GroupDelegationConfigGenerator.generateProjectRegistrationForm
(String groupPath, String logo, List<String> attributes, List<Long> policyDocuments) GroupDelegationConfigGenerator.generateProjectUpdateEnquiryForm
(String groupPath, String logo) void
GroupDelegationConfigGenerator.resetFormsPolicies
(String formName, FormType formType, List<Long> projectPolicyDocumentsIds) -
Uses of EngineException in pl.edu.icm.unity.engine.api.utils.json
-
Uses of EngineException in pl.edu.icm.unity.engine.api.webhook
-
Uses of EngineException in pl.edu.icm.unity.engine.translation.in.action
Modifier and TypeMethodDescriptionprotected MappingResult
BlindStopperInputAction.invokeWrapped
(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) protected MappingResult
IncludeInputProfileActionFactory.IncludeInputProfileAction.invokeWrapped
(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) -
Uses of EngineException in pl.edu.icm.unity.engine.translation.out.action
Modifier and TypeMethodDescriptionprotected void
BlindStopperOutputAction.invokeWrapped
(TranslationInput input, Object mvelCtx, String currentProfile, TranslationResult result) protected void
IncludeOutputProfileActionFactory.IncludeOutputProfileAction.invokeWrapped
(TranslationInput input, Object mvelCtx, String currentProfile, TranslationResult result) -
Uses of EngineException in pl.edu.icm.unity.exceptions
Modifier and TypeClassDescriptionclass
Thrown when there is authorization problemclass
Thrown when capacity limit is reached.class
Thrown when credential being set was recently usedclass
Throws to indicate that user already exists in the system.class
Thrown when attribtue type is invalid.class
Thrown when attribtue value is invalid.class
Thrown when credential definition is invalid.class
Thrown when there is problem with submitted form (enquiry, registration etc).static class
class
Thrown when type is invalid.class
Thrown when group value is invalid.class
Thrown when identity value is invalid.class
Thrown when type is invalid.class
Thrown when there is merge conflict which shall be reportedclass
Thrown when operation would cause database schema consistency violation.class
Signals an error of too many attempts, e.g.class
Thrown when there is problem with arguments, and when we want to have a checked exception. -
Uses of EngineException in pl.edu.icm.unity.types
Modifier and TypeMethodDescriptionvoid
InitializationValidator.validateInitialization()
Throws exception if some of the fields are null or incomplete. -
Uses of EngineException in pl.edu.icm.unity.types.registration.invite
Modifier and TypeMethodDescriptionComboInvitationParam.getPrefillForForm
(BaseForm form) EnquiryInvitationParam.getPrefillForForm
(BaseForm form) abstract FormPrefill
InvitationParam.getPrefillForForm
(BaseForm form) Get prefill data associated with given formRegistrationInvitationParam.getPrefillForForm
(BaseForm form) EnquiryInvitationParam.getSendData()
abstract InvitationSendData
InvitationParam.getSendData()
void
InvitationSender.send
(EnquiryInvitationParam enquiryInvitationParam, String code) void
InvitationSender.send
(RegistrationInvitationParam registrationInvitationParam, String code) void
ComboInvitationParam.validate
(FormProvider formProvider) void
EnquiryInvitationParam.validate
(FormProvider formProvider) abstract void
InvitationParam.validate
(FormProvider formProvider) void
RegistrationInvitationParam.validate
(FormProvider formProvider) abstract void
InvitationParam.validateUpdate
(InvitationParam toUpdate)