import javax.persistence.Table;
import javax.persistence.Version;
-import org.wamblee.security.authentication.UserAccessor;
-
/**
* Service to determine if access to a certain resource is allowed.
*
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
- private Long primaryKey;
+ private Long id;
@Version
private int version;
}
public AbstractAuthorizationService(AbstractAuthorizationService aSvc) {
- primaryKey = aSvc.primaryKey;
+ id = aSvc.id;
version = aSvc.version;
name = aSvc.name;
}