public class SamEventTranslator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AGENT_ID |
static String |
AGENT_TIMESTAMP |
static String |
AUDIT |
static String |
AUDIT_SEQUENCE_NO |
static String |
CATEGORY |
static String |
CONTENT_CUT |
static String |
CORRELATION_ID |
static String |
CUSTOM_INFO |
static String |
EVENT_TYPE |
static String |
EVENT_TYPE_CUSTOM |
static String |
EVENT_UUID |
static String |
FLOW_ID |
static String |
ID |
static String |
LOG_MESSAGE |
static String |
LOG_SOURCE |
static String |
LOG_TIMESTAMP |
static String |
LS_HOST_IP |
static String |
LS_HOSTNAME
Identifier for hostname within log source attribute
|
static String |
LS_PROCESS_ID
Identifier for processId within log source attribute
|
static String |
MESSAGE_ID |
static String |
OPERATION_NAME |
static String |
PORT_TYPE |
static String |
PRINCIPAL |
static String |
SAM_EVENT_TYPE |
static String |
SERVER_TIMESTAMP |
static String |
SEVERITY |
static String |
SIGNED_LOG_MESSAGE |
static String |
TRANSPORT_TYPE |
| Constructor and Description |
|---|
SamEventTranslator() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
getAgentID(org.talend.esb.sam.common.event.Event samEvent) |
protected static Boolean |
getAudit() |
protected static String |
getAuditSequenceNo() |
protected static String |
getCategory() |
protected static String |
getCorrelationID(org.talend.esb.sam.common.event.Event inputEvent) |
protected static Map<String,String> |
getCustomInfo(org.talend.esb.sam.common.event.Event samEvent) |
protected static Long |
getEventTimestamp(org.talend.esb.sam.common.event.Event inputEvent) |
protected static String |
getEventType() |
protected static String |
getEventUUID(org.talend.esb.sam.common.event.Event samEvent) |
protected static String |
getLogMessage(org.talend.esb.sam.common.event.Event samEvent) |
protected static Map<String,String> |
getLogSource(org.talend.esb.sam.common.event.Event inputEvent) |
protected static String |
getSignedLogMessage(org.talend.esb.sam.common.event.Event samEvent) |
protected static String |
getSubject(org.talend.esb.sam.common.event.Event samEvent) |
protected static boolean |
isSamlTokenMappingEnabled() |
protected static boolean |
isUsernameTokenMappingEnabled() |
static org.osgi.service.event.Event |
translate(org.talend.esb.sam.common.event.Event samEvent,
String topic) |
public static final String SAM_EVENT_TYPE
public static final String ID
public static final String EVENT_UUID
public static final String CORRELATION_ID
public static final String CATEGORY
public static final String EVENT_TYPE
public static final String SEVERITY
public static final String LOG_MESSAGE
public static final String LOG_SOURCE
public static final String SIGNED_LOG_MESSAGE
public static final String LOG_TIMESTAMP
public static final String AGENT_ID
public static final String AGENT_TIMESTAMP
public static final String SERVER_TIMESTAMP
public static final String AUDIT
public static final String AUDIT_SEQUENCE_NO
public static final String PRINCIPAL
public static final String CUSTOM_INFO
public static final String LS_HOSTNAME
public static final String LS_PROCESS_ID
public static final String LS_HOST_IP
public static final String PORT_TYPE
public static final String TRANSPORT_TYPE
public static final String OPERATION_NAME
public static final String MESSAGE_ID
public static final String FLOW_ID
public static final String EVENT_TYPE_CUSTOM
public static final String CONTENT_CUT
protected static String getEventType()
protected static Boolean getAudit()
protected static String getAuditSequenceNo()
protected static String getCategory()
protected static String getSignedLogMessage(org.talend.esb.sam.common.event.Event samEvent)
protected static String getAgentID(org.talend.esb.sam.common.event.Event samEvent)
protected static boolean isUsernameTokenMappingEnabled()
protected static boolean isSamlTokenMappingEnabled()
protected static Map<String,String> getCustomInfo(org.talend.esb.sam.common.event.Event samEvent)
protected static String getEventUUID(org.talend.esb.sam.common.event.Event samEvent) throws Exception
Exceptionpublic static org.osgi.service.event.Event translate(org.talend.esb.sam.common.event.Event samEvent,
String topic)
throws Exception
Exceptionprotected static Map<String,String> getLogSource(org.talend.esb.sam.common.event.Event inputEvent) throws Exception
Exceptionprotected static String getLogMessage(org.talend.esb.sam.common.event.Event samEvent) throws Exception
Exceptionprotected static String getCorrelationID(org.talend.esb.sam.common.event.Event inputEvent) throws Exception
Exceptionprotected static Long getEventTimestamp(org.talend.esb.sam.common.event.Event inputEvent) throws Exception
ExceptionCopyright © 2011–2021 Talend Inc.. All rights reserved.