IT. Expert System.

Java Standard Edition (SE)

RMISecurityManager


compact2, compact3
java.rmi

Class RMISecurityManager


  • Deprecated. 
    Use SecurityManager instead.

    @Deprecated
    public class RMISecurityManager
    extends SecurityManager
    RMISecurityManager implements a policy identical to the policy implemented by SecurityManager. RMI applications should use the SecurityManager class or another appropriate SecurityManager implementation instead of this class. RMI's class loader will download classes from remote locations only if a security manager has been set.
    Implementation Note:

    Applets typically run in a container that already has a security manager, so there is generally no need for applets to set a security manager. If you have a standalone application, you might need to set a SecurityManager in order to enable class downloading. This can be done by adding the following to your code. (It needs to be executed before RMI can download code from remote hosts, so it most likely needs to appear in the main method of your application.)

    
        if (System.getSecurityManager() == null) {
            System.setSecurityManager(new SecurityManager());
        }
     
    Since:
    JDK1.1
    • Constructor Detail

      • RMISecurityManager

        public RMISecurityManager()
        Deprecated. 
        Constructs a new RMISecurityManager.
        Since:
        JDK1.1


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 281 / . Delta: 0.04655 с