com.ibm.tivoli.maximo.oauth.consumer.webclient

Class OAuthAuthorizationHandler

  • java.lang.Object
    • com.ibm.tivoli.maximo.oauth.consumer.webclient.OAuthAuthorizationHandler


  • public class OAuthAuthorizationHandler
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static net.oauth.OAuthAccessor authorize(java.lang.String providerName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) 
      static void handleException(net.oauth.OAuthException e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, net.oauth.OAuthConsumer consumer) 
      static void handleException(net.oauth.OAuthException e, java.lang.String providerName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OSLCLOGGER

        public static final MXLogger OSLCLOGGER
    • Constructor Detail

      • OAuthAuthorizationHandler

        public OAuthAuthorizationHandler()
    • Method Detail

      • authorize

        public static net.oauth.OAuthAccessor authorize(java.lang.String providerName,
                                                        javax.servlet.http.HttpServletRequest request,
                                                        javax.servlet.http.HttpServletResponse response)
                                                 throws MXException,
                                                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • handleException

        public static void handleException(net.oauth.OAuthException e,
                                           java.lang.String providerName,
                                           javax.servlet.http.HttpServletRequest request,
                                           javax.servlet.http.HttpServletResponse response)
                                    throws java.io.IOException,
                                           javax.servlet.ServletException
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • handleException

        public static void handleException(net.oauth.OAuthException e,
                                           javax.servlet.http.HttpServletRequest request,
                                           javax.servlet.http.HttpServletResponse response,
                                           net.oauth.OAuthConsumer consumer)
                                    throws MXException
        Throws:
        MXException