jsentinel-standalone-persistence

Add Eclipse-Store persistence to standalone Vaadin Flow applications via SPI.

2|Updated Jul 7, 2019
One-click install
npx skills add https://github.com/vaadin-developer/security-for-flow --skill jsentinel-standalone-persistence
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: jsentinel-standalone-persistence
Source: https://github.com/vaadin-developer/security-for-flow/tree/main/docs/skills/claude/jsentinel-standalone-persistence
Command: npx skills add https://github.com/vaadin-developer/security-for-flow --skill jsentinel-standalone-persistence

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jSentinel-persistence-eclipsestore, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a layer-2 persistence solution for standalone Vaadin Flow applications, offering a more robust and persistent storage mechanism using Eclipse-Store.

Core Features & Use Cases

  • Bootstrap with Token: Offers a token-based first-admin bootstrap process.
  • Persistence: Integrates Eclipse-Store for persistent user directory storage.
  • Pluggable User Directory: Allows for pluggable user directory persistence, supporting Eclipse-Store by default with options for JDBC/LDAP.
  • Additive via SPI: Adds persistence functionality via the BootstrapExtension SPI without overwriting existing Main bootstrap.
  • Prerequisite: Requires a project that has already run jsentinel-standalone.

Quick Start

Run the setup command with the bootstrap token and admin credentials: setup

Frequently Asked Questions about jsentinel-standalone-persistence

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add persistent user storage to a standalone Vaadin Flow application?▼

You can add persistent user storage to a standalone Vaadin Flow application by integrating Eclipse-Store as a layer-2 persistence solution. This provides a persistent user directory and a token-based bootstrap process.

What is the best way to bootstrap the first admin user in a Vaadin standalone app?▼

The best way to bootstrap the first admin user in a Vaadin standalone app is using a token-based bootstrap process. This approach securely initializes your first administrator credentials during the setup command execution.

Does Eclipse-Store persistence require any previous Vaadin project setup?▼

Yes, Eclipse-Store persistence requires previous setup with the `jsentinel-standalone` Skill. You must add the `jSentinel-persistence-eclipsestore` dependency to your existing project before applying this persistence layer.

Can I use JDBC or LDAP for user directory persistence instead of Eclipse-Store?▼

Yes, you can use JDBC or LDAP for user directory persistence instead of Eclipse-Store. The architecture supports a pluggable persistence SPI, allowing you to swap the default Eclipse-Store implementation for JDBC or LDAP.

Will adding this Eclipse-Store persistence overwrite my existing Vaadin Main bootstrap?▼

No, adding this Eclipse-Store persistence will not overwrite your existing Vaadin Main bootstrap. It additively integrates persistence functionality via the `BootstrapExtension` SPI without modifying your current setup.

How does the pluggable persistence SPI work for Vaadin Flow user directories?▼

The pluggable persistence SPI works by allowing you to define custom storage mechanisms for Vaadin Flow user directories. It defaults to Eclipse-Store but enables swapping implementations to JDBC or LDAP seamlessly.