@Override
	public long getPasswordExpiration() throws IOException {
		if (canSetPassword()) {
			return mgr.getUserManager().getPasswordExpiration(currentUser);
		}
		return -1;
	}
RMI callback when instance becomes unreferenced by any remote client
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/remote/RepositoryServerHandleImpl.java