Class RFC7662
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.uiuc.ncsa.security.servlet.AbstractServlet
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Logable
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,TransactionFilter
,RFC7662Constants
public class RFC7662 extends TokenManagerServlet
The token introspection servlet This implements RFC7662Created by Jeff Gaynor
on 2/17/20 at 2:10 PM- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.oa4mp.server.loader.oauth2.servlet.TokenManagerServlet
TokenManagerServlet.State
-
-
Field Summary
-
Fields inherited from class org.oa4mp.server.api.storage.servlet.OA4MPServlet
caThread, kpt, lastAccessedThread, transactionCleanup
-
Fields inherited from class org.oa4mp.server.api.storage.servlet.EnvServlet
ERROR_NOTIFICATION_BODY_KEY, ERROR_NOTIFICATION_SUBJECT_KEY, notificationListeners, storeUpdatesDone
-
Fields inherited from class edu.uiuc.ncsa.security.servlet.AbstractServlet
environment, initialization, IP_HEADERS, PING_PARAMETER
-
Fields inherited from interface org.oa4mp.delegation.server.server.RFC7662Constants
ACTIVE, TOKEN, TOKEN_TYPE, TOKEN_TYPE_HINT, TYPE_ACCESS_TOKEN, TYPE_REFRESH_TOKEN, USERNAME
-
-
Constructor Summary
Constructors Constructor Description RFC7662()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doIt(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
protected void
populateResponse(TokenManagerServlet.State state, net.sf.json.JSONObject json)
Used for the case that the response is for an active token.-
Methods inherited from class org.oa4mp.server.loader.oauth2.servlet.TokenManagerServlet
check7523, checkBasic, checkBearer, doGet, getTokenType, getTransFromToken, isRFC7523Client, verifyAndGet, verifyClient, writeOK
-
Methods inherited from class org.oa4mp.server.loader.oauth2.servlet.BearerTokenServlet
findTransaction
-
Methods inherited from class org.oa4mp.server.api.storage.servlet.OA4MPServlet
checkAdminClientStatus, checkClientApproval, createDebugger, destroy, getAGI, getATI, getClient, getClient, getClient, getFirstParameters, getFirstParameterValue, getGrantIDFromRequest, getServiceEnvironment, getTransaction, getTransactionByGrantID, getTransactionStore, isEmpty, loadProperties2, newTransaction, postprocess, preprocess, realStoreUpdates, say, shutdownCleanup, storeUpdates
-
Methods inherited from class org.oa4mp.server.api.storage.servlet.EnvServlet
addNotificationListener, loadEnvironment, processStoreCheck, removeNotificationListener
-
Methods inherited from class edu.uiuc.ncsa.security.servlet.AbstractServlet
checkContentType, CONST, debug, doPing, doPost, error, error, getConfigurationLoader, getEnvironment, getExceptionHandler, getInitialization, getMyLogger, getRequestIPAddress, handleException, info, init, isDebugOn, logOK, logOK, printAllParameters, printAllParameters, resetState, setConfigurationLoader, setDebugOn, setEnvironment, setExceptionHandler, setInitialization, warn
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
doIt
protected void doIt(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws Throwable
- Specified by:
doIt
in classedu.uiuc.ncsa.security.servlet.AbstractServlet
- Throws:
Throwable
-
populateResponse
protected void populateResponse(TokenManagerServlet.State state, net.sf.json.JSONObject json)
Used for the case that the response is for an active token.- Parameters:
state
-json
-
-
-