Skip to content

Commit

Permalink
使用Deadbolt进行角色控制
Browse files Browse the repository at this point in the history
  • Loading branch information
divxer committed Jun 25, 2012
1 parent 686d91d commit b61c2c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/auth/AuthRoleHolder.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public AuthRoleHolder(List<Role> roles) {

@Override
public List<? extends Role> getRoles() {
System.out.println(roles);
return roles;
}
}
2 changes: 0 additions & 2 deletions app/controllers/CustomDeadboltHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ public RoleHolder getRoleHolder() {
}
}

System.out.println("roles=" + roles);

// we're done
return new AuthRoleHolder(roles);
}
Expand Down

0 comments on commit b61c2c5

Please sign in to comment.