Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


oracle.security.jps.service.audit
Interface AuditRegistration


public interface AuditRegistration

Method Summary
 boolean enableAuditService()
          checks if audit service has to be enabled for the component
 java.io.InputStream getAuditDefinition()
          gets the component audit definition as InputStream
 java.io.InputStream getAuditXlf()
          gets the component audit translation content as InputStream
 java.lang.String getCompType()
          gets the comp type from the audit store
 boolean isUpgradeable(int newMajor, int newMinor, int exitingMajor, int existingMinor)
          checks if the component wants to upgrade given the major and minor versions

 

Method Detail

getCompType

java.lang.String getCompType()
gets the comp type from the audit store
Returns:
component type

getAuditDefinition

java.io.InputStream getAuditDefinition()
                                       throws java.io.IOException
gets the component audit definition as InputStream
Returns:
InputStream
Throws:
java.io.IOException

getAuditXlf

java.io.InputStream getAuditXlf()
                                throws java.io.IOException
gets the component audit translation content as InputStream
Returns:
InputStream
Throws:
java.io.IOException

isUpgradeable

boolean isUpgradeable(int newMajor,
                      int newMinor,
                      int exitingMajor,
                      int existingMinor)
checks if the component wants to upgrade given the major and minor versions
Parameters:
newMajor - the major definition version from the content of getAuditDefinition
newMinor - the minor definition version from the content of getAuditDefinition
exitingMajor - the major version of the component's existing audit definition in audit store
existingMinor - the minor version of the component's existing audit definition in audit store
Returns:
true if upgrade is allowed, false otherwise.

enableAuditService

boolean enableAuditService()
checks if audit service has to be enabled for the component
Returns:
true/false

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


Copyright © 2013 Oracle. All rights reserved.