Permalink
Browse files

使用Deadbolt进行角色控制

  • Loading branch information...
1 parent 686d91d commit b61c2c5f2018eef37720ad391a559e52bc9c6861 @divxer committed Jun 25, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −1 app/auth/AuthRoleHolder.java
  2. +0 −2 app/controllers/CustomDeadboltHandler.java
@@ -21,7 +21,6 @@ public AuthRoleHolder(List<Role> roles) {
@Override
public List<? extends Role> getRoles() {
- System.out.println(roles);
return roles;
}
}
@@ -48,8 +48,6 @@ public RoleHolder getRoleHolder() {
}
}
- System.out.println("roles=" + roles);
-
// we're done
return new AuthRoleHolder(roles);
}

0 comments on commit b61c2c5

Please sign in to comment.