Bug 1099055 - Authentication configuration builder requires CallbackHandler also when subject it set
Summary: Authentication configuration builder requires CallbackHandler also when subje...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Server
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER6
: 6.3.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks: 1104639
TreeView+ depends on / blocked
 
Reported: 2014-05-19 11:41 UTC by Vojtech Juranek
Modified: 2015-01-26 14:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The Hot Rod Java client configuration validator does not accept a configuration where the SASL callback handler is not set. However, if a valid client Subject is supplied instead, the validator accepts the configuration. As a result, the configuration validator throws a org.infinispan.commons.CacheConfigurationException exception with the following error message: ISPN004030: Cannot enable authentication without specifying a Callback Handler. A workaround for this issue is to supply a callbackhandler with an empty handle() method as follows: public static final class NoOpCallbackHandler implements CallbackHandler { public static final NoOpCallbackHandler INSTANCE = new NoOpCallbackHandler(); @Override public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { // NO OP } } As a result, the configuration validator accepts the configuration and SASL authentication works as expected.
Clone Of:
Environment:
Last Closed: 2015-01-26 14:04:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-4299 0 Minor Resolved Authentication configuration builder requires CallbackHandle also when subject it set 2018-10-24 12:08:41 UTC

Description Vojtech Juranek 2014-05-19 11:41:22 UTC
Please see https://issues.jboss.org/browse/ISPN-4299

Comment 2 Martin Gencur 2014-07-04 08:15:19 UTC
This was fixed. We don't need to mention it in release notes unless we want to mention issues that were in Beta release notes and fixed for GA.


Note You need to log in before you can comment on or make changes to this bug.