BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.security.spi
Interface AuditPolicyEvent


public interface AuditPolicyEvent
extends AuditEvent

The AuditPolicyEvent interface is used to post security policy audit events. The WebLogic Authorization provider implements this interface and posts audit events for the following security events:

Custom Authorization providers may also implement this interface and post additional types of security policy audit events.

An audit provider can use this interface to get additional information about the security policy audit event. The AuditSeverity attribute can be used to determine is the security policy operation succeeded or failed.

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Method Summary
 Resource getResource()
          Gets the resource associated with this AuditPolicyEvent.
 javax.security.auth.Subject getSubject()
          Gets the subject associated with this AuditPolicyEvent.
 
Methods inherited from interface weblogic.security.spi.AuditEvent
getEventType, getFailureException, getSeverity, toString
 

Method Detail

getSubject

public javax.security.auth.Subject getSubject()
Gets the subject associated with this AuditPolicyEvent.

Returns:
the Subject object that is attempting to access the resource associated with this AuditPolicyEvent.


getResource

public Resource getResource()
Gets the resource associated with this AuditPolicyEvent.

Returns:
the Resource object attempting to be accessed by the subject associated with this AuditPolicyEvent.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81