@ElementCollection(targetClass = String.class)
    @JoinTable(name = "roles_permissions")
    @Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
    public Set<String> getPermissions() {
        return permissions;
    }
Model object that represents a security role.
samples/spring-hibernate/src/main/java/org/apache/shiro/samples/sprhib/model/Role.java