Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

hkalina/jsm-policy-subsystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsm-policy-subsystem

This is Java Security Manager Policy subsystem for JBoss/Wildfly. It consist of following packages:

Successful changing of policy require also this patch of WildFly:

Wildfly 8 documentation: Extending Wildfly 8

Installation of jsm-policy-subsystem

  1. Install jboss-modules patch into WildFly installation and allow it by adding of following at begining of standalone.sh or domain.sh for using dynamic permission in ModuleClassLoader:
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.policy-refreshable=true"
  1. Do compilation: mvn install
  2. Copy target to your server: cp -r target/module/* $(JBOSS_PATH)/modules/system/layers/base/
  3. Do following for adding of jsmpolicy into WildFly. For domain and profile full:
bin/jboss-cli.sh --connect
/extension=org.picketbox.jsmpolicy.subsystem:add
/profile=full/subsystem=jsmpolicy:add

For standalone mode:

bin/jboss-cli.sh --connect
/extension=org.picketbox.jsmpolicy.subsystem:add
/subsystem=jsmpolicy:add

About

Java Security Manager Policy extension for JBoss/Wildfly

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages