]
RH Bugzilla Integration updated ISPN-4299:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References:
Authentication configuration builder requires CallbackHandle also
when subject it set
-------------------------------------------------------------------------------------
Key: ISPN-4299
URL:
https://issues.jboss.org/browse/ISPN-4299
Project: Infinispan
Issue Type: Bug
Components: Server
Reporter: Vojtech Juranek
Assignee: Mircea Markus
Priority: Minor
Authentication configuration builder allows to setup direcly subject under which action
are performed. In this case there's no need for any additional authentication. However
authentication configuration builder requires {{CallbackHandler}} also in this case and
without it it fails with
{noformat}
org.infinispan.commons.CacheConfigurationException: ISPN004030: Cannot enable
authentication without specifying a Callback Handler
at
org.infinispan.client.hotrod.configuration.AuthenticationConfigurationBuilder.validate(AuthenticationConfigurationBuilder.java:86)
at
org.infinispan.client.hotrod.configuration.SecurityConfigurationBuilder.validate(SecurityConfigurationBuilder.java:43)
at
org.infinispan.client.hotrod.configuration.ConfigurationBuilder.validate(ConfigurationBuilder.java:280)
at
org.infinispan.client.hotrod.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:314)
at
org.infinispan.client.hotrod.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:309)
at
org.infinispan.server.test.client.hotrod.security.HotRodSaslAuthTestBase.getRemoteCacheManagerConfig(HotRodSaslAuthTestBase.java:104)
{noformat}