예: 일반 이벤트 인터페이스

이 인터페이스는 일반 감사 이벤트를 처리하는 데 사용됩니다. 특정 감사 이벤트 그룹화(예: 보안 이벤트, 트랜잭션 이벤트 또는 다른 사용자 정의 그룹화)를 처리하기 위해 이 인터페이스를 확장하는 기타 인터페이스를 정의할 수 있습니다. WebSphere® Application Server 버전 7.0의 경우 이벤트 보안 유형만 지원됩니다.

일반 이벤트 인터페이스

특정 인터넷 형식으로 데이터를 처리하기 위해 특정 구현을 개발할 수 있습니다. buildEvent() 메소드가 호출되면 구현이 저장한 내부 정보를 사용하여 지정된 기본 이벤트 유형을 빌드해야 합니다. 정보가 GenericEvent 인스턴스에 저장되면 GenericEvent 인터페이스가 일반 방식의 이벤트 처리를 제공합니다.

public interface GenericEvent {

 	/** * Property name used to specify the base event type to the 
	* {@link GenericEvent#buildEvent} method. 
	*/ 
public static final String BASE_EVENT_TYPE = GenericEvent.class.getName() + ".baseEventType"; 

/** 
* Returns the eventType of the event. The eventType distinguishes between these 
* related events. 
* The eventType depends on the particular implementation 
* of the GenericEvent. For example, the Security Event implmentation has 
* eventTypes such as SECURITY_AUTHN and SECURITY_AUTHZ. 
* @return eventType - the eventType of the event 
*/ 

public String getEventType(); 
/** 
* Returns the creationTime, the creation time of the event. 
* @return creationTime - the creation time of the event 
*/ public Date getCreationTime(); /** * Returns the version, the version of the event. 
* @return version - the version of the event 
*/ 

public String getVersion (Properties props) throws GenericEventConfigurationException; 
/** 
* Returns the globalInstanceId, which is a globally unique instance 
* identifier for the event. 
* @return globalInstanceId - a globally unique instance identifier for the event 
*/

public Long getGlobalInstanceId(); 
/** 
* Verifies whether the event is valid; which depends on the particular 
* implementation of the GenericEvent. If the event is not valid, an 
* GenericEventValidationException error occurs. 
*/

public void validate() throws GenericEventValidationException;
 /** 
* Returns the internally wrapped base event instance after 
* completing and validating the current instance of the GenericEvent. 
* An GenericEvent implementation can maintain its information 
* in any undisclosed internal format. The buildEvent() 
* method that specifies that a specific base event type be built 
* using the internal information. This allows GenericEvent implementations 
* to support multiple base event formats. Thus the GenericEvent implmentation 
* provides a layer of abstraction higher than the base event type. 
* @param properties The value of the property BASE_EVENT_TYPE 
* defines the type of the base event * @return the internally wrapped base event instance 
* @throws GenericEventConfigurationException if the base event type is invalid 
* or the JAR files to support that event type are not available. 
* @throws GenericEventCompletionException if event completion has failed. 
* @throws GenericEventValidationException if the validation has failed. This is 
* validation as is performed by the validate() method. 
*/

public Object buildEvent(Properties properties) 
		throws GenericEventConfigurationException, 
						GenericEventValidationException,
					  GenericEventCompletionException; 
/** 
* Returns the wrapped base event instance as a string after 
* completing and validating the current instance of the GenericEvent. 
* An GenericEvent implementation can maintain its information 
* in any undisclosed internal format. It is the buildEventString() 
* method that specifies that a specific base event type be built 
* using the internal information. This allows GenericEvent implementations 
* to support multiple base event formats. Thus the GenericEvent implmentation
* provides a layer of abstraction higher than the base event type. 
* @param properties The value of the property BASE_EVENT_TYPE 
* defines the type of the base event 
* @return the wrapped base event instance as a String 
* @throws GenericEventConfigurationException if the base event type is invalid 
* or the JAR files to support that event type are not available. 
* @throws GenericEventCompletionException if event completion has failed. 
* @throws GenericEventValidationException if the validation has failed. This is 
* validation as is performed by the validate() method. 
*/ 

public String buildEventString(Properties properties) 
		throws GenericEventConfigurationException, 
						GenericEventValidationException, 
						GenericEventCompletionException; 
}

주제 유형을 표시하는 아이콘 참조 주제



시간소인 아이콘 마지막 업데이트 날짜: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rsec_sa_event_interface
파일 이름:rsec_sa_event_interface.html