public abstract class AbstractResourceOwnerPasswordProviderTests extends AbstractIntegrationTests
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractResourceOwnerPasswordProviderTests.ResourceOwner |
AbstractIntegrationTests.DoNotOverride
context, http
Constructor and Description |
---|
AbstractResourceOwnerPasswordProviderTests() |
Modifier and Type | Method and Description |
---|---|
void |
setupAccessTokenProvider() |
void |
testInvalidGrantType() |
void |
testInvalidTokenErrorMessage() |
void |
testMissingGrantType()
tests that we get the correct error response if the media type is unacceptable.
|
void |
testNoSuchClient() |
void |
testSecretProvidedInForm() |
void |
testSecretProvidedInHeader() |
void |
testTokenEndpointunauthenticated() |
void |
testTokenNotGrantedIfSecretNotProvided() |
void |
testTokenObtainedWithHeaderAuthentication() |
void |
testTokenObtainedWithQueryAuthentication() |
void |
testUnauthenticated() |
void |
testUnauthenticatedErrorMessage() |
authorizePath, checkTokenPath, close, fixPaths, getBasicAuthentication, getPassword, getUsername, init, setAuthorizePath, setCheckTokenPath, setTokenKeyPath, setTokenPath, tokenKeyPath, tokenPath
public AbstractResourceOwnerPasswordProviderTests()
public void setupAccessTokenProvider()
public void testUnauthenticatedErrorMessage() throws Exception
Exception
public void testInvalidTokenErrorMessage() throws Exception
Exception
public void testTokenObtainedWithHeaderAuthentication() throws Exception
Exception
public void testTokenObtainedWithQueryAuthentication() throws Exception
Exception
public void testTokenNotGrantedIfSecretNotProvided() throws Exception
Exception
public void testSecretProvidedInHeader() throws Exception
Exception
public void testTokenEndpointunauthenticated() throws Exception
Exception
Copyright © 2014. All rights reserved.