Java Enterprise Multilevel Access “JEEMA” Web Portal In partial fulfillment of the requirements for a Masters of Science Computer Science Presented by Patrick D. Cook for Dr. Edward Chow Dr. Charlie Shub Dr. Jugal Kalita
Patrick CookJEEMA2 Outline Project goals Background JEEMA Performance Reliability Lessons Learned Conclusion Demo
Patrick CookJEEMA3 Project Goals Can a single sign-on realize multilevel security? Investigate Portlet Technology, in particular Java Specification Request (JSR)168, to determine if it would facilitate sharing data, at different security levels Avert the information flow problem, i.e. use a single sign on to access to multiple levels of classified resources, without compromising the multilevel security policy.
Background Related work, Rationale, Design decisions
Patrick CookJEEMA5 Related Work Portals, Portlets and IPC –Michelle Osborne (2006) –Rebecca Twigg (2006) Single Sign-on –Yale University –UCCS
Patrick CookJEEMA6 Rationale and Relevance The events on September 11, 2001 which spawned the 9/11 commissions report Hurricane Katrina and Rita in 2005 Personal experiences –Military United States Army Battle Staff –Lockheed Martin Integrated Systems and Solutions –Raytheon Intelligence and Information Systems
Patrick CookJEEMA7 J2EE vs..NET When it comes to building distributed web applications which can interoperate seamlessly between components in platform-neutral way there are two leading technologies competing for your vote, J2EE and.NET (pronounce “dot NET”).
Patrick CookJEEMA8.NET.NET is a Microsoft centric approach that runs on Windows platforms but does not fully comply with other operating systems..NET is still in its infancy with respect to Java and has not reached its “tipping” point with many vendors.
Patrick CookJEEMA9 J2EE J2EE is a platform-independent solution that uses the Java programming language and provides support for major operating systems J2EE is widely supported amongst major vendors W.O.R.M –Write once run many times
Patrick CookJEEMA10 J2EE Application Servers BEA WebLogic IBM Websphere SunOne Portal Server JBOSS
Patrick CookJEEMA11 Java Portals A Java portal is a J2EE conformant technology which aggregates resources from disparate systems into a common operating environment over the web. It generally allows individualized customization, facilitates single sign-on authentication and is designed to run on multiple platforms [JSR168].
Patrick CookJEEMA12 Portlets Portlets are web components that generate dynamic content in an autonomous fashion. The autonomy is generated by markup fragments such as HTML, XHTML, or XML, but the aggregation of the fragments are managed by a portlet container.
Patrick CookJEEMA13 Portlet Container In general, a container is software that provides “out of the box” services which developers can leverage for initialization, creation, and deletion, as well as, resource and dependency management [JBOSSP].
Patrick CookJEEMA14 JSR 168 Java Specification Request 168, originally released in October 2003, provides the blueprint for developing portal components. Portlet Application Program Interface (API) –Portlet –PortletConfig –GenericPortlet
JEEMA Java Enterprise Edition Multilevel Access Web Portal
Patrick CookJEEMA16 What is JEEMA? JEEMA, Java Enterprise Edition Multilevel Access, is an acronym for a Java 2 Enterprise Edition (J2EE) compliant web portal that champions portlet technology to facilitate single sign-on authentication to access resources with multiple security levels JEEMA is based on the Java 2 Platform, Standard Edition, which adheres to the Java programming language and libraries
Patrick CookJEEMA17
Patrick CookJEEMA18 JEEMA implementation of SSO WebLogic Portal Administration –
Patrick CookJEEMA19 JEEMA implementation of IPC Java Messaging Service API’s Uses the “listenTo” attribute in establishing interportlet communications. Whenever a portlet is added to a portal, it creates an “instance” this instance has an instance label which other portlets listen to
Patrick CookJEEMA20 Client Request
Patrick CookJEEMA21 JSP Submit
Patrick CookJEEMA22 TopSecretController.jpf /** name="simpleForm“ path="topSecret.jsp" */ protected Forward getMessage( Form form ) { String message = form.getText(); try { publisher.writeMessage(message); } catch(Exception e) { e.printStackTrace(); } return new Forward( "simpleForm" ); }
Patrick CookJEEMA23 JMS private InitialContext jndi = null; private String TOPIC = "jmsTopic"; private String JNDI_CONNECTION_FACTORY = "weblogic.jndi.WLInitialContextFactory"; private String JMS_CONNECTION_FACTORY = "weblogic.jms.ConnectionFactory "; private String APPLICATION_PROVIDER_URL = "t3://localhost:7001";
Perfomance System Specifications, Testbed Specifications, Results
Patrick CookJEEMA25 System Specifications Microsoft Windows XP –Professional Version 2002 –Service Pack 2 Internet Explorer xpsp BEA WebLogic Workshop –Version –Build
Patrick CookJEEMA26 JEEMA Test bed Specifications Dell Optiplex GX620 –Intel (R) –Pentium (R) –CPU 3.20GHz, 3.19 GHz, –3.50 GB of RAM –Physical Address Extension
Patrick CookJEEMA27 Performance The portlets contained same content but was double for each iterations (i.e. 4 portlets, 8 portlets, 16 portlets…, 64 portlets).
Patrick CookJEEMA28 JEEMA Reliability The reliability of the system, R (m), is measured in terms of its ability to deliver reliable messages to its recipients as portlets increase within a web portal. This can be defined mathematically as R(m) = p/ m, where p is equal to the number of reliable messages and m is the total number of messages.
Patrick CookJEEMA29 Lessons Learned The challenges related to remote development (“The virtual team”) Black Box Coding Implementing JMS on SunOne and JBoss –JNDI –“Asynchronous” Communication
Patrick CookJEEMA30 Future Work Integration with WSRP 2.0 Use XACML Decision Points Asynchronous Java and XML (AJAX) methodologies
Patrick CookJEEMA31 Conclusion A single sign – on can realize multilevel security The technology is not mature enough in its current form for an enterprise solution that used for National Security It does provides a stepping stone toward upward mobility in MLS solutions
Patrick CookJEEMA32 Questions
Patrick CookJEEMA33 Backup Control Tree JMS Configuration