Presumably this should call isAuthenticPeer().

Otherwise nothing calls it.
This commit is contained in:
Ray J. Greenwell
2012-09-14 11:15:57 -07:00
parent 644d35505f
commit 6cfc0890c6
@@ -357,7 +357,7 @@ public abstract class PeerManager
_conmgr.addChainedAuthenticator( _conmgr.addChainedAuthenticator(
new ServiceAuthenticator<PeerCreds>(PeerCreds.class, PeerAuthName.class) { new ServiceAuthenticator<PeerCreds>(PeerCreds.class, PeerAuthName.class) {
@Override protected boolean areValid (PeerCreds creds) { @Override protected boolean areValid (PeerCreds creds) {
return creds.areValid(_sharedSecret); return isAuthenticPeer(creds);
} }
}); });
_clmgr.addSessionFactory( _clmgr.addSessionFactory(