Package org.jboss.modules.security

Examples of org.jboss.modules.security.ImmediatePermissionFactory


        // get the maximum set of deployment permissions.
        final List<PermissionFactory> maximumSet = this.retrievePermissionSet(context,
                this.peek(node, DEPLOYMENT_PERMISSIONS, DEFAULT_VALUE, MAXIMUM_SET, DEFAULT_VALUE));

        if (maximumSet.isEmpty())
            maximumSet.add(new ImmediatePermissionFactory(new AllPermission()));

        // TODO validate the permission sets: the minimum-set must be implied by the maximum-set.

        // install the WildFly security manager service.
        controlers.add(context.getServiceTarget().addService(SecurityManagerService.SERVICE_NAME, new SecurityManagerService())
View Full Code Here


            return;
        }
        final List<PermissionFactory> permissions = attachment.getPermissionFactories();
        final Enumeration<Permission> e = DEFAULT_PERMISSIONS.elements();
        while (e.hasMoreElements()) {
            permissions.add(new ImmediatePermissionFactory(e.nextElement()));
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.modules.security.ImmediatePermissionFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.