use of com.sun.identity.console.sts.model.STSHomeViewBeanModelImpl in project OpenAM by OpenRock.
the class STSHomeViewBean method getModelInternal.
protected AMModel getModelInternal() {
RequestContext rc = RequestManager.getRequestContext();
HttpServletRequest req = rc.getRequest();
try {
return new STSHomeViewBeanModelImpl(req, getPageSessionAttributes());
} catch (AMConsoleException e) {
setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
throw new IllegalStateException("Exception getting model in STSHomeViewBean: " + e.getMessage(), e);
}
}
Aggregations