Class FileBootstrapTokenStore
java.lang.Object
com.svenruppert.jsentinel.bootstrap.FileBootstrapTokenStore
- All Implemented Interfaces:
BootstrapTokenStore
File-backed token store for
BootstrapMode.PERSISTENT_FILE.
The token survives restarts as long as the file exists. POSIX systems
receive rw------- (0600) permissions on save.
Format (intentionally simple, no JSON dependency):
token=XXXX-XXXX-XXXX-XXXX-XXXX createdAt=2026-05-06T09:30:00Z
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileBootstrapTokenStore
-
-
Method Details
-
load
- Specified by:
loadin interfaceBootstrapTokenStore
-
save
- Specified by:
savein interfaceBootstrapTokenStore
-
invalidate
public void invalidate()- Specified by:
invalidatein interfaceBootstrapTokenStore
-
path
-