BLP java program, JAVA Programming

Assignment Help:
could you please help me with my assignment.

My program need to implement a multi{level role based database script SQL-like generation program. Or part of one anyway. Start with a data fi le Input.txt of the form.

Levels:0:1:2:3:4:
Relation:R1:0:R2:1:R3:0:R4:3:
User:alice:0:bob:3:carol:2:
User:user1:1:

There could be multiple lines for User and for Relation. The levels are security levels to be used in a BLP
sense, but with reading being replaced by SELECT and writing being replaced with INSERT. Assume the levels are in order of domination so that, in the example, 0 is dominated by 1, 1 is dominated by 2 etc.
The Java program, should generate a script for generating and assigning
roles appropriately in accordance with the Input.txt file.

You should assume the relations and users already exist.
You need to use views and roles to group relations and users together appropriately.
The output should appear in a file Output.txt

Related Discussions:- BLP java program

What is invoking static methods, What is Invoking static methods If a m...

What is Invoking static methods If a method or field is declared static, you access it through using the class name rather than a reference to a particular example of the class

Write short notes on (i) rmi and (ii) corba, Question 1 Write a program in...

Question 1 Write a program in Java to find the highest of any five numbers. How do you compile and execute this Java program? Question 2 Write a program to explain the Except

State the significance of public and private modifiers, State the significa...

State the significance of public, private, protected, default modifiers both singly and in combination and state the effect of package relationships on declared items qualified by

Annotation or attribute oriented programming? , Annotation or Attribute ori...

Annotation or Attribute oriented programming There are two types of code generation processes. Passive code generation: is template driven . Input process are used in mo

Multitreading, what is multithreading in Java? Explain with example.

what is multithreading in Java? Explain with example.

Pebbles merchant, There is a pebble merchant. He sells the pebbles, that ar...

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that

Explain the use and purpose of java adapter classes, Question: (a) Exp...

Question: (a) Explain the event handling mechanism using a 'JComboBox' as example. Your answer must clearly indicate the event source, event object and event listener. Also

Why we avoiding short circuits, Why we Avoiding Short Circuits ? If you...

Why we Avoiding Short Circuits ? If you need all of your boolean expressions evaluated regardless of the truth value of each, then you can use & and | instead of && and ||. The

Multiple choices output and codes, codes and output on how to make multiple...

codes and output on how to make multiple choices quiz

Describe the superclass in inheritance, Describe the Superclass in Inherita...

Describe the Superclass in Inheritance ? In this example you start through defining a more common MotorVehicle class. public class MotorVehicle { private String licensePlat

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd