Example usage for java.lang SecurityManager subclass-usage

List of usage examples for java.lang SecurityManager subclass-usage

Introduction

In this page you can find the example usage for java.lang SecurityManager subclass-usage.

Usage

From source file org.pepstock.jem.node.security.BatchSecurityManager.java

/**
 * Is the SecurityManager under which the job is running. Every user that launch
 * a job will have a set of roles each of which will have a set of permissions.
 * The BatchSecurityManager verify if the job is doing what the user is
 * permitted to do.
 * 

From source file org.apache.sandesha2.security.UnitTestSecurityManager.java

public class UnitTestSecurityManager extends SecurityManager {
    private static Log log = LogFactory.getLog(UnitTestSecurityManager.class);

    private static HashMap<String, UnitTestSecurityToken> tokens = new HashMap<String, UnitTestSecurityToken>();
    private static String secNamespace = Sandesha2Constants.SPEC_2005_02.SEC_NS_URI;
    private static QName unitTestHeader = new QName("http://unit.test.security", "tokenId");

From source file SecurityManagerTest.java

class PasswordSecurityManager extends SecurityManager {

    private String password;

    public PasswordSecurityManager(String password) {
        super();