Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.security.audit
Interface AuditProvider

Deprecated. Deprecated in WebLogic Server 7.0. Replaced by by the Pluggable Security Infrastructure-based AuditProvider(s) that implement weblogic.security.spi.AuditProvider.

    public interface AuditProvider

Security audit service provider's interface. A class can implement this interface to log security-related events for auditing purposes. Several WebLogic Server components are instrumented to call methods in this interface when "interesting" events occur.

Classes that implement this interface must have a public no-arg constructor that throws no exceptions.

Methods in this interface follow a simple pattern:

- No value is returned.
- No exceptions should be thrown.
- The first parameter to each method is the name of the subsystem that is generating a particular audit event. This is an arbitrary string.
- The "middle" parameters are the most important. If a middle parameter is an Object type, it may be null. If it is an array of Objects, it may be null, or it may contain null elements.
- The last parameter to each method is the value returned by the method that generates the audit event.

All parameters to all methods are read-only. You can filter events based on their parameters and return values.

Method Summary
`void` | `authenticateUser(String subsystem, UserInfo info, User result)` Deprecated. A request was made to authenticate a user.
`void` | `checkPermission(String subsystem, Acl acl, Principal principal, Permission permission, boolean result)` Deprecated. A request was made to check for a permission on an ACL.

Method Detail

### authenticateUser

    void authenticateUser(String subsystem,
                          UserInfo info,
                          User result)

  Deprecated.
  A request was made to authenticate a user.

  Parameters:
    `subsystem` - subsystem name
    `info` - authentication parameters
    `result` - return value (null if authentication failure)

### checkPermission

    void checkPermission(String subsystem,
                         Acl acl,
                         Principal principal,
                         Permission permission,
                         boolean result)

  Deprecated.
  A request was made to check for a permission on an ACL.

  Parameters:
    `subsystem` - subsystem name
    `acl` - ACL that was checked
    `principal` - principal that was checked
    `permission` - permission that was checked
    `result` - return value (false if permission denied)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD