Welcome!

Weblogic Authors: Yeshim Deniz, Elizabeth White, Michael Meiner, Michael Bushong, Avi Rosenthal

Related Topics: Weblogic

Weblogic: Article

A Safe Architecture Framework

Leverage the security features of BEA WebLogic 8.1

EMALL is a procurement and collaborative commerce portal for the U.S. Department of Defense and based on J2EE and WebLogic Platform 8.1. One core component of EMALL is a rule engine based on WebLogic Platform 8.1.

EMALL integrates with Web applications, based on .NET and J2EE technology, through which DOD personnel submit and track orders. The rule engine validates these orders and submits requisitions to various defense suppliers. All of these systems interoperate, using ebXML 2.0, under stringent security requirements. In our previous article (WLDJ, Vol. 3, issue 1), we discussed the overall EMALL architecture. In this article, we will describe how we leveraged security aspects of the BEA WebLogic Platform to implement security solutions.

Security Requirements for EMALL
We will review and discuss some critical security requirements and analyze the threats and risks that this system must mitigate. EMALL handles sensitive information. Only authorized personnel with proper security privileges can perform tasks such as browsing the catalogs of various suppliers, reading the technical specifications of various products, submitting orders, and tracking order status. Accountability is also a critical requirement for this system.

Let's look at some of the important security threats:

  1. Man-in-middle attack: The EMALL system spans a large geographic area, and several networks, including some public segments.
  2. Message tampering: Attacker can try to modify the content of a message.
  3. Impersonation attack: The EMALL system includes several business and government entities. An attacker can try to impersonate a legitimate entity.
  4. Trojan horse: Several DOD personnel have access to EMALL. There is a threat from one or more individuals trying to compromise the system.
  5. Security breach at a subsystem: EMALL includes several subsystems, some located at a DOD supplier's networks. There could be a security breach at one such subsystem that can affect the entire EMALL.
Design Goals
We identified the following design goals to mitigate these risk factors:

Data Encryption
All traffic between various entities must be encrypted using strong encryption to prevent a man-in-middle attack.

Two-Way Authentication
Each entity participating in EMALL must identify itself using a digital certificate. Each data-exchange must enforce two-way-certificate verification to prevent an impersonation attack.

Control the Role of Each Subsystem within EMALL
Each subsystem entity provides specific services to other entities, and can invoke specific services from other entities. This would minimize the risk in case one of the subsystems is compromised

Access Control
Each subsystem would implement role-based security for their internal users. These mechanisms would be different for each subsystem. The rule engine will receive the user ID information within each message that it receives from the external subsystem when it receives requests. It will in turn propagate proper credentials to the subsystems when it invokes services.

Digital Signatures
Each message will be digitally signed to prevent unauthorized modification.

Audit Trails
Each message will be tracked using audit trails to identify a security breach and improve accountability. These trails would include the following information:

  • Content of the message
  • Digital signature of the message
  • Timestamp
  • User ID that initiated the message
Recipient must acknowledge each message.

BEA WebLogic Platform Components
Figure 1 represents various parts of the WebLogic Platform related to security infrastructure.

HTTPS and SSL Features
Some important aspects of SSL support provided by BEA WebLogic Server are relevant to EMALL.

Strong Encryption
BEA WebLogic Server supports 1024-bit certificates and 128-bit bulk data encryption.

Support for Asymmetric Key Cryptography:
WebLogic Server supports the RSA algorithm, including support for digital signatures.

Two-Way Certificate Verification
With this feature enabled, both the client and BEA WebLogic Server must present SSL certificates before a connection is established. WebLogic Server checks the following before establishing a connection:

  • The certificate is issued by a trusted certifying authority
  • The IP address/Host-Name in the certificate matches the client's IP address
WebLogic Security Provider Framework
BEA WebLogic Server supports J2EE declarative security including features such as user IDs, roles, access control lists, auditing, security events, etc. To implementing these features, WebLogic Server includes a security framework that can be extended using security provider modules. WebLogic Server comes with out-of-box implementations of these modules. You can plug your own custom implementations into the framework. Some of the modules relevant to EMALL include:
  1. Authentication providers: Authenticate users by verifying credentials supplied by the user. This could be a user ID/password, or could be certificate-based.
  2. WLSUser: Interface for the "Principal" object that holds security information representing a user.
  3. Identity assertion providers: Can use security tokens such as CSIv2, SAML, Kerberos, and Microsoft Passport.
  4. Principal validation providers: Handle signing, encrypting, and verification of security information across multiple WebLogic domains. It prevents malicious tampering of security information during RMI calls between WebLogic Servers.
  5. Authorization providers: Enforce security policies based on roles, user IDs, groups, etc., for all resources within BEA WebLogic Server.
  6. Role-mapping providers: Allow dynamic role association.
  7. Auditing providers: Tracks security events such as access to specific resources. It can record information such as user IDs, timestamps, credentials provided, and resources accessed. This information can be put into a database or a file. It can also trigger specific actions such as paging security personnel in response to security events.
Our planned architecture includes custom security provider modules to implement the following features of EMALL.
  1. Create a custom implementation class for WLSUser to propagate additional information such as a user's rank, security-clearance level, digital signatures, department etc.
  2. Develop a custom authentication provider that will interact with a central security database and authenticate the user. It will then extract all the necessary information and instantiate the custom WLSUser class.
  3. Develop a custom identity-assertion provider to implement single sign-on.
  4. Develop a custom authorization provider and custom role-mapping provider to enforce access control for secure information. This implementation will use the information (such as rank, clearance level, etc.) stored in a custom WLSUser implementation.
  5. Implement a custom audit provider to record activities. The information in the custom WLSUser object will be tracked in the audit trails.
This framework will be used by the rule engine and all other J2EE applications deployed on the BEA WebLogic Platform.

Until now we've discussed security features from the core BEA WebLogic Server. Now let's discuss the B2B security features provided by WebLogic Integration.

Using J2EE Declarative Security Constraints
The "rule engine" application includes several resources, such as URLs in Web applications and EJB methods that need to be protected by the Security Framework. We will use the J2EE security constraints defined in web.xml and ejb-jar.xml files for this purpose.

Trading Partner Configuration
BEA WebLogic Integration allows us to manage the relationships with other business entities by configuring trading partners. Some of the important features used in the EMALL security architecture include:

  1. Associating a digital certificate with a trading partner. These certificates will be used for encryption and signing of ebXML messages.
  2. Defining services offered by local and remote trading partners.
  3. Defining the protocol bindings for each service profile. This includes business protocol ebXML 1.0, ebXML 2.0, or RossettaNet and Transport Protocol (HTTP 1.0, HTTP 1.1 or HTTPS 1.1).
  4. Specifying roles for each "conversation" or Service invocation.
  5. Easy-to-use, centralized admin console interface for managing the trading partner configuration.
Using these features, we can manage the trading-partner configurations with all vendors participating in EMALL from the "Rule-Engine" application.

Implementation Notes
Several important points regarding implementation of the rule engine should be considered.

The ebXML participant process (acceptCart.jpd) receives the "Shopping Cart" document, which includes the user-metadata along with the other parameters. The code in this JPD file will extract this information from the XML payload and invoke a specific stateless EJB.

The BEA WebLogic Server Security framework will invoke the custom authentication provider, which instantiates a custom object implementing the weblogic.security.spi.WLSUser interface. The actual implementation class for this object also has additional fields to hold custom security data such as rank, digital signatures, etc.

In the stateless EJB method, we obtain the security context and the JAAS principal. This object is actually the custom implementation WLSUser created by our authentication provider. This object is cast to its original type, and then the fields containing additional custom data are populated.

When the JPD code invokes other functionality in the rule engine, these data fields are checked by the role-mapping provider, authorization provider, and so on.

When each protected resource is accessed, the custom audit provider is invoked by the WebLogic Security Framework. This audit provider extracts these data fields and logs them in the audit repository.

Nonrepudiation
The following architecture features support nonrepudiation in EMALL:

  1. Extensive audit trails: The custom audit provider records critical information including user-metadata, digital signatures, timestamps, etc., in the audit trails.
  2. ebXML supports digital signatures: Only the entity that owns the private-key for the digital certificate can sign the messages. This signature is irrefutable proof that the message was sent by the proper entity. In addition, once the message is received, ebXML allows for acknowledgement of the message, which is a proof that the recipient entity received the message. Together, these two (message signature and acknowledgment) are proof that the transaction is binding on both parties.
Conclusion
The EMALL system has stringent security requirements. Using the security features provided by BEA WebLogic Platform 8.1, we were able to develop an architecture framework that meets these goals. The WebLogic Security Provider Framework, support for SSL, and use of ebXML are the most important factors in our security architecture.

Acknowledgments
The authors would like to gratefully acknowledge the support of Dr. Bill Freeman, director of research and development for the Integrated Solutions Group of the South Carolina research Authority. Dr Freeman is also the project manager for SCRA's work on the DOD EMALL. BEA and ICF provide engineering services to SCRA. We would also like to thank Ricardo Valenzuela, Madhavan Rangarao, Dmitry Dimov, and Komal Mangtani from the BEA engineering team, who provided technical support to help us achieve our goals.

More Stories By Ashley Byrd

Ashley Byrd is a senior software engineer with the ICF Consulting software team. He has 15 yeasr of experience in application, the last 7 in full life-cycle, object-oriented Internet systems primarily for the financial services industry .

More Stories By Girish Gupte

SOA evangelist and system integrator with expertise in wide range of technologies. Track record in building complex, mission-critical applications with stringent security requirements. Worked in various industries such as DOD/Federal and financials.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things’). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing? IoT is not about the devices, it’s about the data consumed and generated. The devices are tools, mechanisms, conduits. In his session at Internet of Things at Cloud Expo | DXWor...
Everything run by electricity will eventually be connected to the Internet. Get ahead of the Internet of Things revolution. In his session at @ThingsExpo, Akvelon expert and IoT industry leader Sergey Grebnov provided an educational dive into the world of managing your home, workplace and all the devices they contain with the power of machine-based AI and intelligent Bot services for a completely streamlined experience.