java.lang.Object | |||||||
↳ | javax.servlet.GenericServlet | ||||||
↳ | javax.servlet.http.HttpServlet | ||||||
↳ | com.atlassian.applinks.ui.AbstractApplinksServlet | ||||||
↳ | com.atlassian.applinks.ui.AbstractAppLinksAdminOnlyServlet | ||||||
↳ | com.atlassian.applinks.core.auth.AbstractAuthServlet | ||||||
↳ | com.atlassian.applinks.core.auth.oauth.servlets.AbstractOAuthConfigServlet | ||||||
↳ | com.atlassian.applinks.core.auth.oauth.servlets.serviceprovider.AddConsumerReciprocalServlet |
This servlet is the counterpart of
AddConsumerByUrlServlet
and
AddConsumerManuallyServlet
.
Both those servlets redirect to this servlet on the other machine so oauth can be added as an outbound authentication provider on this host. When this servlet finishes, it redirects back to caller with a URL parameter to signify success or failure (for instance when this is a one-way link and the server id is not registered on this host -- which is possible when the process was initiated by a user that is logged in on the remote host and didn't realize).
This "cross-host dance" to establish an oauth link can fail for several reasons:
This servlet takes to following url parameters:
When redirecting back to callback, the following parameters are sent:
This servlet is bound under: [PUT|DELETE] /applinks/auth/conf/oauth/outbound/apl/
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CALLBACK_PARAM | ||||||||||
String | ENABLE_OAUTH_AUTHENTICATION_PARAMETER | ||||||||||
String | SUCCESS_PARAM |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.applinks.core.auth.oauth.servlets.AbstractOAuthConfigServlet
| |||||||||||
From class
com.atlassian.applinks.ui.AbstractApplinksServlet
| |||||||||||
From interface
com.atlassian.applinks.ui.XsrfProtectedServlet
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.applinks.core.auth.AbstractAuthServlet
| |||||||||||
From class
com.atlassian.applinks.ui.AbstractAppLinksAdminOnlyServlet
| |||||||||||
From class
com.atlassian.applinks.ui.AbstractApplinksServlet
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.applinks.core.auth.oauth.servlets.AbstractOAuthConfigServlet
| |||||||||||
From class
com.atlassian.applinks.core.auth.AbstractAuthServlet
| |||||||||||
From class
com.atlassian.applinks.ui.AbstractAppLinksAdminOnlyServlet
| |||||||||||
From class
com.atlassian.applinks.ui.AbstractApplinksServlet
| |||||||||||
From class
javax.servlet.http.HttpServlet
| |||||||||||
From class
javax.servlet.GenericServlet
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.servlet.Servlet
| |||||||||||
From interface
javax.servlet.ServletConfig
|
ServletException | |
---|---|
IOException |