Class BridgePermission

  • All Implemented Interfaces:
    java.io.Serializable, java.security.Guard

    public final class BridgePermission
    extends java.security.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BridgePermission​(java.lang.String name)
      Creates a new BridgePermission with the specified name.
      BridgePermission​(java.lang.String name, java.lang.String actions)
      Creates a new BridgePermission object with the specified name.
    • Method Summary

      • Methods inherited from class java.security.BasicPermission

        equals, getActions, hashCode, implies, newPermissionCollection
      • Methods inherited from class java.security.Permission

        checkGuard, getName, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BridgePermission

        public BridgePermission​(java.lang.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​(java.lang.String name,
                                java.lang.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.