The RequestContext object is located in the package org.deegree.services.controller. It encapsulates useful information like username, password, request base url etc. and is initialized by the OGCFrontController. OGCFrontController will populate RequestContext with the relevant values from a request. You may obtain an instance of the RequestContext from the OGCFrontController by calling the getContext() method. Afterwards you can access the public getter methods to retrieve information from the current request.