WebSockets EAP 6.3, what is that?

One of the new features included on JBoss EAP 6.3 is WebSockets, but what is it?

JSR-356 define a WebSocket as a bi-directional communication mechanism between client (browser) and server, allowing simultaneous messaging. We worked with applications which client, through a request, receive a response from server, but server only send data if the client asks. With the WebSocket API, the server is allowed to send data without a request from the client, establishing a single connection (socket) between the client and the server.

But what utility has?

Continue reading

RBAC (Role Based Access Control) in EAP 6.2 – Part I

New post. Recently I’ve been “forced” to upgrade this blog more often, and I’ll hope not something casual but becomes habit 😉

 

This post will discuss how to configure security in Web Management Console and CLI Management console restricting access depending on user role has. This will do with RBAC, which is defined on Security Guide as:

Is a mechanism for specifying a set of permissions for management users. It allows multiple users to share responsibility for managing JBoss EAP 6.2 servers without each of them requiring unrestricted access. By providing “separation of duties” for management users, JBoss EAP 6.2 makes it easy for an organization to spread responsibility between individuals or groups without granting unnecessary privileges. This ensures the maximum possible security of your servers and data while still providing flexibility for configuration, deployment, and management.

RBAC offers 7 Profiles (roles) that restrict the functions that a user can do:

Continue reading

JBoss EAP 6 as RHEL 7 service

Not long ago, Red Hat made available 7.0 GA version of Red Hat Enterprise Linux OS.

One of the most important changes in RHEL 7 was managing services, wich in previous versions was managed with Upstart (based on System V) but now managing services is made with systemd.

The JBoss EAP 6 documentation only explain how to configure JBoss as a service based on System V, in this post I’ll show step by step how do it in systemd.

Another change is about firewall, RHEL 7 comes with firewalld (also keeps iptables, but it is preferred to use firewalld), so I’ll explain how to configure firewalld to access JBoss.

Let’s go:

Continue reading