|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.security.NamedObject | +--com.bea.security.AuditRecord | +--com.bea.security.deployment.ResourceDeploymentAuditRecord
The ResourceDeploymentAuditRecord is used to publish resources and their attributes to the WLES Administration Application. To do so, create an instance of the audit record, supplying the resource to be deployed (and optionally, the attributes of the resource), and then audit the record using the AuditingService.
An audit provider that can process ResourceDeploymentAuditRecord records must be configured and enabled in the SSM configuration in order for resources to be published. Additionally, the identity that audits the record must have the necessary permissions to create resources.
AuditingService
Field Summary | |
static java.lang.String |
APP_CONTEXT_NAMESPACE
The namespace of all application context elements created by the audit record. |
static java.lang.String |
DEFAULT_NAMING_AUTHORITY
The default naming authority used if one is not specified during object creation. |
static java.lang.String |
RESOURCE_ATTRIBUTES_NAME
The unqualified name of the application contex element that contains attributes associated with the deployed RuntimeResource. |
static java.lang.String |
RESOURCE_NAME
The unqualified name of the application context element that contains the deployed RuntimeResource. |
Fields inherited from class com.bea.security.AuditRecord |
AUDIT_FAILURE,
ERROR,
eventCtx,
evtMessage,
FAILURE,
identityMap,
INFORMATIONAL,
msgExc,
REQUESTOR_ALIAS,
severityCode,
SUCCESS,
WARNING |
Fields inherited from class com.bea.security.NamedObject |
deep,
nameAuth,
shallow |
Constructor Summary | |
ResourceDeploymentAuditRecord(int severity,
java.lang.String message,
AppContext context,
RuntimeResource resource)
Creates a new ResourceDeploymentAuditRecord with the given severity, application context, and resource. |
|
ResourceDeploymentAuditRecord(int severity,
java.lang.String message,
AppContext context,
RuntimeResource resource,
java.util.Map attributes)
Creates a new ResourceDeploymentAuditRecord with the given severity, application context, resource, and resource attributes. |
|
ResourceDeploymentAuditRecord(int severity,
java.lang.String message,
RuntimeResource resource)
Creates a new ResourceDeploymentAuditRecord with the given severity and resource. |
|
ResourceDeploymentAuditRecord(int severity,
java.lang.String message,
RuntimeResource resource,
java.util.Map attributes)
Creates a new ResourceDeploymentAuditRecord with the given severity, resource, and resource attributes. |
|
ResourceDeploymentAuditRecord(java.lang.String authorityname,
int severity,
java.lang.String message,
AppContext context,
RuntimeResource resource)
Creates a new ResourceDeploymentAuditRecord with the given naming authority, severity, application context, resource, and resource attributes. |
|
ResourceDeploymentAuditRecord(java.lang.String authorityname,
int severity,
java.lang.String message,
AppContext context,
RuntimeResource resource,
java.util.Map attributes)
Creates a new ResourceDeploymentAuditRecord with the given naming authority, severity, application context, resource, and resource attributes. |
|
ResourceDeploymentAuditRecord(java.lang.String authorityname,
int severity,
java.lang.String message,
RuntimeResource resource)
Creates a new ResourceDeploymentAuditRecord with the given naming authority, severity, and resource. |
|
ResourceDeploymentAuditRecord(java.lang.String authorityname,
int severity,
java.lang.String message,
RuntimeResource resource,
java.util.Map attributes)
Creates a new ResourceDeploymentAuditRecord with the given naming authority, severity, resource, and resource attributes. |
Method Summary | |
RuntimeResource |
getResource()
Returns the resource that will be published during audit record processing. |
java.util.Map |
getResourceAttributes()
Returns the attributes of the resource to be deployed during audit record processing. |
void |
setContext(AppContext context)
Associates any additional application context with the audit record. |
void |
setResource(RuntimeResource resource)
Sets the resource that will be published during audit record processing. |
void |
setResourceAttributes(java.util.Map attributes)
Sets any attributes assoicated with the resource to be deployed during audit record processing. |
Methods inherited from class com.bea.security.AuditRecord |
getContext,
getException,
getIdentity,
getIdentityAliases,
getMessage,
getSeverity,
setException,
setIdentity,
setMessage,
setSeverity,
severityCodeToName,
severityNameToCode,
toString |
Methods inherited from class com.bea.security.NamedObject |
chop,
getAuthorityName,
getDeepEnumeration,
getEnumeration,
getID,
getNamingAuthority |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String DEFAULT_NAMING_AUTHORITY
public static final java.lang.String APP_CONTEXT_NAMESPACE
public static final java.lang.String RESOURCE_NAME
public static final java.lang.String RESOURCE_ATTRIBUTES_NAME
Constructor Detail |
public ResourceDeploymentAuditRecord(int severity, java.lang.String message, RuntimeResource resource)
severity
- the severity of the audit recordmessage
- the message for the audit recordresource
- the resource to be deployedpublic ResourceDeploymentAuditRecord(int severity, java.lang.String message, RuntimeResource resource, java.util.Map attributes)
severity
- the severity of the audit recordmessage
- the message for the audit recordresource
- the resource to be deployedattributes
- attributes of the resource to be deployedpublic ResourceDeploymentAuditRecord(int severity, java.lang.String message, AppContext context, RuntimeResource resource)
severity
- the severity of the audit recordmessage
- the message for the audit recordcontext
- additional context to assoicated with the audit recordresource
- the resource to be deployedpublic ResourceDeploymentAuditRecord(int severity, java.lang.String message, AppContext context, RuntimeResource resource, java.util.Map attributes)
severity
- the severity of the audit recordmessage
- the message for the audit recordcontext
- additional context to assoicated with the audit recordresource
- the resource to be deployedattributes
- attributes of the resource to be deployedpublic ResourceDeploymentAuditRecord(java.lang.String authorityname, int severity, java.lang.String message, RuntimeResource resource)
authorityname
- the naming authority used by the audit recordseverity
- the severity of the audit recordmessage
- the message for the audit recordresource
- the resource to be deployedpublic ResourceDeploymentAuditRecord(java.lang.String authorityname, int severity, java.lang.String message, RuntimeResource resource, java.util.Map attributes)
authorityname
- the naming authority used by the audit recordseverity
- the severity of the audit recordmessage
- the message for the audit recordresource
- the resource to be deployedattributes
- attributes of the resource to be deployedpublic ResourceDeploymentAuditRecord(java.lang.String authorityname, int severity, java.lang.String message, AppContext context, RuntimeResource resource)
authorityname
- the naming authority used by the audit recordseverity
- the severity of the audit recordmessage
- the message for the audit recordcontext
- additional context to associated with the audit recordresource
- the resource to be deployedpublic ResourceDeploymentAuditRecord(java.lang.String authorityname, int severity, java.lang.String message, AppContext context, RuntimeResource resource, java.util.Map attributes)
authorityname
- the naming authority used by the audit recordseverity
- the severity of the audit recordmessage
- the message for the audit recordcontext
- additional context to associated with the audit recordresource
- the resource to be deployedattributes
- attributes of the resource to be deployedMethod Detail |
public void setResource(RuntimeResource resource)
resource
- the resource to deploypublic RuntimeResource getResource()
public void setResourceAttributes(java.util.Map attributes)
attributes
- attributes associated with the resourcepublic java.util.Map getResourceAttributes()
public void setContext(AppContext context)
context
- additional application context for the audit record
|
Documentation is available at http://edocs.bea.com/wles/docs42 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |