Package com.sun.identity.log.cli
Class ISArchiveVerify
- java.lang.Object
-
- com.sun.identity.log.cli.ISArchiveVerify
-
public class ISArchiveVerify extends Object
This Archive verify class provides the way for verifying LogRecords that has logged with mac and signature. It will detect any intrusion made for secure log file.
-
-
Constructor Summary
Constructors Constructor Description ISArchiveVerify()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Main method for the class.booleanverifyArchive(String logName, String path, String uname, String passwd)Verifies the complete archive including the current set and all the previous sets for the specified log.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws Exception
Main method for the class. It drives verify procedure by invoking runCommand method.- Parameters:
args-- Throws:
Exception- if it fails to processing verification.
-
verifyArchive
public boolean verifyArchive(String logName, String path, String uname, String passwd) throws Exception
Verifies the complete archive including the current set and all the previous sets for the specified log.- Parameters:
logName- the name of the log for which the complete Archive is to be verified.path- Fully quallified path name for log fileuname- userv name for logger userpasswd- Password for logger user- Returns:
- value of the status of verification.
- Throws:
Exception- if it fails to verify the archive.
-
-