1 23 24 25 package com.sun.enterprise.security; 26 27 import java.security.BasicPermission ; 28 29 30 38 public class CORBAObjectPermission extends BasicPermission { 39 40 public CORBAObjectPermission() { 41 42 super("*", "*"); 43 } 44 45 public CORBAObjectPermission(String name) { 46 47 super("*", "*"); 48 49 if ( !name.equals("*") ) { 51 throw new RuntimeException ("CORBAObjectPermission name must be *"); 52 } 53 } 54 55 public CORBAObjectPermission(String name, String actions) { 56 57 super("*", actions); 58 59 if ( !name.equals("*") ) { 61 throw new RuntimeException ("CORBAObjectPermission name must be *"); 62 } 63 } 64 } 65 | Popular Tags |