[New] Added PrivilegeHandler.isPersistOnUserDataChanged

This commit is contained in:
Robert von Burg 2021-05-17 21:40:46 +02:00
parent 2e86dd7f71
commit 8acad0f502
2 changed files with 12 additions and 0 deletions

View File

@ -161,6 +161,11 @@ public class DefaultPrivilegeHandler implements PrivilegeHandler {
return this.allowSessionRefresh;
}
@Override
public boolean isPersistOnUserDataChanged() {
return this.autoPersistOnUserChangesData;
}
@Override
public EncryptionHandler getEncryptionHandler() throws PrivilegeException {
return this.encryptionHandler;

View File

@ -742,6 +742,13 @@ public interface PrivilegeHandler {
*/
boolean isRefreshAllowed();
/**
* Returns true if persisting on user data changed enabled
*
* @return true persisting on user data changed enabled
*/
boolean isPersistOnUserDataChanged();
/**
* Invalidates the session for the given {@link Certificate}, effectively logging out the user who was authenticated
* with the credentials associated to the given {@link Certificate}