Presumably this should call isAuthenticPeer().
Otherwise nothing calls it.
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user