return "current-user-privilege-set";
}
public PriviledgeList getValue( PropFindableResource res ) {
if( res instanceof AccessControlledResource ) {
AccessControlledResource acr = (AccessControlledResource) res;
Auth auth = HttpManager.request().getAuthorization();
List<Priviledge> list = acr.getPriviledges( auth );
PriviledgeList privs = new PriviledgeList(list);
return privs;
} else {
return null;
}