Class BridgePermission

java.lang.Object
java.security.Permission
java.security.BasicPermission
org.glassfish.pfl.basic.reflection.BridgePermission
All Implemented Interfaces:
Serializable, Guard

public final class BridgePermission extends BasicPermission
Permission class used to protect access to the sun.corba.Bridge object. The only name valid here is "getBridge". The BridgePermission("getBridge") permission must be held by the caller of org.glassfish.pfl.basic.reflection.Bridge.get().
See Also:
  • Constructor Details

    • BridgePermission

      public BridgePermission(String name)
      Creates a new BridgePermission with the specified name. The name is the symbolic name of the BridgePermission. The only valid name here is "getBridge".
      Parameters:
      name - the name of the BridgePermission.
    • BridgePermission

      public BridgePermission(String name, String actions)
      Creates a new BridgePermission object with the specified name. The name is the symbolic name of the BridgePermission, and the actions String is currently unused and should be null. The only valid name here is "getBridge".
      Parameters:
      name - the name of the BridgePermission.
      actions - should be null.