Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolvePageNameToClassName() called twice #52

Closed
homburgs opened this issue Dec 6, 2017 · 1 comment
Closed

resolvePageNameToClassName() called twice #52

homburgs opened this issue Dec 6, 2017 · 1 comment

Comments

@homburgs
Copy link
Contributor

homburgs commented Dec 6, 2017

Class: SecurityComponentRequestFilter
Method: checkInternal

private void checkInternal(String logicalPageName) {
String pageClassName = resolver.resolvePageNameToClassName(logicalPageName);
if (!(pageClassName.equals(loginClassName) ||
  pageClassName.equals(unauthorizedClassName))) {
			
  String className = resolver.resolvePageNameToClassName(logicalPageName);
			
  List<SecurityInterceptor> interceptors = classInterceptorsCache.get(className);
			
  if (interceptors != null) {
    for (SecurityInterceptor interceptor : interceptors) {
      interceptor.intercept();
    }
  }
}
}

see pull request #50

@kaosko
Copy link
Member

kaosko commented Jul 2, 2018

Thanks!

@kaosko kaosko closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants