public abstract class OAuthUser extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
OAuthUser()
Constructs this object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearBitbucketService()
Clears the current Bitbucket service.
|
protected URI |
getAuthorizationEndpoint(javax.servlet.http.HttpServletRequest request)
Returns the authorization endpoint URI.
|
protected abstract OAuthClient |
getBitbucketClient()
Returns a Bitbucket client for getting a Bitbucket service.
|
Service |
getBitbucketService()
Returns the current Bitbucket service.
|
protected static int |
getExplicitServerPort(javax.servlet.http.HttpServletRequest request)
Returns the server port of a HTTP request.
|
protected static String |
getRedirectionPath(javax.servlet.http.HttpServletRequest request)
Returns the redirection endpoint path.
|
protected void |
requestToken(OAuthRedirection redirection) |
protected abstract OAuthClient getBitbucketClient()
public Service getBitbucketService()
protected URI getAuthorizationEndpoint(javax.servlet.http.HttpServletRequest request) throws URISyntaxException, IOException
request - HTTP requestURISyntaxException - if a URI syntax error has been occurredIOException - if an I/O error has occurredprotected void requestToken(@Observes
OAuthRedirection redirection)
throws IOException
IOExceptionprotected void clearBitbucketService()
protected static int getExplicitServerPort(javax.servlet.http.HttpServletRequest request)
request - HTTP requestprotected static String getRedirectionPath(javax.servlet.http.HttpServletRequest request)
request - HTTP requestCopyright © 2015 Nishimura Software Studio. All rights reserved.