Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

oracle.ocsg.oauth2.util
Class OAuthWorkContextHelper

java.lang.Object
  extended byoracle.ocsg.oauth2.util.OAuthWorkContextHelper

public final class OAuthWorkContextHelper
extends java.lang.Object

Helper util for managing OAuth related work context parameters.


Nested Class Summary
static class OAuthWorkContextHelper.OAuthHandlingException
          OAuth handling exception.
 
Method Summary
static void handleBearerTypeAccessToken(javax.servlet.http.HttpServletRequest request, OAuthTokenPrincipal tokenPrincipal)
           
static void handleMacTypeAccessToken(javax.servlet.http.HttpServletRequest req, OAuthTokenPrincipal principal)
           
static void handleRequest(javax.servlet.http.HttpServletRequest req)
           
static boolean isOauthTraffic()
           
static void verifyToken(AccessToken accessToken)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

handleBearerTypeAccessToken

public static void handleBearerTypeAccessToken(javax.servlet.http.HttpServletRequest request,
                                               OAuthTokenPrincipal tokenPrincipal)
                                        throws OAuthWorkContextHelper.OAuthHandlingException
Throws:
OAuthWorkContextHelper.OAuthHandlingException

handleMacTypeAccessToken

public static void handleMacTypeAccessToken(javax.servlet.http.HttpServletRequest req,
                                            OAuthTokenPrincipal principal)
                                     throws OAuthWorkContextHelper.OAuthHandlingException
Throws:
OAuthWorkContextHelper.OAuthHandlingException

handleRequest

public static void handleRequest(javax.servlet.http.HttpServletRequest req)
                          throws OAuthWorkContextHelper.OAuthHandlingException
Throws:
OAuthWorkContextHelper.OAuthHandlingException

isOauthTraffic

public static boolean isOauthTraffic()

verifyToken

public static void verifyToken(AccessToken accessToken)
                        throws OAuthWorkContextHelper.OAuthHandlingException
Throws:
OAuthWorkContextHelper.OAuthHandlingException

Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

Copyright © 2008, 2018, Oracle and/or its affiliates. All rights reserved.