Package com.teamdev.jxbrowser.password
Interface PasswordStore
- All Superinterfaces:
ProfileService
A service for working with logins and passwords saved in
the Chromium password store.
- Since:
- 7.20
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionall()
Returns all saved and blacklisted (marked as "never-saved") records from the password store.Returns only blacklisted (marked as "never-saved") records from the password store.allSaved()
Returns only saved records from the password store.void
clear()
Clears all records in the password store.void
removeByUrl
(String url) Removes records associated with thisurl
from the password store.Methods inherited from interface com.teamdev.jxbrowser.profile.ProfileService
profile
-
Method Details
-
all
List<PasswordRecord> all()Returns all saved and blacklisted (marked as "never-saved") records from the password store.Blacklisted records have only URLs, login is empty.
- Throws:
ObjectClosedException
- when the profile is deleted or its engine is closed
-
allSaved
List<PasswordRecord> allSaved()Returns only saved records from the password store.- Throws:
ObjectClosedException
- when the profile is deleted or its engine is closed
-
allNeverSaved
List<PasswordRecord> allNeverSaved()Returns only blacklisted (marked as "never-saved") records from the password store.- Throws:
ObjectClosedException
- when the profile is deleted or its engine is closed
-
removeByUrl
Removes records associated with thisurl
from the password store.- Throws:
ObjectClosedException
- when the profile is deleted or its engine is closedIllegalArgumentException
- whenurl
isnull
or empty.
-
clear
void clear()Clears all records in the password store.- Throws:
ObjectClosedException
- when the profile is deleted or its engine is closed
-