]
Tristan Tarrant updated ISPN-6704:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
NullPointerException if authentication configuration is not complete
--------------------------------------------------------------------
Key: ISPN-6704
URL:
https://issues.jboss.org/browse/ISPN-6704
Project: Infinispan
Issue Type: Bug
Components: Security
Affects Versions: 9.0.0.Alpha2, 8.2.2.Final
Reporter: Galder ZamarreƱo
Assignee: Galder ZamarreƱo
Fix For: 9.0.0.Alpha3, 9.0.0.Final
{code}
<subsystem xmlns="urn:infinispan:server:core:9.0"
default-cache-container="clustered">
<cache-container name="clustered" default-cache="default"
statistics="true">
<transport lock-timeout="60000"/>
<global-state/>
<distributed-cache name="securedCache" mode="SYNC"
start="EAGER">
<security>
<authorization roles="reader"/>
</security>
</distributed-cache>
</subsystem>
{code}
Throws:
{code}
Caused by: java.lang.NullPointerException
at
org.infinispan.security.impl.AuthorizationManagerImpl.init(AuthorizationManagerImpl.java:32)
{code}