Class AGServer2

  • All Implemented Interfaces:
    AGServer, org.oa4mp.delegation.common.services.AddressableServer, org.oa4mp.delegation.common.services.DoubleDispatchServer, org.oa4mp.delegation.common.services.Server, OA2Constants

    public class AGServer2
    extends ASImpl
    implements AGServer, OA2Constants
    This class manages the client call to the authorization grant server

    Created by Jeff Gaynor
    on 6/4/13 at 4:27 PM

    • Field Detail

      • STATE_LENGTH

        public static int STATE_LENGTH
        The number of bytes in the random state string sent to the server.
    • Constructor Detail

      • AGServer2

        public AGServer2​(edu.uiuc.ncsa.security.servlet.ServiceClient serviceClient)
    • Method Detail

      • getServiceClient

        public edu.uiuc.ncsa.security.servlet.ServiceClient getServiceClient()
      • processAGRequest

        public AGResponse processAGRequest​(AGRequest agRequest)
        Accepts AGRequest, obtains auth code, packs said authCode into AGResponse and returns AGResponse
        Specified by:
        processAGRequest in interface AGServer
        Parameters:
        agRequest - Authorization grant request
        Returns:
        Authorization grant response