public class OpenID4JavaResponder extends Object implements OpenIDResponder
Constructor and Description |
---|
OpenID4JavaResponder(org.openid4java.server.ServerManager serverManager) |
Modifier and Type | Method and Description |
---|---|
void |
sendAuthenticationResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
OpenIDAuthRequest authReq,
OpenIDAuthResponse authResp)
Responds to the provided authentication request with the provided authentication response.
|
void |
sendPlainTextResponse(javax.servlet.http.HttpServletResponse response,
String responseString)
Sends a direct (HTTP 200) plain text response to the requester.
|
public OpenID4JavaResponder(org.openid4java.server.ServerManager serverManager)
public void sendPlainTextResponse(javax.servlet.http.HttpServletResponse response, String responseString) throws IOException
OpenIDResponder
sendPlainTextResponse
in interface OpenIDResponder
response
- HttpServletResponse to write output to.responseString
- response output to write.IOException
- error writing response.public void sendAuthenticationResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, OpenIDAuthRequest authReq, OpenIDAuthResponse authResp) throws IOException
OpenIDResponder
sendAuthenticationResponse
in interface OpenIDResponder
IOException
Copyright © 2021 Atlassian. All rights reserved.