示例#1
0
 public void persist(AuthenticationInfo subject) throws IOException {
   Preconditions.checkNotNull(subject, "AuthenticationInfo should not be null");
   stopDelayedPersistTimer();
   snapshotAngularObjectRegistry(subject.getUser());
   index.updateIndexDoc(this);
   repo.save(this, subject);
 }
示例#2
0
 public void persist() throws IOException {
   snapshotAngularObjectRegistry();
   repo.save(this);
 }