org.apache.shindig.social.core.oauth
Class OAuthAuthenticationHanderTest
java.lang.Object
org.junit.Assert
org.apache.shindig.common.EasyMockTestCase
org.apache.shindig.social.core.oauth.OAuthAuthenticationHanderTest
public class OAuthAuthenticationHanderTest
- extends EasyMockTestCase
Verify behavior of OAuth handler for consumer and 3-legged requests.
| Methods inherited from class org.junit.Assert |
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthAuthenticationHanderTest
public OAuthAuthenticationHanderTest()
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyOAuthRequest
public void testVerifyOAuthRequest()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyGet
public void testVerifyGet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyGetSignatureInHeader
public void testVerifyGetSignatureInHeader()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyRequestSignatureInBody
public void testVerifyRequestSignatureInBody()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyFailNoTokenEntry
public void testVerifyFailNoTokenEntry()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyFailTokenSecretMismatch
public void testVerifyFailTokenSecretMismatch()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyFailTokenIsRequest
public void testVerifyFailTokenIsRequest()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyFailTokenIsExpired
public void testVerifyFailTokenIsExpired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyConsumerRequest
public void testVerifyConsumerRequest()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyConsumerGet
public void testVerifyConsumerGet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyConsumerGetSignatureInHeader
public void testVerifyConsumerGetSignatureInHeader()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyConsumerRequestSignatureInAuthHeader
public void testVerifyConsumerRequestSignatureInAuthHeader()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVerifyConsumerRequestSignatureInBody
public void testVerifyConsumerRequestSignatureInBody()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNoSignature
public void testNoSignature()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBodyHashSigning
public void testBodyHashSigning()
throws java.lang.Exception
- Throws:
java.lang.Exception
testConsumerFailBodyHashSigningWithFormEncoding
public void testConsumerFailBodyHashSigningWithFormEncoding()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStashBody
public void testStashBody()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBodySigning
public void testBodySigning()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFailBodySigning
public void testFailBodySigning()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFailBodySigningWithFormEncoded
public void testFailBodySigningWithFormEncoded()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBodyHashNoContentType
public void testBodyHashNoContentType()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.