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

Write a program of student using a class, Write a program of student Using ...

Write a program of student Using a Class Objects of a class are always created on heap using "new" operator followed by constructor Student s = new Student ( ); // no po

Online music store application, An online music store offers all songs for ...

An online music store offers all songs for 3$ each. The store requires members to prepay any amount of money they wish, and then download as many songs accordingly. You are require

Determine the phase loading- java program development, Determine the phase ...

Determine the phase Loading- Java Program Development In phase 3, the program must first be placed in memory before it can be executed. This is done by the class loader, whic

What is an exceptions, What is an Exceptions ? • What is an exception?...

What is an Exceptions ? • What is an exception? • try-catch • finally • The different kinds of exceptions • Multiple catch clauses • The throws clause • Throwing excepti

Debugging, Debugging mode can be enabled by adding the following line of co...

Debugging mode can be enabled by adding the following line of code before creating new connections: XMPPConnection.DEBUG_ENABLED = true; When debugging mode is enabled, a

Web-based application, Web-based Application: CIA - OMP Type     ...

Web-based Application: CIA - OMP Type                                         Web-based Application Role                                          Weblogic Administrato

Explain different advice types in spring, 1) Around : org.aopalliance.inter...

1) Around : org.aopalliance.intercept.MethodInterceptor 2) Before : org.springframework.aop.BeforeAdvice 3)  After : org.springframework.aop.AfterReturningAdvice 4) Throws

Describe about the term access protection, Describe about the term Access P...

Describe about the term Access Protection ? Global variables are a typical cause of bugs in most programming languages. A few unknown function can modify the value of a variabl

Rest client, Modify both of the above clients (to write separate clients) t...

Modify both of the above clients (to write separate clients) to extract the exchange rate from a live web service that performs currency conversion. You can choose a Java or a .NET

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