Changeset 5341 for branches/release-0.13.x/pfixcore/src/de/schlund/pfixcore/workflow/context/RequestContextImpl.java
- Timestamp:
- 09/04/10 22:05:44 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/release-0.13.x/pfixcore/src/de/schlund/pfixcore/workflow/context/RequestContextImpl.java
r5138 r5341 374 374 authConst = getParentContext().getContextConfig().getDefaultAuthConstraint(); 375 375 if (authConst != null) { 376 String authPageName = authConst.getAuthPage( );376 String authPageName = authConst.getAuthPage(parentcontext); 377 377 if (authPageName != null) { 378 378 currentpagerequest = createPageRequest(authPageName); … … 742 742 AuthConstraint authConstraint = pageConfig.getAuthConstraint(); 743 743 if (authConstraint == null) authConstraint = parentcontext.getContextConfig().getDefaultAuthConstraint(); 744 if (authConstraint != null && !authConstraint.isAuthorized(parentcontext) && authConstraint.getAuthPage( )==null) return false;744 if (authConstraint != null && !authConstraint.isAuthorized(parentcontext) && authConstraint.getAuthPage(parentcontext)==null) return false; 745 745 } 746 746 return true; … … 771 771 authConstraint = parentcontext.getContextConfig().getDefaultAuthConstraint(); 772 772 if (authConstraint != null) { 773 String authPageName = authConstraint.getAuthPage( );773 String authPageName = authConstraint.getAuthPage(parentcontext); 774 774 if (authPageName != null) 775 775 localAuthPage = createPageRequest(authPageName);
