Search in sources :

Example 16 with AMServiceProfileModel

use of com.sun.identity.console.base.model.AMServiceProfileModel in project OpenAM by OpenRock.

the class DynamicRequestViewBean method handleDynLinkRequest.

/**
     * Extract the URL for the dynamic link and pass it to subclass to handle the link request.
     *
     * @param event Request invocation event.
     */
public void handleDynLinkRequest(RequestInvocationEvent event) {
    AMServiceProfileModel model = (AMServiceProfileModel) getModel();
    setDynamicRequest(false);
    if (model == null) {
        forwardTo();
    } else {
        HttpServletRequest request = event.getRequestContext().getRequest();
        String url = appendPgSession(model.getPropertiesViewBean(request.getParameter("attrname")));
        handleDynamicLinkRequest(url);
    }
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) AMServiceProfileModel(com.sun.identity.console.base.model.AMServiceProfileModel)

Aggregations

AMServiceProfileModel (com.sun.identity.console.base.model.AMServiceProfileModel)16 OrderedSet (com.sun.identity.shared.datastruct.OrderedSet)6 Map (java.util.Map)6 Set (java.util.Set)6 HashMap (java.util.HashMap)5 AMPropertySheet (com.sun.identity.console.base.AMPropertySheet)2 AMConsoleException (com.sun.identity.console.base.model.AMConsoleException)2 CCPageTitleModel (com.sun.web.ui.model.CCPageTitleModel)2 AMPropertySheetModel (com.sun.identity.console.base.model.AMPropertySheetModel)1 HttpServletRequest (javax.servlet.http.HttpServletRequest)1