Package org.beangle.security

Examples of org.beangle.security.AuthorityManager


  public boolean start(Writer writer) {
    String resource = (String) parameters.get("resource");
    if (StringUtils.isEmpty(resource)) {
      return true;
    } else {
      AuthorityManager authorityManager = (AuthorityManager) stack
          .findValue("authorityManager");
      return authorityManager.isAuthorized(SecurityContextHolder.getContext()
          .getAuthentication(), resource);
    }
  }
View Full Code Here

TOP

Related Classes of org.beangle.security.AuthorityManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.