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 void
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.Identity
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.Identity
EntityManagement. addEntity(IdentityParam toAdd, String credReqIdId, EntityState initialState, List<Attribute> attributes)
Adds a new entity with an initial identity.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.Identity
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
GroupsManagement. addGroup(Group toAdd)
Adds a new groupvoid
GroupsManagement. addGroup(Group toAdd, boolean withParents)
Adds a new group in a recursive wayvoid
GroupsManagement. addGroups(Set<Group> toAdd)
Adds new groupsIdentity
EntityManagement. 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)
String
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).AuthenticatorInfo
AuthenticatorManagement. createAuthenticator(String id, String typeId, String config, String credentialId)
Creates a new authenticatorvoid
IdpStatisticManagement. deleteOlderThan(LocalDateTime olderThan)
ResolvedEndpoint
EndpointManagement. deploy(String typeId, String endpointName, String address, EndpointConfiguration configuration)
Deploys a new instance of an endpoint of id type, at address location.File
ServerManagement. 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()
AttributesClass
AttributeClassManagement. getAttributeClass(String name)
Map<String,AttributesClass>
AttributeClassManagement. getAttributeClasses()
Collection<AttributeExt>
AttributesManagement. getAttributes(EntityParam entity, String groupPath, String attributeTypeId)
Returns visible attributes of an entity.AttributeType
AttributeTypeManagement. getAttributeType(String name)
Collection<AttributeType>
AttributeTypeManagement. getAttributeTypes()
Map<String,AttributeType>
AttributeTypeManagement. getAttributeTypesAsMap()
AuthenticationFlowDefinition
AuthenticationFlowManagement. getAuthenticationFlow(String name)
Get authentication flow by given nameCollection<AuthenticationFlowDefinition>
AuthenticationFlowManagement. getAuthenticationFlows()
AuthenticatorInfo
AuthenticatorManagement. getAuthenticator(String id)
Collection<AuthenticatorInfo>
AuthenticatorManagement. getAuthenticators(String bindingId)
List<EnquiryForm>
EnquiryManagement. getAvailableEnquires(EntityParam entityParam, EnquirySelector selector)
Allows to get enquiries according to the given filter.NamedCertificate
PKIManagement. getCertificate(String name)
Set<String>
GroupsManagement. getChildGroups(String root)
Map<String,MessageTemplate>
MessageTemplateManagement. getCompatibleTemplates(String templateConsumer)
GroupContents
GroupsManagement. getContents(String path, int filter)
Allows to retrieve group's contents and metadata.eu.emi.security.authn.x509.X509Credential
PKIManagement. getCredential(String name)
CredentialDefinition
CredentialManagement. getCredentialDefinition(String name)
Collection<CredentialDefinition>
CredentialManagement. getCredentialDefinitions()
Set<String>
PKIManagement. getCredentialNames()
Collection<CredentialRequirements>
CredentialRequirementManagement. getCredentialRequirements()
CredentialRequirements
CredentialRequirementManagement. getCredentialRequirements(String name)
Collection<CredentialType>
CredentialManagement. getCredentialTypes()
List<ResolvedEndpoint>
EndpointManagement. getDeployedEndpoints()
List<EndpointTypeDescription>
EndpointManagement. getEndpointTypes()
List<EnquiryForm>
EnquiryManagement. getEnquires()
EnquiryForm
EnquiryManagement. getEnquiry(String id)
List<EnquiryResponseState>
EnquiryManagement. getEnquiryResponses()
Lists all responsesEntity
EntityManagement. getEntity(EntityParam entity)
Returns information about an entity along with its all identities with authorization in '/'.Entity
EntityManagement. 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 groupString
EntityManagement. getEntityLabel(EntityParam entity)
Entity
EntityManagement. getEntityNoContext(EntityParam entity, String group)
Returns information about an entity along with its identities.RegistrationForm
RegistrationsManagement. 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.GroupsChain
GroupsManagement. getGroupsChain(String path)
Collection<Group>
EntityManagement. getGroupsForPresentation(EntityParam entity)
Returns a collection with all groups where the entity is a member.IdentityType
IdentityTypesManagement. 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)
TranslationProfile
TranslationProfileManagement. getInputProfile(String name)
InvitationWithCode
InvitationManagement. 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()
TranslationProfile
TranslationProfileManagement. getOutputProfile(String name)
List<NamedCertificate>
PKIManagement. getPersistedCertificates()
String
PreferencesManagement. getPreference(EntityParam entity, String preferenceId)
Returns a given preference.MessageTemplate
MessageTemplateManagement. getPreprocessedTemplate(String name)
Returns a template after pre-processing (e.g.MessageTemplate
MessageTemplateManagement. getPreprocessedTemplate(MessageTemplate toProcess)
AsMessageTemplateManagement.getPreprocessedTemplate(String)
but returns the argument template after preprocessingAuthenticationRealm
RealmsManagement. getRealm(String name)
Returns a realm by nameCollection<AuthenticationRealm>
RealmsManagement. getRealms()
Returns all defined realmsRegistrationRequestState
RegistrationsManagement. getRegistrationRequest(String id)
List<RegistrationRequestState>
RegistrationsManagement. getRegistrationRequests()
Lists all registration requests.ScheduledProcessingRule
BulkProcessingManagement. getScheduledRule(String id)
List<ScheduledProcessingRule>
BulkProcessingManagement. getScheduledRules()
String[]
AttributeTypeManagement. getSupportedAttributeValueTypes()
MessageTemplate
MessageTemplateManagement. getTemplate(String name)
boolean
EntityCredentialManagement. getUserMFAOptIn(EntityParam entity)
eu.emi.security.authn.x509.X509CertChainValidatorExt
PKIManagement. getValidator(String name)
Set<String>
PKIManagement. getValidatorNames()
List<NamedCertificate>
PKIManagement. getVolatileCertificates()
void
EnquiryManagement. ignoreEnquiry(String enquiryId, EntityParam entity)
Marks an enquiry as ignored for the given user.void
ServerManagement. 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()
String
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.String
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)
String
EnquiryManagement. submitEnquiryResponse(EnquiryResponse response, RegistrationContext context)
Submits an enquiry response.String
RegistrationsManagement. submitRegistrationRequest(RegistrationRequest request, RegistrationContext context)
Submits a new registration request.void
EndpointManagement. undeploy(String id)
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
Methods in pl.edu.icm.unity.engine.api.attributes that throw EngineException Modifier and Type Method Description AttributeExt
AttributeSupport. 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.AttributeType
AttributeSupport. 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)
void
AuthenticatorSupportService. refreshAuthenticatorsOfCredential(String credential)
All authenticators using the provided credential are refreshed.void
CredentialReset. sendCode(String messageTemplateId, boolean onlyNumberCode)
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
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 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
Methods in pl.edu.icm.unity.engine.api.authn.remote that throw EngineException Modifier and Type Method Description RemotelyAuthenticatedPrincipal
RemoteAuthnResultTranslator. 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 GroupMembershipData
BulkGroupQueryService. getBulkMembershipData(String group)
GroupMembershipData
BulkGroupQueryService. getBulkMembershipData(String group, Set<Long> filter)
GroupStructuralData
BulkGroupQueryService. 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 WorkflowFinalizationConfiguration
EmailConfirmationManager. processConfirmation(String tokenValue)
Process confirmation based on token.void
EmailConfirmationManager. sendConfirmationRequest(BaseEmailConfirmationState state)
Send confirmation request to the user with confirmation state.SMSCode
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
Methods in pl.edu.icm.unity.engine.api.endpoint that throw EngineException Modifier and Type Method Description void
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()
void
AbstractWebEndpoint. destroy()
void
EndpointInstance. destroy()
Stops the endpoint.EndpointConfiguration
EndpointFileConfigurationManagement. getEndpointConfig(String name)
void
AbstractWebEndpoint. start()
void
EndpointInstance. 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 class
IllegalURIException
Methods in pl.edu.icm.unity.engine.api.files that throw EngineException Modifier and Type Method Description pl.edu.icm.unity.base.file.FileData
FileStorageService. readFileFromWorkspace(String workspacePath)
URI
FileStorageService. storeFile(byte[] content, String ownerType, String ownerId)
pl.edu.icm.unity.base.file.FileData
FileStorageService. 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 String
IdentityResolver. getDisplayedUserName(EntityParam entity)
EntityWithCredential
IdentityResolver. resolveEntity(long entityId, String credentialName)
Provides information about entity including its credentialEntityWithCredential
IdentityResolver. 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.Identity
IdentityResolver. resolveSubject(AuthenticationSubject subject, String identityType)
Provides information about subject including its credentialEntityWithCredential
IdentityResolver. 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 IdentityParam
IdPEngine. getIdentity(List<IdentityParam> validIdentities, String selectedIdentity)
Finds selected identity among validIdentities and returns it as IdentityParam.TranslationResult
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.TranslationResult
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
Methods in pl.edu.icm.unity.engine.api.msg that throw EngineException Modifier and Type Method Description void
MessageManagement. addMessage(Message message)
List<Message>
MessageManagement. getAllMessages()
List<Message>
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
Methods in pl.edu.icm.unity.engine.api.notification that throw EngineException Modifier and Type Method Description String
NotificationProducer. 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.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
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 PolicyAgreementState
PolicyAgreementState. fromJson(String jsonConfig)
List<PolicyAgreementState>
PolicyAgreementManagement. getPolicyAgreementsStatus(EntityParam entity)
void
PolicyAgreementManagement. submitDecisions(EntityParam entity, List<PolicyAgreementDecision> decisions)
String
PolicyAgreementState. 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 long
PolicyDocumentManagement. addPolicyDocument(PolicyDocumentCreateRequest policyDocument)
Adds new policy documentPolicyDocumentWithRevision
PolicyDocumentManagement. getPolicyDocument(long id)
Get single policy document by given idCollection<PolicyDocumentWithRevision>
PolicyDocumentManagement. 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
Methods in pl.edu.icm.unity.engine.api.project that throw EngineException Modifier and Type Method Description void
ProjectRequestManagement. accept(ProjectRequestParam request)
Accept project requestString
DelegatedGroupManagement. addGroup(String projectPath, String parentPath, I18nString groupName, boolean isPublic)
Adds groupString
ProjectInvitationsManagement. addInvitation(ProjectInvitationParam param)
void
DelegatedGroupManagement. addMemberToGroup(String projectPath, String subgroupPath, long entityId)
Adds a new member to the groupvoid
ProjectRequestManagement. decline(ProjectRequestParam request)
Reject project requestString
DelegatedGroupManagement. getAttributeDisplayedName(String projectPath, String attributeName)
Gets attribute displayed nameDelegatedGroupContents
DelegatedGroupManagement. getContents(String projectPath, String subgroupPath)
Allows to retrieve group's contents and metadata.List<DelegatedGroupMember>
DelegatedGroupManagement. getDelegatedGroupMembers(String projectPath, String subgroupPath)
Gets delegated group membersMap<String,DelegatedGroupContents>
DelegatedGroupManagement. getGroupAndSubgroups(String projectPath, String subgroupPath)
Gets group with all child (recursive) groups as map.GroupAuthorizationRole
DelegatedGroupManagement. 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 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 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 void
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
Methods in pl.edu.icm.unity.engine.api.session that throw EngineException Modifier and Type Method Description LoginSession
SessionManagement. 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.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
Subclasses of EngineException in pl.edu.icm.unity.engine.api.translation Modifier and Type Class Description class
ExecutionFailException
Throw 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 boolean
TranslationCondition. evaluate(Object input)
boolean
TranslationCondition. 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 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
Methods in pl.edu.icm.unity.engine.api.translation.in that throw EngineException Modifier and Type Method Description 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.Entity
InputTranslationEngine. 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 void
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
Methods in pl.edu.icm.unity.engine.api.utils that throw EngineException Modifier and Type Method Description EnquiryForm
GroupDelegationConfigGenerator. generateProjectJoinEnquiryForm(String groupPath, String logo)
RegistrationForm
GroupDelegationConfigGenerator. generateProjectRegistrationForm(String groupPath, String logo, List<String> attributes)
EnquiryForm
GroupDelegationConfigGenerator. 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.JsonNode
TokenContentsJsonSerializer. toJson(byte[] rawValue)
com.fasterxml.jackson.databind.JsonNode
TokenWithJsonContentsSerializer. 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.hc.core5.http.ClassicHttpResponse
WebhookProcessor. 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 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
Methods in pl.edu.icm.unity.engine.translation.out.action that throw EngineException Modifier and Type Method Description protected 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
Subclasses of EngineException in pl.edu.icm.unity.exceptions Modifier and Type Class Description class
AuthorizationException
Thrown when there is authorization problemclass
CapacityLimitReachedException
Thrown when capacity limit is reached.class
CredentialRecentlyUsedException
Thrown when credential being set was recently usedclass
IdentityExistsException
Throws to indicate that user already exists in the system.class
IllegalAttributeTypeException
Thrown when attribtue type is invalid.class
IllegalAttributeValueException
Thrown when attribtue value is invalid.class
IllegalCredentialException
Thrown when credential definition is invalid.class
IllegalFormContentsException
Thrown when there is problem with submitted form (enquiry, registration etc).static class
IllegalFormContentsException.OccupiedIdentityUsedInRequest
class
IllegalFormTypeException
Thrown when type is invalid.class
IllegalGroupValueException
Thrown when group value is invalid.class
IllegalIdentityValueException
Thrown when identity value is invalid.class
IllegalTypeException
Thrown when type is invalid.class
MergeConflictException
Thrown when there is merge conflict which shall be reportedclass
SchemaConsistencyException
Thrown when operation would cause database schema consistency violation.class
TooManyAttempts
Signals an error of too many attempts, e.g.class
WrongArgumentException
Thrown 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 void
InitializationValidator. 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 FormPrefill
ComboInvitationParam. getPrefillForForm(BaseForm form)
FormPrefill
EnquiryInvitationParam. getPrefillForForm(BaseForm form)
abstract FormPrefill
InvitationParam. getPrefillForForm(BaseForm form)
Get prefill data associated with given formFormPrefill
RegistrationInvitationParam. getPrefillForForm(BaseForm form)
InvitationSendData
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)
-