public class OAuth2ClientTest extends MockUtils
MockUtils.DummyHttpFetcherACCESS_SECRET, AUTHORIZE_URL, CLIENT_ID1, CLIENT_ID2, CLIENT_SECRET1, CLIENT_SECRET2, dummyStore, EMPTY_MAP, encrypter, GADGET_URI1, GADGET_URI2, MAC_SECRET, REDIRECT_URI, REFRESH_SECRET, REFRESH_TOKEN_INDEX, SCOPE, SERVICE_NAME, STATE, stateCrypter, TOKEN_URL, USER| Constructor and Description |
|---|
OAuth2ClientTest() |
getAccessToken, getBadMacToken, getClient_Code_Confidential, getClient_Code_Public, getDummyArguments, getDummyAuthority, getDummyClientAuthHandlers, getDummyEncrypter, getDummyFetcher, getDummyMessageProvider, getDummyPersister, getDummySecurityToken, getDummySpecFactory, getDummyStateCrypter, getDummyStore, getDummyStore, getDummyTokenEndpointResponseHandlers, getJSONString, getMacToken, getOAuth2Accessor_BadMacToken, getOAuth2Accessor_ClientCredentials, getOAuth2Accessor_ClientCredentialsRedirecting, getOAuth2Accessor_Code, getOAuth2Accessor_Error, getOAuth2Accessor_MacToken, getOAuth2Accessor_Redirecting, getOAuth2Accessor_StandardAuth, getRefreshToken, loadFilepublic void testGetAuthorizationUrl_1()
throws Exception
Exceptionpublic void testGetClientAuthenticationType_1()
throws Exception
Exceptionpublic void testIsAllowModuleOverride_1()
throws Exception
Exceptionpublic void testIsAllowModuleOverride_2()
throws Exception
Exceptionpublic void testIsAuthorizationHeader_1()
throws Exception
Exceptionpublic void testIsAuthorizationHeader_2()
throws Exception
Exceptionpublic void testSetAllowModuleOverride_1()
throws Exception
Exceptionpublic void testSetAuthorizationHeader_1()
throws Exception
Exceptionpublic void testSetAuthorizationUrl_1()
throws Exception
Exceptionpublic void testSetClientAuthenticationType_1()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.