Patent ID: 7363275

Claim:
An access right contradiction detection apparatus which detects, for a predetermined program which is executed based on access right restriction, a contradiction which occurs between a run-time access right list which is a collection of access rights used when the program is executed and a design-time access right list which is a collection of access rights granted when the program is designed, the apparatus comprising: a detection unit that analyzes a source code of the program, and which sequentially detects method signatures which are included in the program; an analysis unit that sequentially analyzes the method signatures detected by the detection unit and obtains the run-time access right list based on a predetermined rule which specifies method signatures and the access rights which may possibly be included in the program so that the method signatures correspond to the access rights, respectively; a comparison unit that compares the run-time access right list, which is obtained by the analysis unit, with the design-time access right list in width of restriction based on a predetermined comparison rule which specifies widths related to restrictions of the access rights which may possibly be included in the program; a notification unit that notifies a comparison result of the comparison unit; and an access right compressor deleting an access right narrower in restriction than other access rights from the design-time access right list to create a new design-time access right list.