Bug 1109582 - Update server to use the lightweight security
Summary: Update server to use the lightweight security
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: ER7
: 6.3.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-15 17:07 UTC by Tristan Tarrant
Modified: 2015-01-14 06:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-14 06:20:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-4382 0 Major Resolved Introduce a lightweight security as an alternative for the SecurityManager 2015-10-12 15:02:54 UTC

Description Tristan Tarrant 2014-06-15 17:07:01 UTC

Comment 2 Vojtech Juranek 2014-06-20 13:09:47 UTC
I'm getting following exception when starting HR server with secured cache:

ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.endpoint.hotrod.hotrod-connector: JDGS010004: Failed to start HotRodServer
        at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:138)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'ADMIN' permission
        at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:76)
        at org.infinispan.security.impl.AuthorizationManagerImpl.checkPermission(AuthorizationManagerImpl.java:44)
        at org.infinispan.security.impl.SecureCacheImpl.getCacheConfiguration(SecureCacheImpl.java:418)
        at org.infinispan.AbstractDelegatingCache.getCacheConfiguration(AbstractDelegatingCache.java:44)
        at org.infinispan.server.hotrod.HotRodServer.startDefaultCache(HotRodServer.scala:91)
        at org.infinispan.server.core.AbstractProtocolServer.startInternal(AbstractProtocolServer.scala:37)
        at org.infinispan.server.hotrod.HotRodServer.startInternal(HotRodServer.scala:65)
        at org.infinispan.server.hotrod.HotRodServer.startInternal(HotRodServer.scala:33)
        at org.infinispan.server.core.AbstractProtocolServer.start(AbstractProtocolServer.scala:44)
        at org.infinispan.server.endpoint.subsystem.SecurityActions$10.run(SecurityActions.java:220)
        at org.infinispan.server.endpoint.subsystem.SecurityActions$10.run(SecurityActions.java:217)
        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45]
        at org.infinispan.server.endpoint.subsystem.SecurityActions.startProtocolServer(SecurityActions.java:227)
        at org.infinispan.server.endpoint.subsystem.ProtocolServerService.startProtocolServer(ProtocolServerService.java:155)
        at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:132)
        ... 5 more


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