Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1067744

Summary: RFE: Security Between Nodes
Product: [JBoss] JBoss Data Grid 6 Reporter: Misha H. Ali <mhusnain>
Component: DocumentationAssignee: gsheldon
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: gsheldon, jdg-bugs, mgencur, ttarrant, vjuranek
Target Milestone: GA   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-21 02:14:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1092056    

Description Misha H. Ali 2014-02-21 00:28:10 UTC
Document $SUBJECT

Comment 1 Misha H. Ali 2014-02-21 00:30:25 UTC
Possibly incorporates https://bugzilla.redhat.com/show_bug.cgi?id=1013853

Comment 4 gsheldon 2014-04-08 23:09:30 UTC
Previously drafted topics:

  Chapter: Security for Cluster Traffic [24247]
    Section: The JGroups AUTH Protocol [24249]
      The AuthToken [24246]
      SecurityException Failure Example [24245]
      Configuring AUTH [24251]
      Creating an AUTH Module [24253]
    Section: JGroups ENCRYPT [24250]
      ENCRYPT Configured with a secretKey in a Key Store [24248]
      ENCRYPT Using a Key Store [24252]
      ENCRYPT Configured with Algorithms and Key Sizes [24244]
      ENCRYPT Configuration Parameters [24254]

Comment 7 Martin Gencur 2014-04-22 06:36:27 UTC
There's still some development required before this feature is ready for JDG 6.3. We need to wait a bit more. Currently, the documentation describes AUTH and ENCRYPT protocols. The AUTH protocol won't be used and will be replaced by SASL protocol. The ENCRYPT protocol needs some enhancements.

Comment 8 gsheldon 2014-04-29 02:12:55 UTC
Adding Needinfo for Tristan.

Tristan do you have anything to add to the above? I am able to find some information about SASL in community with regards to Hot Rod security, but not between nodes and cluster traffic.

Comment 9 gsheldon 2014-05-27 23:53:57 UTC
Adding mgencur for QE ack of these topics in the security guide.

Comment 10 gsheldon 2014-05-27 23:55:09 UTC
*** Bug 1013856 has been marked as a duplicate of this bug. ***

Comment 11 gsheldon 2014-06-03 03:53:52 UTC
From Divya: 


https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.3/html/Developer_Guide/chap-Security_for_Cluster_Traffic.html#sect-Node_Authentication_and_Authorization

9.1  The Node Authentication and Authorization section appears to document only the Client-Server mode. How is node authentication/Aurthorization done in Library mode ?

Comment 12 Martin Gencur 2014-06-09 11:39:10 UTC
I'd defer to Vojtech.

Comment 13 Vojtech Juranek 2014-06-12 14:38:28 UTC
Hi,
node authentication in library mode is configured directly in jgroups config. You have to place SASL protocol *before* GMS protocol to authentication takes effect. Example configurations for dicgest MD5 as well as for GSSAPI can be seen in PR #2611 [1].

In case of MD5 server and client callback have to be specified so that server as well as client knows how to obtain the credentials. In case of GSSAPI one has to spefici login_module_name instread of callback. This login module (typically kerberos login module configure withing underlying EAP) will be used to obtain valid kerberos ticket and thus authenticate itself to the server (similar has to be for server as server communicates with kerberos server as well). Besides that in case of GSSAPI server_name has to be specified, as the principal which server queries for is created as "jgroups/$server_name@REALM"

[1] https://github.com/infinispan/infinispan/pull/2611/files

Comment 15 Misha H. Ali 2014-07-21 02:14:33 UTC
Now available on access.redhat.com under the JBoss Data Grid 6.3 documentation label.