| |
|
| org.jgroups.protocols.AUTHTest
AUTHTest | public class AUTHTest extends TestCase (Code) | | A set of JUnit tests for the AUTH protocol
author: Chris Mills |
suite | public static Test suite()(Code) | | |
testAuthHeader | public void testAuthHeader()(Code) | | Test to create an AuthHeader object and set and get the Token object
Fails if an exception is thrown or the set and get don't equal the same object
|
testAuthHeaderDifferent | public void testAuthHeaderDifferent()(Code) | | Test to create an AuthHeader object and set and get the Token object
Fails if an exception is thrown or the set and get equal the same object
|
testMD5Token | public void testMD5Token()(Code) | | Creates two MD5Token objects with identical auth_values and authenticates one against the other
Uses an MD5 hash type
Test fails if an exception is thrown or authentication fails
|
testMD5TokenMismatch | public void testMD5TokenMismatch()(Code) | | Creates two MD5Token objects with different auth_values and authenticates one against the other
Uses an MD5 hash type
Test fails if an exception is thrown or authentication passes
|
testSHAToken | public void testSHAToken()(Code) | | Creates two MD5Token objects with identical auth_values and authenticates one against the other
Uses an SHA hash type
Test fails if an exception is thrown or authentication fails
|
testSHATokenMismatch | public void testSHATokenMismatch()(Code) | | Creates two MD5Token objects with different auth_values and authenticates one against the other
Uses an SHA hash type
Test fails if an exception is thrown or authentication passes
|
testSimpleToken | public void testSimpleToken()(Code) | | Creates two SimpleToken objects with identical auth_values and authenticates one against the other
Test fails if an exception is thrown or authentication fails
|
testSimpleTokenMismatch | public void testSimpleTokenMismatch()(Code) | | Creates two SimpleToken objects with different auth_values and authenticates one against the other
Test fails if an exception is thrown or authentication passes
|
|
|
|