use of org.apache.shiro.authz.permission.AllPermission in project graylog2-server by Graylog2.
the class RootAccountRealm method addRootAccount.
private void addRootAccount(String username, String password) {
LOG.debug("Adding root account named {}, having all permissions", username);
add(new SimpleAccount(username, password, getName(), CollectionUtils.asSet("root"), CollectionUtils.<Permission>asSet(new AllPermission())));
}
Aggregations