public class StandardAuthenticationHandlerTest 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 |
|---|
StandardAuthenticationHandlerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAddOAuth2Authentication_1() |
void |
testAddOAuth2Authentication_2() |
void |
testAddOAuth2Authentication_3() |
void |
testAddOAuth2Authentication_4() |
void |
testGeClientAuthenticationType_1() |
void |
testStandardAuthenticationHandler_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 testStandardAuthenticationHandler_1()
throws Exception
Exceptionpublic void testAddOAuth2Authentication_1()
throws Exception
Exceptionpublic void testAddOAuth2Authentication_2()
throws Exception
Exceptionpublic void testAddOAuth2Authentication_3()
throws Exception
Exceptionpublic void testAddOAuth2Authentication_4()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.