public class CodeGrantTypeHandlerTest 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 |
|---|
CodeGrantTypeHandlerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testCodeGrantTypeHandler_1() |
void |
testGetAuthorizationRequest_1() |
void |
testGetCompleteUrl_1() |
void |
testGetCompleteUrl_2() |
void |
testGetCompleteUrl_3() |
void |
testGetCompleteUrl_4() |
void |
testGetCompleteUrl_5() |
void |
testGetGrantType_1() |
void |
testGetResponseType_1() |
void |
testIsAuthorizationEndpointResponse_1() |
void |
testIsRedirectRequired_1() |
void |
testIsTokenEndpointResponse_1() |
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 testCodeGrantTypeHandler_1()
throws Exception
Exceptionpublic void testGetAuthorizationRequest_1()
throws Exception
Exceptionpublic void testIsAuthorizationEndpointResponse_1()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.