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

Related Topics: Weblogic, Cloud Security

Weblogic: Article

Security Integration with WebLogic J2EE: Making It EASI

Security Integration with WebLogic J2EE: Making It EASI

The rise in popularity of Web services is breaking down barriers and obliterating isolated silos everywhere. That's good news for any organization looking to make e-business the normal way of doing business with customers, colleagues, and partners. Of course, with every falling barrier comes a new set of challenges around the issue of security. In this article, I'll review the challenges of security integration with WebLogic J2EE applications in a distributed environment - and how they can be addressed with an Enterprise Application Security Integration (EASI) framework based on Web-centric industry standards.

The Challenge of Distributed Security
First, let's agree on the two high-level goals of any security infrastructure in a distributed environment: to limit access to applications, data, and other resources to only those with proper authorization; and to make accessing those resources by authorized parties as easy as possible. Meeting both of these goals can be complicated.

In a typical WebLogic implementation, at the front-end, or perimeter, tier, we often have Microsoft IIS (Internet Information Server) serving Web pages and providing a first line of security. IIS authenticates users by accessing user profile information, including group privilege attributes, residing in Microsoft ADS (Active Directory Service). At the application tier, we have WebLogic J2EE applications. These provide user authorization based on user roles, residing in WebLogic repositories as EJBs. These WebLogic applications, in turn, interact with mainframe and other enterprise systems in the back-office tier. In addition, most organizations have legacy security infrastructures composed of point solutions that provide protection for specific systems or applications.

In addition to the basic challenges of interoperation, such an architecture presents a major maintenance headache. IT must manage two sets of user/group authentication data - one for IIS ADS and the other for WebLogic repositories - to ensure they "map" to each other. This task is multiplied when other domains are involved. And it's further complicated by the fact that IIS attributes and WebLogic roles are arranged according to different hierarchies.

Single Sign-on (SSO), with which a user can log in once and gain access to all authorized resources, is an important feature from the user's point of view. Proper implementation of SSO in distributed environments can be extremely complex. One workaround is to send a user's password from IIS along to WebLogic applications, legacy security solutions, and, in some cases, even back-end systems. This is considered poor security practice, introducing the potential for breaches. And it can diminish system performance, forcing users to wait longer for authentication.

Three Common Options
Under pressure to put new applications into production, IT groups facing these challenges have several options. First, they can disable the security facility built into WebLogic and rely on IIS perimeter security alone. This eliminates the need to map the two user repositories, but it greatly diminishes control over access. IIS does not provide very granular access control. And it isn't known for its robustness - it's certainly not the single line of defense one wants in today's hacker-rich environment.

Another option is to disable IIS perimeter security and rely solely on WebLogic for access control. This approach leaves the front end unprotected, eliminating the critical screening that IIS performs. Web pages become vulnerable to defacement, and sensitive content is no longer properly protected against unauthorized access. Again, not a good option.

The third option is to bite the bullet and try to get IIS and WebLogic to interoperate. As already explained, this raises a host of integration issues associated with getting two dissimilar repositories of user data to communicate. This is typically a costly, proprietary, and very complicated alternative.

A New Option: Unified Security
So how can IT groups bridge the gap between the Microsoft world (ADS) and the WebLogic world (Java/EJB) to achieve seamless security interoperation in such a distributed environment?

The answer lies in a standards-based Enterprise Application Security Integration (EASI) framework (see Figure 1) that can map user/group attribute and authentication information among IIS, WebLogic, back-end systems, and standards-based legacy security services. The result is a unified, "pluggable" security infrastructure that strengthens security, while streamlining secure access and greatly simplifying security administration and system evolution.

This security framework divides the world into security consumers and security providers using a variety of code types (see Figure 2). Security consumers make requests to authenticate a principal, to obtain privilege attributes, or to authorize access to a protected resource. Security providers process authentication, attribute, and authorization requests according to the particular technology upon which the provider is based. The security framework connects security consumers, using adapters, with security providers, via mappers. The framework controls the selection of which mapper to use to satisfy a request from a given adapter. The "pluggability" of this architecture arises from the fact that the framework can be configured to use any mapper to process a request from any adapter. Figure 3 shows the basic elements of this EASI architecture. While an EASI framework leverages a number of open industry standards (such as XML and SOAP), key to its effectiveness is its use of standards arising from the OASIS SAML (Security Assertion Markup Language) initiative. SAML assertions provide a standardized way to represent user and/or group security statements and security requests. SSL, digital signatures, and other cryptography technologies are used to secure communications within the framework.

With this framework, developers have the flexible tool they need to knit together their entire distributed-security infrastructure - overcoming the differences among IIS, WebLogic applications, back-end systems, and their associated repositories. It can dramatically reduce the cost and time required to implement a WebLogic environment, including multidomain environments, while enhancing security effectiveness. It greatly simplifies the administration and maintenance of that distributed environment, as well as the task of integrating new applications, technologies, and security services, such as the new Security Service Provider Interfaces (SSPI) introduced in WebLogic 7.

More Stories By Sean Dolan

Sean Dolan is a security architect at Quadrasis (Quadrasis, is a business unit of Hitachi Computer Products (America), Inc). He has 16 years of experience in commercial and scientific systems and application software development, including experience architecting approaches to the integration of J2EE Application Server products into enterprise security frameworks. As a member of the Sun Java Community Process (JCP) program he has participated in the definition of a number of J2EE security-related specifications.

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.

IoT & Smart Cities Stories
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by ...
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed...
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
Cell networks have the advantage of long-range communications, reaching an estimated 90% of the world. But cell networks such as 2G, 3G and LTE consume lots of power and were designed for connecting people. They are not optimized for low- or battery-powered devices or for IoT applications with infrequently transmitted data. Cell IoT modules that support narrow-band IoT and 4G cell networks will enable cell connectivity, device management, and app enablement for low-power wide-area network IoT. B...
The hierarchical architecture that distributes "compute" within the network specially at the edge can enable new services by harnessing emerging technologies. But Edge-Compute comes at increased cost that needs to be managed and potentially augmented by creative architecture solutions as there will always a catching-up with the capacity demands. Processing power in smartphones has enhanced YoY and there is increasingly spare compute capacity that can be potentially pooled. Uber has successfully ...
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...
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, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...