Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  *
  * Copyright (c) 2013-2014 sagyf Yang. The Four Group.
  */
 package com.github.sog.plugin.shiro;
 
 
组合模式访问控制处理器

Author(s):
dafei
class CompositeAuthzHandler implements AuthzHandler {
    private final List<AuthzHandlerauthzHandlers;
    public CompositeAuthzHandler(List<AuthzHandlerauthzHandlers) {
        this. = authzHandlers;
    }
    @Override
    public void assertAuthorized() throws AuthorizationException {
        for (AuthzHandler authzHandler : ) {
            authzHandler.assertAuthorized();
        }
    }
New to GrepCode? Check out our FAQ X