Class ProviderConfigurationPermission

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

    public class ProviderConfigurationPermission
    extends java.security.BasicPermission
    A permission class to define what can be done with the ConfigurableProvider interface.

    Available permissions are "threadLocalEcImplicitlyCa" and "ecImplicitlyCa" which allow the setting of the thread local and global ecImplicitlyCa parameters respectively.

    Examples: ProviderConfigurationPermission("BC"); // enable all permissions

  • ProviderConfigurationPermission("BC", "threadLocalEcImplicitlyCa"); // enable thread local only ProviderConfigurationPermission("BC", "ecImplicitlyCa"); // enable global setting only ProviderConfigurationPermission("BC", "threadLocalEcImplicitlyCa, ecImplicitlyCa"); // enable both explicitly

Note: permission checks are only enforced if a security manager is present.

See Also:
Serialized Form