BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference
Class Audit


public final class Audit
extends java.lang.Object

The usual entrypoint for subsystems that perform security audit logging operations. It provides a static "implementation" of the Audit interface. If auditing has been enabled by the server administrator, it will log to the correct destination.

This class cannot be instantiated.

Copyright (c) 1999 by BEA WebXpress. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Method Summary
static void authenticateUser(java.lang.String subsystem, UserInfo info, User result)
static void certificateInvalid(java.lang.String subsystem, java.lang.Object source, X509 cert)
static void checkPermission(java.lang.String subsystem, acl, principal, permission, boolean result)
static AuditProvider getProvider()
          Return the audit provider currently in use, or null if none.
static void rootCAInvalid(java.lang.String subsystem, java.lang.Object source, X509 cert)
static void setProvider(AuditProvider p)
          Set the audit provider.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static void setProvider(AuditProvider p)
Set the audit provider. This method may only be called once per VM; if it is called more than once, a SecurityException will be thrown.

p - the provider to use for logging


public static void authenticateUser(java.lang.String subsystem,
                                    UserInfo info,
                                    User result)

See Also:


public static void checkPermission(java.lang.String subsystem,
                                   boolean result)

See Also:
AuditProvider.checkPermission(java.lang.String,,,, boolean)


public static void certificateInvalid(java.lang.String subsystem,
                                      java.lang.Object source,
                                      X509 cert)

See Also:
AuditProvider.certificateInvalid(java.lang.String, java.lang.Object,


public static void rootCAInvalid(java.lang.String subsystem,
                                 java.lang.Object source,
                                 X509 cert)

See Also:
AuditProvider.rootCAInvalid(java.lang.String, java.lang.Object,


public static AuditProvider getProvider()
Return the audit provider currently in use, or null if none.

Documentation is available at