Uses of Class
pl.edu.icm.unity.exceptions.EngineException
-
-
Uses of EngineException in pl.edu.icm.unity.engine.api
Methods in pl.edu.icm.unity.engine.api that throw EngineException Modifier and Type Method Description voidAttributeClassManagement. addAttributeClass(AttributesClass clazz)Defines a new attribute classvoidAttributeTypeManagement. addAttributeType(AttributeType at)Adds a new attribute type.voidAuthenticationFlowManagement. addAuthenticationFlow(AuthenticationFlowDefinition authenticatorsFlowDefinition)Add new authentication flowvoidCredentialManagement. addCredentialDefinition(CredentialDefinition credentialDefinition)Defines a new credential definition, so it can be assigned to entities via credential requirements and to local authenticators.voidCredentialRequirementManagement. addCredentialRequirement(CredentialRequirements updated)Defines a new credential requirements instancevoidEnquiryManagement. addEnquiry(EnquiryForm form)Add a new enquiry form.IdentityEntityManagement. addEntity(IdentityParam toAdd, String credReqIdId, EntityState initialState)AsEntityManagement.addEntity(IdentityParam, String, EntityState, List)with the empty list of attributes.default IdentityEntityManagement. addEntity(IdentityParam toAdd, String credReqIdId, EntityState initialState, boolean extractAttributes, List<Attribute> attributes)Deprecated.IdentityEntityManagement. addEntity(IdentityParam toAdd, String credReqIdId, EntityState initialState, List<Attribute> attributes)Adds a new entity with an initial identity.IdentityEntityManagement. addEntity(IdentityParam toAdd, EntityState initialState)AsEntityManagement.addEntity(IdentityParam, EntityState, List)with the empty list of attributes and default credential requirements.default IdentityEntityManagement. addEntity(IdentityParam toAdd, EntityState initialState, boolean extractAttributes)Deprecated.default IdentityEntityManagement. addEntity(IdentityParam toAdd, EntityState initialState, boolean extractAttributes, List<Attribute> attributes)Deprecated.IdentityEntityManagement. addEntity(IdentityParam toAdd, EntityState initialState, List<Attribute> attributes)AsEntityManagement.addEntity(IdentityParam, String, EntityState, List)with the empty list of attributes and default credential requirements.voidRegistrationsManagement. addForm(RegistrationForm form)Add a new registration form.voidGroupsManagement. addGroup(Group toAdd)Adds a new groupvoidGroupsManagement. addGroup(Group toAdd, boolean withParents)Adds a new group in a recursive wayvoidGroupsManagement. addGroups(Set<Group> toAdd)Adds new groupsIdentityEntityManagement. addIdentity(IdentityParam toAdd, EntityParam parentEntity)Adds a new identity under existing entity.default IdentityEntityManagement. addIdentity(IdentityParam toAdd, EntityParam parentEntity, boolean extractAttributes)Deprecated.voidIdpStatisticManagement. addIdpStatistic(IdpStatistic toAdd)StringInvitationManagement. addInvitation(InvitationParam invitation)Associates a new invitation with a form.voidGroupsManagement. addMemberFromParent(String path, EntityParam entity)AsGroupsManagement.addMemberFromParent(String, EntityParam, List)with an empty list of attribute classes.voidGroupsManagement. addMemberFromParent(String path, EntityParam entity, List<Attribute> attributes)Adds a new member to the group.voidGroupsManagement. addMemberFromParent(String path, EntityParam entity, List<Attribute> attributes, String idp, String translationProfile)Adds a new member to the group.voidNotificationsManagement. addNotificationChannel(NotificationChannel toAdd)Creates a new channel for a given facility.voidPKIManagement. addPersistedCertificate(NamedCertificate toAdd)Adds a new persisted certificatevoidTranslationProfileManagement. addProfile(TranslationProfile toAdd)voidRealmsManagement. addRealm(AuthenticationRealm realm)Creates a new realmvoidMessageTemplateManagement. addTemplate(MessageTemplate toAdd)voidPKIManagement. addVolatileCertificate(String name, X509Certificate updated)Adds a new volatile certificatevoidAttributesManagement. createAttribute(EntityParam entity, Attribute attribute)Creates an attribute (must not be present).voidAttributesManagement. createAttributeSuppressingConfirmation(EntityParam entity, Attribute attribute)Creates an attribute (must not be present).AuthenticatorInfoAuthenticatorManagement. createAuthenticator(String id, String typeId, String config, String credentialId)Creates a new authenticatorvoidIdpStatisticManagement. deleteOlderThan(LocalDateTime olderThan)ResolvedEndpointEndpointManagement. deploy(String typeId, String endpointName, String address, EndpointConfiguration configuration)Deploys a new instance of an endpoint of id type, at address location.FileServerManagement. exportDb(DBDumpContentElements content)Exports database contents to a JSON file.Collection<AttributeExt>AttributesManagement. getAllAttributes(EntityParam entity, boolean effective, String groupPath, String attributeTypeId, boolean allowDegrade)Returns attributes of an entity, including hidden ones.Collection<AttributeExt>AttributesManagement. getAllAttributes(EntityParam entity, boolean effective, List<GroupPattern> groupPathPatterns, String attributeTypeId, boolean allowDegrade)Returns attributes of multiple groups, including hidden ones.Set<String>PKIManagement. getAllCertificateNames()Set<Entity>EntityManagement. getAllEntitiesWithContactEmail(String contactEmail)Returns entities with assigned e-mail - as attribute or identityMap<String,Group>GroupsManagement. getAllGroups()AttributesClassAttributeClassManagement. getAttributeClass(String name)Map<String,AttributesClass>AttributeClassManagement. getAttributeClasses()Collection<AttributeExt>AttributesManagement. getAttributes(EntityParam entity, String groupPath, String attributeTypeId)Returns visible attributes of an entity.AttributeTypeAttributeTypeManagement. getAttributeType(String name)Collection<AttributeType>AttributeTypeManagement. getAttributeTypes()Map<String,AttributeType>AttributeTypeManagement. getAttributeTypesAsMap()AuthenticationFlowDefinitionAuthenticationFlowManagement. getAuthenticationFlow(String name)Get authentication flow by given nameCollection<AuthenticationFlowDefinition>AuthenticationFlowManagement. getAuthenticationFlows()AuthenticatorInfoAuthenticatorManagement. getAuthenticator(String id)Collection<AuthenticatorInfo>AuthenticatorManagement. getAuthenticators(String bindingId)List<EnquiryForm>EnquiryManagement. getAvailableStickyEnquires(EntityParam entity)NamedCertificatePKIManagement. getCertificate(String name)Set<String>GroupsManagement. getChildGroups(String root)Map<String,MessageTemplate>MessageTemplateManagement. getCompatibleTemplates(String templateConsumer)GroupContentsGroupsManagement. getContents(String path, int filter)Allows to retrieve group's contents and metadata.eu.emi.security.authn.x509.X509CredentialPKIManagement. getCredential(String name)CredentialDefinitionCredentialManagement. getCredentialDefinition(String name)Collection<CredentialDefinition>CredentialManagement. getCredentialDefinitions()Set<String>PKIManagement. getCredentialNames()Collection<CredentialRequirements>CredentialRequirementManagement. getCredentialRequirements()CredentialRequirementsCredentialRequirementManagement. getCredentialRequirements(String name)Collection<CredentialType>CredentialManagement. getCredentialTypes()List<ResolvedEndpoint>EndpointManagement. getDeployedEndpoints()List<EndpointTypeDescription>EndpointManagement. getEndpointTypes()List<EnquiryForm>EnquiryManagement. getEnquires()EnquiryFormEnquiryManagement. getEnquiry(String id)List<EnquiryResponseState>EnquiryManagement. getEnquiryResponses()Lists all responsesEntityEntityManagement. getEntity(EntityParam entity)Returns information about an entity along with its all identities with authorization in '/'.EntityEntityManagement. getEntity(EntityParam entity, String target, boolean allowCreate, String group)Returns information about an entity along with its all identities.Collection<AttributesClass>AttributeClassManagement. getEntityAttributeClasses(EntityParam entity, String group)Attribute classes of a given entity in a groupStringEntityManagement. getEntityLabel(EntityParam entity)EntityEntityManagement. getEntityNoContext(EntityParam entity, String group)Returns information about an entity along with its identities.RegistrationFormRegistrationsManagement. getForm(String id)List<RegistrationForm>RegistrationsManagement. getForms()Map<String,GroupMembership>EntityManagement. getGroups(EntityParam entity)Returns a collection with all groups where the entity is a member.GroupsChainGroupsManagement. getGroupsChain(String path)Collection<Group>EntityManagement. getGroupsForPresentation(EntityParam entity)Returns a collection with all groups where the entity is a member.IdentityTypeIdentityTypesManagement. getIdentityType(String name)Collection<IdentityType>IdentityTypesManagement. getIdentityTypes()List<IdpStatistic>IdpStatisticManagement. getIdpStatisticsSince(LocalDateTime since, int limit)List<GroupedIdpStatistic>IdpStatisticManagement. getIdpStatisticsSinceGroupBy(LocalDateTime since, IdpStatisticManagement.GroupBy groupBy, int sigInlimit, boolean skipZeroRecords)TranslationProfileTranslationProfileManagement. getInputProfile(String name)InvitationWithCodeInvitationManagement. getInvitation(String code)Retrieves an invitation by codeList<InvitationWithCode>InvitationManagement. getInvitations()Map<String,NotificationChannelInfo>NotificationsManagement. getNotificationChannels()Map<String,NotificationChannelInfo>NotificationsManagement. getNotificationChannelsForTechnologies(EnumSet<pl.edu.icm.unity.base.notifications.CommunicationTechnology> facilites)Set<String>NotificationsManagement. getNotificationFacilities()TranslationProfileTranslationProfileManagement. getOutputProfile(String name)List<EnquiryForm>EnquiryManagement. getPendingEnquires(EntityParam entity)List<NamedCertificate>PKIManagement. getPersistedCertificates()StringPreferencesManagement. getPreference(EntityParam entity, String preferenceId)Returns a given preference.MessageTemplateMessageTemplateManagement. getPreprocessedTemplate(String name)Returns a template after pre-processing (e.g.MessageTemplateMessageTemplateManagement. getPreprocessedTemplate(MessageTemplate toProcess)AsMessageTemplateManagement.getPreprocessedTemplate(String)but returns the argument template after preprocessingAuthenticationRealmRealmsManagement. getRealm(String name)Returns a realm by nameCollection<AuthenticationRealm>RealmsManagement. getRealms()Returns all defined realmsRegistrationRequestStateRegistrationsManagement. getRegistrationRequest(String id)List<RegistrationRequestState>RegistrationsManagement. getRegistrationRequests()Lists all registration requests.ScheduledProcessingRuleBulkProcessingManagement. getScheduledRule(String id)List<ScheduledProcessingRule>BulkProcessingManagement. getScheduledRules()String[]AttributeTypeManagement. getSupportedAttributeValueTypes()MessageTemplateMessageTemplateManagement. getTemplate(String name)booleanEntityCredentialManagement. getUserMFAOptIn(EntityParam entity)eu.emi.security.authn.x509.X509CertChainValidatorExtPKIManagement. getValidator(String name)Set<String>PKIManagement. getValidatorNames()List<NamedCertificate>PKIManagement. getVolatileCertificates()voidEnquiryManagement. ignoreEnquiry(String enquiryId, EntityParam entity)Marks an enquiry as ignored for the given user.voidServerManagement. importDb(File from)Imports the whole database from a given JSON fileList<UserImportSerivce.ImportResult>UserImportManagement. importUser(List<UserImportSpec> imports)Perform user import.Map<String,TranslationProfile>TranslationProfileManagement. listInputProfiles()Map<String,TranslationProfile>TranslationProfileManagement. listOutputProfiles()Map<String,MessageTemplate>MessageTemplateManagement. listTemplates()StringServerManagement. loadConfigurationFile(String path)Load configuration filevoidEntityManagement. mergeEntities(EntityParam target, EntityParam merged, boolean safeMode)Merge the 2nd entity with the first one.voidEnquiryManagement. processEnquiryResponse(String id, EnquiryResponse finalResponse, RegistrationRequestAction action, String publicComment, String privateComment)Accepts, deletes or rejects a given enquiry response.voidRegistrationsManagement. processRegistrationRequest(String id, RegistrationRequest finalRequest, RegistrationRequestAction action, String publicComment, String privateComment)Accepts, deletes or rejects a given registration request.voidServerManagement. reloadConfig()Reload main configuration file if changedvoidAttributesManagement. removeAttribute(EntityParam entity, String groupPath, String attributeTypeId)Removes a given attributevoidAttributeClassManagement. removeAttributeClass(String id)Removes attribute classvoidAttributeTypeManagement. removeAttributeType(String id, boolean deleteInstances)Removes attribute type by id.voidAuthenticationFlowManagement. removeAuthenticationFlow(String toRemove)Removes an existing authentication flow.voidAuthenticatorManagement. removeAuthenticator(String id)Removes an existing authenticator.voidPKIManagement. removeCertificate(String toRemove)Removes a given certificatevoidCredentialManagement. removeCredentialDefinition(String toRemove)Removes the given credential definition.voidCredentialRequirementManagement. removeCredentialRequirement(String toRemove, String replacementId)Removes the given credential set definition.voidEndpointManagement. removeEndpoint(String id)Removes endpoint with given namevoidEnquiryManagement. removeEnquiry(String formId, boolean dropRequests)Remove an existing enquiry form.voidEnquiryManagement. removeEnquiryWithoutDependencyChecking(String formId)Remove an existing enquiry form with no dependency checkingvoidEntityManagement. removeEntity(EntityParam toRemove)voidRegistrationsManagement. removeForm(String formId, boolean dropRequests)Remove an existing registration form.voidRegistrationsManagement. removeFormWithoutDependencyChecking(String formId)Remove an existing registration form with no dependency checkingvoidGroupsManagement. removeGroup(String path, boolean recursive)Removes a given group.voidEntityManagement. removeIdentity(IdentityTaV toRemove)Deletes identity.voidInvitationManagement. removeInvitation(String code)Removes a single invitationvoidGroupsManagement. removeMember(String path, EntityParam entity)Removes from the group and all subgroups if the user is in any.voidNotificationsManagement. removeNotificationChannel(String channelName)Removes a specified channel.voidEnquiryManagement. removePendingStickyRequest(String form, EntityParam entity)voidPreferencesManagement. removePreference(EntityParam entity, String preferenceId)Removes the given preference.voidTranslationProfileManagement. removeProfile(ProfileType type, String name)voidRealmsManagement. removeRealm(String name)Remove realmvoidBulkProcessingManagement. removeScheduledRule(String id)voidMessageTemplateManagement. removeTemplate(String name)voidServerManagement. resetDatabase()Removes the whole contents of the database and initializes it from scratch.voidEntityManagement. resetIdentity(EntityParam entity, String typeIdToReset, String realm, String target)Reset a possibly targeted value of a dynamic identity.voidEntityManagement. scheduleEntityChange(EntityParam toChange, Date changeTime, EntityScheduledOperation operation)Schedules an operation to be invoked at a given time on an entity.voidEntityManagement. scheduleRemovalByUser(EntityParam toChange, Date changeTime)Sets the entity in theEntityState.onlyLoginPermittedand schedules the entity removal at given time unless the user logs in before this time.StringBulkProcessingManagement. scheduleRule(ScheduledProcessingRuleParam rule)voidEnquiryManagement. sendEnquiry(String enquiryId)Triggers a (re?)send of enquiry notification message.voidInvitationManagement. sendInvitation(String code)Sends an invitation message to the invitation specified by the code.voidAttributesManagement. setAttribute(EntityParam entity, Attribute attribute)Updates or creates an attribute (may be present).voidAttributesManagement. setAttribute(EntityParam entity, Attribute attribute, boolean allowUpdate)Deprecated.use any of other create or set methods.voidAttributesManagement. setAttributeSuppressingConfirmation(EntityParam entity, Attribute attribute)Updates or creates an attribute (may be present).voidAttributeClassManagement. setEntityAttributeClasses(EntityParam entity, String group, Collection<String> classes)Updates the set of entity's attribute classes in a given group.voidEntityCredentialManagement. setEntityCredential(EntityParam entity, String credentialId, String secrets)Sets authentication secretes for the entity.voidEntityCredentialManagement. setEntityCredentialRequirements(EntityParam entity, String requirementId)ChangesCredentialRequirementsof an entity.voidEntityCredentialManagement. setEntityCredentialStatus(EntityParam entity, String credentialId, LocalCredentialState desiredCredentialState)Sets local credential state.voidEntityManagement. setEntityStatus(EntityParam toChange, EntityState state)voidEntityManagement. setIdentities(EntityParam entity, Collection<String> updatedTypes, Collection<? extends IdentityParam> newIdentities)Updates identities of a single entity.voidPreferencesManagement. setPreference(EntityParam entity, String preferenceId, String value)Sets or updates a preference for the specified user.voidEntityCredentialManagement. setUserMFAOptIn(EntityParam entity, boolean value)StringEnquiryManagement. submitEnquiryResponse(EnquiryResponse response, RegistrationContext context)Submits an enquiry response.StringRegistrationsManagement. submitRegistrationRequest(RegistrationRequest request, RegistrationContext context)Submits a new registration request.voidEndpointManagement. undeploy(String id)Removes a deployed endpointvoidAttributeClassManagement. updateAttributeClass(AttributesClass updated)Updates an attribute class.voidAttributeTypeManagement. updateAttributeType(AttributeType at)Updates an existing attribute type.voidAuthenticationFlowManagement. updateAuthenticationFlow(AuthenticationFlowDefinition authFlowdef)Update existing authentication flowvoidAuthenticatorManagement. updateAuthenticator(String id, String verificatorConfig, String localCredential)Updates a configuration of an existing authenticator instancevoidPKIManagement. updateCertificate(NamedCertificate toUpdate)Updates a given certificatevoidCredentialManagement. updateCredentialDefinition(CredentialDefinition updated, LocalCredentialState desiredCredState)Updates a definition of a credential.voidCredentialRequirementManagement. updateCredentialRequirement(CredentialRequirements updated)Updated a definitions of credential set.voidEndpointManagement. updateEndpoint(String id, EndpointConfiguration configuration)Updates a deployed endpoint configurationvoidEnquiryManagement. updateEnquiry(EnquiryForm updatedForm, boolean ignoreRequestsAndInvitations)Updates an existing enquiry form.voidRegistrationsManagement. updateForm(RegistrationForm updatedForm, boolean ignoreRequestsAndInvitations)Updates an existing form.voidGroupsManagement. updateGroup(String path, Group group)Updates the group, without specifying any special audit log informationvoidGroupsManagement. updateGroup(String path, Group group, String changedProperty, String newValue)Updates the group and pass information: changed property and new value used for audit log onlyvoidEntityManagement. updateIdentity(IdentityTaV original, IdentityParam updated)Updates a given identity.voidIdentityTypesManagement. updateIdentityType(IdentityType toUpdate)Allows to update mutable part of identity type, as extracted fields or description.voidInvitationManagement. updateInvitation(String code, InvitationParam invitation)Updates existing invitation.voidNotificationsManagement. updateNotificationChannel(String channelName, String newConfiguration)Changes configuration of an existing notification channel.voidTranslationProfileManagement. updateProfile(TranslationProfile updated)voidRealmsManagement. updateRealm(AuthenticationRealm realm)Update realmvoidBulkProcessingManagement. updateScheduledRule(ScheduledProcessingRule rule)voidMessageTemplateManagement. updateTemplate(MessageTemplate updated) -
Uses of EngineException in pl.edu.icm.unity.engine.api.attributes
Methods in pl.edu.icm.unity.engine.api.attributes that throw EngineException Modifier and Type Method Description AttributeExtAttributeSupport. getAttributeByMetadata(EntityParam entity, String group, String metadataId)Returns attribute which has the given metadata set.Map<String,AttributeType>AttributeSupport. getAttributeTypesAsMap()List<AttributeType>AttributeSupport. getAttributeTypeWithMetadata(String metadataId)Returns all attribute types which have the given metadata set.AttributeTypeAttributeSupport. getAttributeTypeWithSingeltonMetadata(String metadataId)Returns attribute type which has the given metadata set.Optional<String>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
Methods in pl.edu.icm.unity.engine.api.authn that throw EngineException Modifier and Type Method Description List<AuthenticatorInstance>AuthenticatorSupportService. getRemoteAuthenticators(String bindingId)List<AuthenticationFlow>AuthenticatorSupportService. getRemoteAuthenticatorsAsFlows(String bindingId)voidAuthenticatorSupportService. refreshAuthenticatorsOfCredential(String credential)All authenticators using the provided credential are refreshed.voidCredentialReset. sendCode(String messageTemplateId, boolean onlyNumberCode)Sends a random confirmation code to the receiver.voidCredentialReset. updateCredential(String newCredential)Changes the credential to a new one. -
Uses of EngineException in pl.edu.icm.unity.engine.api.authn.local
Methods in pl.edu.icm.unity.engine.api.authn.local that throw EngineException Modifier and Type Method Description Map<String,CredentialDefinition>CredentialHelper. getCredentialDefinitions()Get credential definitions as mapbooleanCredentialHelper. isCredentialSet(EntityParam entity, String credentialId)Check if credential is setbooleanLocalCredentialVerificator. isCredentialSet(EntityParam entity)Check if credential is setvoidCredentialHelper. setCredential(long entityId, String credentialName, String value, LocalCredentialVerificator handler)Updates the credential in DB.voidCredentialHelper. updateCredential(long entityId, String credentialName, String dbEncodedCredentialState)Updates the credential in DB. -
Uses of EngineException in pl.edu.icm.unity.engine.api.authn.remote
Methods in pl.edu.icm.unity.engine.api.authn.remote that throw EngineException Modifier and Type Method Description RemotelyAuthenticatedPrincipalRemoteAuthnResultTranslator. 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
Methods in pl.edu.icm.unity.engine.api.bulk that throw EngineException Modifier and Type Method Description GroupMembershipDataBulkGroupQueryService. getBulkMembershipData(String group)GroupMembershipDataBulkGroupQueryService. getBulkMembershipData(String group, Set<Long> filter)GroupStructuralDataBulkGroupQueryService. getBulkStructuralData(String group) -
Uses of EngineException in pl.edu.icm.unity.engine.api.confirmation
Methods in pl.edu.icm.unity.engine.api.confirmation that throw EngineException Modifier and Type Method Description WorkflowFinalizationConfigurationEmailConfirmationManager. processConfirmation(String tokenValue)Process confirmation based on token.voidEmailConfirmationManager. sendConfirmationRequest(BaseEmailConfirmationState state)Send confirmation request to the user with confirmation state.SMSCodeMobileNumberConfirmationManager. 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> voidEmailConfirmationManager. sendVerification(EntityParam entity, Attribute attribute)Sends confirmation messages for the values of an attribute which are verifiable, only for unconfirmed attributes ones.voidEmailConfirmationManager. sendVerification(EntityParam entity, Identity identity)see#sendVerificationNoTx(EntityParam, Identity), the only difference is that this method starts its own transactionvoidEmailConfirmationManager. 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
Methods in pl.edu.icm.unity.engine.api.endpoint that throw EngineException Modifier and Type Method Description voidSharedEndpointManagement. deployInternalEndpointFilter(String contextPath, org.eclipse.jetty.servlet.FilterHolder filter)Deploys the given filter in the internal, shared endpoint.voidSharedEndpointManagement. deployInternalEndpointServlet(String contextPath, org.eclipse.jetty.servlet.ServletHolder servlet, boolean mapVaadinResource)Deploys the given servlet in the internal, shared endpoint.voidAbstractEndpoint. destroy()voidAbstractWebEndpoint. destroy()voidEndpointInstance. destroy()Stops the endpoint.EndpointConfigurationEndpointFileConfigurationManagement. getEndpointConfig(String name)voidAbstractWebEndpoint. start()voidEndpointInstance. start()Starts the endpoint. -
Uses of EngineException in pl.edu.icm.unity.engine.api.files
Subclasses of EngineException in pl.edu.icm.unity.engine.api.files Modifier and Type Class Description classIllegalURIExceptionMethods in pl.edu.icm.unity.engine.api.files that throw EngineException Modifier and Type Method Description pl.edu.icm.unity.base.file.FileDataFileStorageService. readFileFromWorkspace(String workspacePath)URIFileStorageService. storeFile(byte[] content, String ownerType, String ownerId)pl.edu.icm.unity.base.file.FileDataFileStorageService. storeFileInWorkspace(byte[] content, String workspacePath) -
Uses of EngineException in pl.edu.icm.unity.engine.api.identity
Methods in pl.edu.icm.unity.engine.api.identity that throw EngineException Modifier and Type Method Description StringIdentityResolver. getDisplayedUserName(EntityParam entity)EntityWithCredentialIdentityResolver. resolveEntity(long entityId, String credentialName)Provides information about entity including its credentialEntityWithCredentialIdentityResolver. resolveIdentity(String identity, String[] identityTypes, String credentialName)Resolves an identity for performing authentication.longIdentityResolver. resolveIdentity(String identity, String[] identityTypes, String target, String realm)Simple version that only resolves, but doesn't establish any local credential.IdentityIdentityResolver. resolveSubject(AuthenticationSubject subject, String identityType)Provides information about subject including its credentialEntityWithCredentialIdentityResolver. 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
Methods in pl.edu.icm.unity.engine.api.idp that throw EngineException Modifier and Type Method Description IdentityParamIdPEngine. getIdentity(List<IdentityParam> validIdentities, String selectedIdentity)Finds selected identity among validIdentities and returns it as IdentityParam.TranslationResultIdPEngine. obtainUserInformationWithEarlyImport(IdentityTaV entity, String group, TranslationProfile profile, String requester, Optional<EntityInGroup> requesterEntity, String protocol, String protocolSubType, boolean allowIdentityCreate, eu.unicore.util.configuration.PropertiesHelper importsConfig)Obtains a complete and translated information about entity, authorized to be published.TranslationResultIdPEngine. obtainUserInformationWithEnrichingImport(EntityParam entity, String group, TranslationProfile profile, String requester, Optional<EntityInGroup> requesterEntity, String protocol, String protocolSubType, boolean allowIdentityCreate, eu.unicore.util.configuration.PropertiesHelper importsConfig)Obtains a complete and translated information about entity, authorized to be published. -
Uses of EngineException in pl.edu.icm.unity.engine.api.msg
Methods in pl.edu.icm.unity.engine.api.msg that throw EngineException Modifier and Type Method Description voidMessageManagement. addMessage(Message message)List<Message>MessageManagement. getAllMessages()List<Message>MessageManagement. getMessages(String name)voidMessageManagement. removeMessage(String name)voidMessageManagement. removeMessage(String name, Locale locale)voidMessageManagement. updateMessage(Message message) -
Uses of EngineException in pl.edu.icm.unity.engine.api.notification
Methods in pl.edu.icm.unity.engine.api.notification that throw EngineException Modifier and Type Method Description StringNotificationProducer. getAddressForEntity(EntityParam recipient, String templateId, boolean onlyConfirmed)Get address for entity.Future<NotificationStatus>NotificationProducer. sendNotification(String recipientAddress, String templateId, Map<String,String> params, String locale)Sends a message which is resolved from a given template with parameters.Collection<String>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.Future<NotificationStatus>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.voidNotificationProducer. 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
Methods in pl.edu.icm.unity.engine.api.policyAgreement that throw EngineException Modifier and Type Method Description List<PolicyAgreementConfiguration>PolicyAgreementManagement. filterAgreementToPresent(EntityParam entity, List<PolicyAgreementConfiguration> toFilter)static PolicyAgreementStatePolicyAgreementState. fromJson(String jsonConfig)List<PolicyAgreementState>PolicyAgreementManagement. getPolicyAgreementsStatus(EntityParam entity)voidPolicyAgreementManagement. submitDecisions(EntityParam entity, List<PolicyAgreementDecision> decisions)StringPolicyAgreementState. toJson() -
Uses of EngineException in pl.edu.icm.unity.engine.api.policyDocument
Methods in pl.edu.icm.unity.engine.api.policyDocument that throw EngineException Modifier and Type Method Description longPolicyDocumentManagement. addPolicyDocument(PolicyDocumentCreateRequest policyDocument)Adds new policy documentPolicyDocumentWithRevisionPolicyDocumentManagement. getPolicyDocument(long id)Get single policy document by given idCollection<PolicyDocumentWithRevision>PolicyDocumentManagement. getPolicyDocuments()Gets all policy documentsvoidPolicyDocumentManagement. removePolicyDocument(long id)Removes policy document by given idvoidPolicyDocumentManagement. updatePolicyDocument(PolicyDocumentUpdateRequest policyDocument)Updates policy document, skip revision updatevoidPolicyDocumentManagement. updatePolicyDocumentWithRevision(PolicyDocumentUpdateRequest policyDocument)Updates policy document. -
Uses of EngineException in pl.edu.icm.unity.engine.api.project
Methods in pl.edu.icm.unity.engine.api.project that throw EngineException Modifier and Type Method Description voidProjectRequestManagement. accept(ProjectRequestParam request)Accept project requestStringDelegatedGroupManagement. addGroup(String projectPath, String parentPath, I18nString groupName, boolean isPublic)Adds groupStringProjectInvitationsManagement. addInvitation(ProjectInvitationParam param)Ads invitationvoidDelegatedGroupManagement. addMemberToGroup(String projectPath, String groupPath, long entityId)Adds a new member to the groupvoidProjectRequestManagement. decline(ProjectRequestParam request)Reject project requestStringDelegatedGroupManagement. getAttributeDisplayedName(String projectPath, String attributeName)Gets attribute displayed nameDelegatedGroupContentsDelegatedGroupManagement. getContents(String projectPath, String path)Allows to retrieve group's contents and metadata.List<DelegatedGroupMember>DelegatedGroupManagement. getDelegatedGroupMemebers(String projectPath, String groupPath)Gets delegated group membersMap<String,DelegatedGroupContents>DelegatedGroupManagement. getGroupAndSubgroups(String projectPath, String groupPath)Gets group with all child (recursive) groups as map.GroupAuthorizationRoleDelegatedGroupManagement. getGroupAuthorizationRole(String projectPath, long entityId)Update value of group authorization role attributeList<ProjectInvitation>ProjectInvitationsManagement. getInvitations(String projectPath)Gets all project invitationsOptional<String>ProjectRequestManagement. getProjectRegistrationFormLink(String projectPath)List<DelegatedGroup>DelegatedGroupManagement. getProjectsForEntity(long entityId)Gets projects for entityOptional<String>ProjectRequestManagement. getProjectSignUpEnquiryFormLink(String projectPath)Optional<String>ProjectRequestManagement. getProjectUpdateMembershipEnquiryFormLink(String projectPath)List<ProjectRequest>ProjectRequestManagement. getRequests(String projectPath)Get all project requestsvoidDelegatedGroupManagement. removeGroup(String projectPath, String path)Removes groupvoidProjectInvitationsManagement. removeInvitation(String projectPath, String code)Removes a single invitationvoidDelegatedGroupManagement. removeMemberFromGroup(String projectPath, String groupPath, long entityId)Removes from the group and all subgroups if the user is in any.voidDelegatedGroupManagement. removeProject(String projectPath, String subProjectPath)Removes subprojectvoidProjectInvitationsManagement. sendInvitation(String projectPath, String code)Sends an invitation message to the invitation specified by the code.voidDelegatedGroupManagement. setGroupAccessMode(String projectPath, String path, boolean isPublic)Updates group access modevoidDelegatedGroupManagement. setGroupAuthorizationRole(String projectPath, String groupPath, long entityId, GroupAuthorizationRole role)Update value of group authorization role attributevoidDelegatedGroupManagement. setGroupDelegationConfiguration(String projectPath, String groupPath, SubprojectGroupDelegationConfiguration subprojectGroupDelegationConfiguration)Sets group delegation configurationvoidDelegatedGroupManagement. setGroupDisplayedName(String projectPath, String path, I18nString newName)Sets group display nameConstructors in pl.edu.icm.unity.engine.api.project that throw EngineException Constructor Description ProjectInvitation(String project, BaseForm form, InvitationWithCode org, String link) -
Uses of EngineException in pl.edu.icm.unity.engine.api.server
Methods in pl.edu.icm.unity.engine.api.server that throw EngineException Modifier and Type Method Description voidNetworkServer. deployEndpoint(WebAppEndpointInstance endpoint)voidNetworkServer. deployHandler(org.eclipse.jetty.servlet.ServletContextHandler sharedHandler, String endpointId)voidNetworkServer. undeployAllHandlers()voidNetworkServer. undeployEndpoint(String id)voidNetworkServer. undeployHandler(String contextPath) -
Uses of EngineException in pl.edu.icm.unity.engine.api.session
Methods in pl.edu.icm.unity.engine.api.session that throw EngineException Modifier and Type Method Description LoginSessionSessionManagement. 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
Methods in pl.edu.icm.unity.engine.api.token that throw EngineException Modifier and Type Method Description List<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.voidSecuredTokensManagement. 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
Subclasses of EngineException in pl.edu.icm.unity.engine.api.translation Modifier and Type Class Description classExecutionFailExceptionThrow to signal that further execution of the translation profile should be stopped and that the whole process should be finished with error.Methods in pl.edu.icm.unity.engine.api.translation that throw EngineException Modifier and Type Method Description booleanTranslationCondition. evaluate(Object input)booleanTranslationCondition. evaluate(Object input, org.apache.logging.log4j.Logger log) -
Uses of EngineException in pl.edu.icm.unity.engine.api.translation.form
Methods in pl.edu.icm.unity.engine.api.translation.form that throw EngineException Modifier and Type Method Description voidRegistrationTranslationAction. invoke(TranslatedRegistrationRequest state, Object mvelCtx, RegistrationContext context, String currentProfile)Performs the translation.protected abstract voidRegistrationTranslationAction. invokeWrapped(TranslatedRegistrationRequest state, Object mvelCtx, RegistrationContext contexts, String currentProfile) -
Uses of EngineException in pl.edu.icm.unity.engine.api.translation.in
Methods in pl.edu.icm.unity.engine.api.translation.in that throw EngineException Modifier and Type Method Description MappingResultInputTranslationAction. invoke(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile)Performs the translation.protected abstract MappingResultInputTranslationAction. invokeWrapped(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile)voidInputTranslationEngine. mergeWithExisting(MappingResult result, EntityParam baseEntity)Merges the information obtained after execution of an input translation profile with a manually specified entity.voidInputTranslationEngine. process(MappingResult result)Entry point.EntityInputTranslationEngine. resolveMappedIdentity(MappedIdentity checked) -
Uses of EngineException in pl.edu.icm.unity.engine.api.translation.out
Methods in pl.edu.icm.unity.engine.api.translation.out that throw EngineException Modifier and Type Method Description voidOutputTranslationAction. invoke(TranslationInput input, Object mvelCtx, String currentProfile, TranslationResult result)protected abstract voidOutputTranslationAction. invokeWrapped(TranslationInput input, Object mvelCtx, String currentProfile, TranslationResult result) -
Uses of EngineException in pl.edu.icm.unity.engine.api.utils
Methods in pl.edu.icm.unity.engine.api.utils that throw EngineException Modifier and Type Method Description EnquiryFormGroupDelegationConfigGenerator. generateProjectJoinEnquiryForm(String groupPath, String logo)RegistrationFormGroupDelegationConfigGenerator. generateProjectRegistrationForm(String groupPath, String logo, List<String> attributes)EnquiryFormGroupDelegationConfigGenerator. generateProjectUpdateEnquiryForm(String groupPath, String logo) -
Uses of EngineException in pl.edu.icm.unity.engine.api.utils.json
Methods in pl.edu.icm.unity.engine.api.utils.json that throw EngineException Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNodeDefaultJsonFormatterFacility. toJson(byte[] rawValue)com.fasterxml.jackson.databind.node.ObjectNodeToken2JsonFormatter. toJson(pl.edu.icm.unity.base.token.Token t)com.fasterxml.jackson.databind.JsonNodeTokenContentsJsonSerializer. toJson(byte[] rawValue)com.fasterxml.jackson.databind.JsonNodeTokenWithJsonContentsSerializer. toJson(byte[] rawValue) -
Uses of EngineException in pl.edu.icm.unity.engine.api.webhook
Methods in pl.edu.icm.unity.engine.api.webhook that throw EngineException Modifier and Type Method Description org.apache.http.HttpResponseWebhookProcessor. trigger(Webhook webhook, Map<String,String> params) -
Uses of EngineException in pl.edu.icm.unity.engine.translation.in.action
Methods in pl.edu.icm.unity.engine.translation.in.action that throw EngineException Modifier and Type Method Description protected MappingResultBlindStopperInputAction. invokeWrapped(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile)protected MappingResultIncludeInputProfileActionFactory.IncludeInputProfileAction. invokeWrapped(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) -
Uses of EngineException in pl.edu.icm.unity.engine.translation.out.action
Methods in pl.edu.icm.unity.engine.translation.out.action that throw EngineException Modifier and Type Method Description protected voidBlindStopperOutputAction. invokeWrapped(TranslationInput input, Object mvelCtx, String currentProfile, TranslationResult result)protected voidIncludeOutputProfileActionFactory.IncludeOutputProfileAction. invokeWrapped(TranslationInput input, Object mvelCtx, String currentProfile, TranslationResult result) -
Uses of EngineException in pl.edu.icm.unity.exceptions
Subclasses of EngineException in pl.edu.icm.unity.exceptions Modifier and Type Class Description classAuthorizationExceptionThrown when there is authorization problemclassCapacityLimitReachedExceptionThrown when capacity limit is reached.classCredentialRecentlyUsedExceptionThrown when credential being set was recently usedclassIdentityExistsExceptionThrows to indicate that user already exists in the system.classIllegalAttributeTypeExceptionThrown when attribtue type is invalid.classIllegalAttributeValueExceptionThrown when attribtue value is invalid.classIllegalCredentialExceptionThrown when credential definition is invalid.classIllegalFormContentsExceptionThrown when there is problem with submitted form (enquiry, registration etc).static classIllegalFormContentsException.OccupiedIdentityUsedInRequestclassIllegalFormTypeExceptionThrown when type is invalid.classIllegalGroupValueExceptionThrown when group value is invalid.classIllegalIdentityValueExceptionThrown when identity value is invalid.classIllegalTypeExceptionThrown when type is invalid.classMergeConflictExceptionThrown when there is merge conflict which shall be reportedclassSchemaConsistencyExceptionThrown when operation would cause database schema consistency violation.classTooManyAttemptsSignals an error of too many attempts, e.g.classWrongArgumentExceptionThrown when there is problem with arguments, and when we want to have a checked exception.Constructors in pl.edu.icm.unity.exceptions with parameters of type EngineException Constructor Description RuntimeEngineException(String message, EngineException e)RuntimeEngineException(EngineException e) -
Uses of EngineException in pl.edu.icm.unity.types
Methods in pl.edu.icm.unity.types that throw EngineException Modifier and Type Method Description voidInitializationValidator. validateInitialization()Throws exception if some of the fields are null or incomplete. -
Uses of EngineException in pl.edu.icm.unity.types.registration.invite
Methods in pl.edu.icm.unity.types.registration.invite that throw EngineException Modifier and Type Method Description FormPrefillComboInvitationParam. getPrefillForForm(BaseForm form)FormPrefillEnquiryInvitationParam. getPrefillForForm(BaseForm form)abstract FormPrefillInvitationParam. getPrefillForForm(BaseForm form)Get prefill data associated with given formFormPrefillRegistrationInvitationParam. getPrefillForForm(BaseForm form)InvitationSendDataEnquiryInvitationParam. getSendData()abstract InvitationSendDataInvitationParam. getSendData()voidInvitationSender. send(EnquiryInvitationParam enquiryInvitationParam, String code)voidInvitationSender. send(RegistrationInvitationParam registrationInvitationParam, String code)voidComboInvitationParam. validate(FormProvider formProvider)voidEnquiryInvitationParam. validate(FormProvider formProvider)abstract voidInvitationParam. validate(FormProvider formProvider)voidRegistrationInvitationParam. validate(FormProvider formProvider)abstract voidInvitationParam. validateUpdate(InvitationParam toUpdate)
-