193194195196197198199200201202203
Identity identity = (Identity) session.getAttribute("org.apache.lenya.cms.ac.Identity"); if (identity != null) { if (policy.authorizeUser(action, identity.getUsername())) { return true; } String[] groupname = identity.getGroupnames();