/*
 * @(#)PolicyEnforcementPoint.java
 *
 * Copyright (C) 2007 Infocity Inc. All Rights Reserved.
 */
package info.dragonlady.sso.authority;

/**
 * ポリシー実行点抽象クラス。
 * 
 * @author Hiroshi.Ebata(INFOCITY)
 * @version $Revision: 1.0 $ $Date: 2007/04/17 19:27:02 $
 */
public interface PolicyEnforcementPoint {

	/**
	 * アクセス許可判別メソッド。
	 * 
	 * @return boolean true：許可／false：不許可
	 * @throws EnforcementException
	 */
	public boolean isEnforceable() throws EnforcementException;

	/**
	 * 実行。
	 * 
	 * @throws EnforcementException 
	 */
	public void enforce() throws EnforcementException;

}
