Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ protected void callExecute(String method, IHttpServletRequest req, IHttpServletR
}
else
{
init(httpContext);
if (IntegratedSecurityLevel() == SECURITY_GXOBJECT)
{
httpContext.doNotCompress(true);
Expand Down Expand Up @@ -177,6 +176,7 @@ else if (IntegratedSecurityLevel() == SECURITY_LOW)
GXSecurityProvider.getInstance().checksession(-2, modelContext, reqUrl, flag);
if(!flag[0])
{
httpContext.setStream();
((HttpContextWeb)httpContext).redirect(loginObjectURL, true);
}
else
Expand All @@ -196,6 +196,7 @@ else if (IntegratedSecurityLevel() == SECURITY_LOW)
String notAuthorizedObject = Application.getClientContext().getClientPreferences().getProperty("IntegratedSecurityNotAuthorizedWeb", "");
notAuthorizedObject = GXutil.getClassName(notAuthorizedObject);
String notAuthorizedObjectURL = URLRouter.getURLRoute(notAuthorizedObject.toLowerCase(), new String[]{}, new String[]{}, httpContext.getRequest().getContextPath(), modelContext.getPackageName());
httpContext.setStream();
if (flag[0])
{
((HttpContextWeb)httpContext).redirect(notAuthorizedObjectURL, true);
Expand Down
Loading