use of org.jgroups.auth.RegexMembership in project JGroups by belaban.
the class SizeTest method testAuthHeader.
public static void testAuthHeader() throws Exception {
_testSize(new AuthHeader(new FixedMembershipToken("192.168.1.5[7800],192.168.1.3[7800]")));
_testSize(new AuthHeader(new RegexMembership()));
X509Token tok = new X509Token().encryptedToken(new byte[] { 'b', 'e', 'l', 'a' });
_testSize(new AuthHeader(tok));
}
Aggregations