public class UserInfoServlet extends MyProxyDelegationServlet
Created by Jeff Gaynor
on 10/4/13 at 11:09 AM
caThread, ERROR_NOTIFICATION_BODY_KEY, ERROR_NOTIFICATION_SUBJECT_KEY, kpt, myproxyConnectionCache, myproxyConnectionCleanup, transactionCleanup
storeUpdatesDone
environment, initialization, PING_PARAMETER
Constructor and Description |
---|
UserInfoServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doIt(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected AccessToken |
getAT(javax.servlet.http.HttpServletRequest request) |
protected String |
getRawAT(javax.servlet.http.HttpServletRequest request) |
protected String |
getUsername(ServiceTransaction transaction)
Override this if needed.
|
protected net.sf.json.JSONObject |
stripClaims(net.sf.json.JSONObject json)
This strips out claims that should not be returned, such as the nonce, but are part of the original
id token.
|
ServiceTransaction |
verifyAndGet(IssuerResponse iResponse)
This is called after the response is received so that the system can get the approproate
transaction.
|
addNotificationListener, checkClientApproval, destroy, getAGI, getATI, getClient, getClient, getClient, getFirstParameters, getGrantIDFromRequest, getMPConnection, getMPConnection, getMyproxyConnectionCache, getMyproxyServices, getServiceEnvironment, getTransaction, getTransactionByGrantID, getTransactionStore, hasMPConnection, hasMPConnection, isEmpty, loadProperties2, newTransaction, postprocess, preprocess, realStoreUpdates, removeNotificationListener, say, shutdownCleanup, storeUpdates
loadEnvironment, processStoreCheck
CONST, debug, doGet, doPing, doPost, error, getConfigurationLoader, getEnvironment, getExceptionHandler, getFirstParameterValue, getInitialization, getMyLogger, handleException, info, init, isDebugOn, printAllParameters, resetState, setConfigurationLoader, setDebugOn, setEnvironment, setExceptionHandler, setInitialization, warn
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected void doIt(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Throwable
doIt
in class AbstractServlet
Throwable
protected net.sf.json.JSONObject stripClaims(net.sf.json.JSONObject json)
json
- protected String getUsername(ServiceTransaction transaction)
transaction
- public ServiceTransaction verifyAndGet(IssuerResponse iResponse) throws IOException
MyProxyDelegationServlet
verifyAndGet
in class MyProxyDelegationServlet
IOException
protected String getRawAT(javax.servlet.http.HttpServletRequest request)
protected AccessToken getAT(javax.servlet.http.HttpServletRequest request)
Copyright © 2019. All Rights Reserved.