Skip to content

Fix #2390: Temporary block of activation#2392

Merged
romanstrobl merged 23 commits into
developfrom
issues/2390-temporary-block
Jun 11, 2026
Merged

Fix #2390: Temporary block of activation#2392
romanstrobl merged 23 commits into
developfrom
issues/2390-temporary-block

Conversation

@romanstrobl

Copy link
Copy Markdown
Member

See #2390

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements temporary activation blocking for activations that exceed maximum authentication failures, with scheduled/on-access expiration and API exposure of the block-expiration timestamp.

Changes:

  • Adds temporary block configuration, persistence fields, Liquibase/SQL migrations, and scheduled expiration.
  • Updates authentication/status/list flows to set, expire, and expose temporary activation blocks.
  • Extends client models and documentation with timestampBlockExpire and related configuration/error details.

Reviewed changes

Copilot reviewed 37 out of 37 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
powerauth-java-server/src/main/resources/application.properties Adds temporary block and scheduler properties.
CleaningTask.java Adds scheduled temporary block expiration task.
ActivationQueryService*.java Adds queries for expired temporary blocks.
ServiceError.java Adds configuration error code.
v3/v4/*Authentication*/*Signature*/*Status*Behavior.java Integrates temporary block expiration/blocking/reset into auth and status flows.
TemporaryBlockService.java Implements temporary block lifecycle logic.
ActivationServiceBehavior.java Exposes block expiration and expires blocks in activation APIs.
ActivationRepository.java Adds expired temporary block repository query.
ActivationRecordEntity.java Adds temporary block persistence fields.
AdditionalInformation.java Adds history reason for expired temporary blocks.
PowerAuthServiceConfiguration.java Adds temporary block configuration fields.
powerauth-client-model/... Adds timestampBlockExpire to response/entity models.
docs/WebServices-Methods-V3.md Documents new response fields for v3 APIs.
docs/WebServices-Methods-V4.md Documents new response fields for v4 APIs.
docs/sql/** Adds SQL schema/migration statements.
docs/db/changelog/** Adds Liquibase changeset include and column changes.
docs/Server-Error-Codes.md Documents new configuration error code.
docs/PowerAuth-Server-2.2.0.md Documents migration and feature behavior.
docs/Database-Structure.md Documents new activation columns.
docs/Configuration-Properties.md Documents new configuration properties.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/PowerAuth-Server-2.2.0.md Outdated
Comment thread docs/Server-Error-Codes.md Outdated
@romanstrobl romanstrobl temporarily deployed to docker-internal May 28, 2026 08:12 — with GitHub Actions Inactive
@romanstrobl romanstrobl temporarily deployed to docker-internal June 2, 2026 05:37 — with GitHub Actions Inactive

@jnpsk jnpsk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! 👏
Sharing some minor notes.

Comment thread docs/PowerAuth-Server-2.2.0.md Outdated
Comment thread docs/WebServices-Methods-V3.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 36 out of 36 changed files in this pull request and generated 3 comments.

@jnpsk jnpsk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@romanstrobl romanstrobl merged commit bf04cc0 into develop Jun 11, 2026
4 checks passed
@romanstrobl romanstrobl deleted the issues/2390-temporary-block branch June 11, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants