package net.shornepla.auth; import org.acegisecurity.GrantedAuthority; /** * Model class for representing an authority used for Acegi. Persist this * in the DB using hibernate. * * @author shorne * @since Mar 4, 2008 */ public class Authority implements GrantedAuthority{ private static final long serialVersionUID = -7492160131476139271L; private int id; private int idx; private String authority; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getAuthority() { return authority; } public void setAuthority(String authority) { this.authority = authority; } public int getIdx() { return idx; } public void setIdx(int idx) { this.idx = idx; } }