getLogger().debug(" Resolved AC resolver [" + this.acResolver + "]");
}
String webappUrl = ServletHelper.getWebappURI(_request);
AccessController accessController = this.acResolver.resolveAccessController(webappUrl);
if (accessController instanceof DefaultAccessController) {
DefaultAccessController defaultAccessController = (DefaultAccessController) accessController;
this.accreditableManager = defaultAccessController.getAccreditableManager();
Authorizer[] authorizers = defaultAccessController.getAuthorizers();
for (int i = 0; i < authorizers.length; i++) {
if (authorizers[i] instanceof PolicyAuthorizer) {
PolicyAuthorizer policyAuthorizer = (PolicyAuthorizer) authorizers[i];
this.policyManager = policyAuthorizer.getPolicyManager();
}