FileDocCategorySizeDatePackage
CORBAObjectPermission.javaAPI DocGlassfish v2 API2907Fri May 04 22:35:22 BST 2007com.sun.enterprise.security

CORBAObjectPermission

public class CORBAObjectPermission extends BasicPermission
This object represents the permission to invoke on a set of CORBA objects that are not EJBs. The name is the CORBA Object's name (currently only "*" is supported). The actions are the methods on the object. This class extends BasicPermission to support wildcard matching.

Fields Summary
Constructors Summary
public CORBAObjectPermission()

	
	super("*", "*");
    
public CORBAObjectPermission(String name)


	super("*", "*");

	// currently only name "*" is supported
	if ( !name.equals("*") ) {
	    throw new RuntimeException("CORBAObjectPermission name must be *");
	}
    
public CORBAObjectPermission(String name, String actions)


	super("*", actions);
	
	// currently only name "*" is supported
	if ( !name.equals("*") ) {
	    throw new RuntimeException("CORBAObjectPermission name must be *");
	}
    
Methods Summary