Class HybrisOAuthTokenStoreTest
- java.lang.Object
-
- de.hybris.platform.webservicescommons.oauth2.token.provider.HybrisOAuthTokenStoreTest
-
@UnitTest public class HybrisOAuthTokenStoreTest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classHybrisOAuthTokenStoreTest.MockAuthentication
-
Constructor Summary
Constructors Constructor Description HybrisOAuthTokenStoreTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestFindAccessTokensByClientId()voidtestFindAccessTokensByUserName()voidtestGetAccess()voidtestGetAccessTokenInvalidAuthenticationError()voidtestGetAccessTokenNotFoundException()voidtestReadAccessToken()voidtestReadAuthentication()voidtestReadAuthenticationForNotExistingRefreshToken()voidtestReadAuthenticationForNotExistingToken()voidtestReadAuthenticationForRefreshToken()voidtestReadNotExistingAccessToken()voidtestReadNotExistingRefreshToken()voidtestReadRefreshToken()voidtestRemoveAccessToken()voidtestRemoveRefreshToken()voidtestStoreAccessToken()voidtestStoreRefreshToken()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testReadAuthentication
public void testReadAuthentication()
-
testReadAuthenticationForNotExistingToken
public void testReadAuthenticationForNotExistingToken()
-
testReadAccessToken
public void testReadAccessToken()
-
testReadNotExistingAccessToken
public void testReadNotExistingAccessToken()
-
testStoreAccessToken
public void testStoreAccessToken()
-
testRemoveAccessToken
public void testRemoveAccessToken()
-
testFindAccessTokensByUserName
public void testFindAccessTokensByUserName()
-
testFindAccessTokensByClientId
public void testFindAccessTokensByClientId()
-
testReadRefreshToken
public void testReadRefreshToken()
-
testReadNotExistingRefreshToken
public void testReadNotExistingRefreshToken()
-
testStoreRefreshToken
public void testStoreRefreshToken()
-
testReadAuthenticationForRefreshToken
public void testReadAuthenticationForRefreshToken()
-
testReadAuthenticationForNotExistingRefreshToken
public void testReadAuthenticationForNotExistingRefreshToken()
-
testRemoveRefreshToken
public void testRemoveRefreshToken()
-
testGetAccessTokenNotFoundException
public void testGetAccessTokenNotFoundException()
-
testGetAccessTokenInvalidAuthenticationError
public void testGetAccessTokenInvalidAuthenticationError()
-
testGetAccess
public void testGetAccess()
-
-