Search in sources :

Example 1 with EntitiesModelImpl

use of com.sun.identity.console.idm.model.EntitiesModelImpl in project OpenAM by OpenRock.

the class EntitiesViewBean method getModelInternal.

protected AMModel getModelInternal() {
    RequestContext rc = RequestManager.getRequestContext();
    HttpServletRequest req = rc.getRequest();
    return new EntitiesModelImpl(req, getPageSessionAttributes());
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) RequestContext(com.iplanet.jato.RequestContext) EntitiesModelImpl(com.sun.identity.console.idm.model.EntitiesModelImpl)

Example 2 with EntitiesModelImpl

use of com.sun.identity.console.idm.model.EntitiesModelImpl in project OpenAM by OpenRock.

the class EndUserViewBean method getModelInternal.

protected AMModel getModelInternal() {
    HttpServletRequest req = RequestManager.getRequestContext().getRequest();
    EntitiesModel model = new EntitiesModelImpl(req, getPageSessionAttributes());
    model.setEndUser(true);
    return model;
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) EntitiesModelImpl(com.sun.identity.console.idm.model.EntitiesModelImpl) EntitiesModel(com.sun.identity.console.idm.model.EntitiesModel)

Aggregations

EntitiesModelImpl (com.sun.identity.console.idm.model.EntitiesModelImpl)2 HttpServletRequest (javax.servlet.http.HttpServletRequest)2 RequestContext (com.iplanet.jato.RequestContext)1 EntitiesModel (com.sun.identity.console.idm.model.EntitiesModel)1