Package net.jini.core.constraint

Examples of net.jini.core.constraint.ServerMinPrincipal


                + "  net.jini.core.constraint.ServerMinPrincipal");

        try {
            HashSet set = new HashSet();
            set.add(new KerberosPrincipal("duke@FOO.COM"));
            ServerMinPrincipal obj1 = new ServerMinPrincipal(set);
            ServerMinPrincipal obj2 = new ServerMinPrincipal(set);
            set.add(new
                    X500Principal(
                    "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"));
            ServerMinPrincipal obj3 = new ServerMinPrincipal(set);

            if (!checker(obj1, obj2, obj3)) {
                throw new TestException(
                        "" + " test failed");
            }
View Full Code Here

TOP

Related Classes of net.jini.core.constraint.ServerMinPrincipal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.