2010-05-24 21:21:46 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2010
|
|
|
|
*
|
|
|
|
* Robert von Burg
|
|
|
|
* eitch@eitchnet.ch
|
|
|
|
*
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
package ch.eitchnet.privilege.handler;
|
|
|
|
|
2010-05-25 23:15:35 +02:00
|
|
|
import ch.eitchnet.privilege.base.PrivilegeContainerObject;
|
2010-05-24 21:21:46 +02:00
|
|
|
import ch.eitchnet.privilege.model.Restrictable;
|
2010-05-29 20:47:04 +02:00
|
|
|
import ch.eitchnet.privilege.model.internal.Role;
|
2010-05-24 21:21:46 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author rvonburg
|
|
|
|
*
|
|
|
|
*/
|
2010-05-25 23:15:35 +02:00
|
|
|
public interface PolicyHandler extends PrivilegeContainerObject {
|
2010-05-24 21:21:46 +02:00
|
|
|
|
2010-05-29 20:47:04 +02:00
|
|
|
public boolean actionAllowed(Role role, Restrictable restrictable);
|
2010-05-24 21:21:46 +02:00
|
|
|
}
|