@WebAppConfiguration @IntegrationTest(value="server.port=0") public abstract class AbstractIntegrationTests extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractIntegrationTests.DoNotOverride |
Modifier and Type | Field and Description |
---|---|
OAuth2ContextSetup |
context |
HttpTestUtils |
http |
Constructor and Description |
---|
AbstractIntegrationTests() |
Modifier and Type | Method and Description |
---|---|
static String |
authorizePath() |
static String |
checkTokenPath() |
void |
close() |
void |
fixPaths() |
protected String |
getBasicAuthentication() |
protected String |
getPassword() |
protected String |
getUsername() |
void |
init() |
void |
setAuthorizePath(String authorizePath) |
void |
setCheckTokenPath(String tokenPath) |
void |
setTokenKeyPath(String tokenKeyPath) |
void |
setTokenPath(String tokenPath) |
static String |
tokenKeyPath() |
static String |
tokenPath() |
public HttpTestUtils http
public OAuth2ContextSetup context
public void init()
public void fixPaths()
protected String getPassword()
protected String getUsername()
protected String getBasicAuthentication()
@Value(value="${oauth.paths.token:/oauth/token}") public void setTokenPath(String tokenPath)
@Value(value="${oauth.paths.token_key:/oauth/token_key}") public void setTokenKeyPath(String tokenKeyPath)
@Value(value="${oauth.paths.check_token:/oauth/check_token}") public void setCheckTokenPath(String tokenPath)
@Value(value="${oauth.paths.authorize:/oauth/authorize}") public void setAuthorizePath(String authorizePath)
public static String tokenPath()
public static String tokenKeyPath()
public static String checkTokenPath()
public static String authorizePath()
Copyright © 2014. All rights reserved.