Package com.sun.xacml

Examples of com.sun.xacml.PolicyReference


            if (policy instanceof Policy) {
                encodeParamaters(output, indenter, "Policy", policy.getId().toString());
            } else if (policy instanceof PolicySet) {
                encodeParamaters(output, indenter, "PolicySet", policy.getId().toString());
            } else {
                PolicyReference ref = (PolicyReference) policy;
                if (ref.getReferenceType() == PolicyReference.POLICY_REFERENCE)
                    encodeParamaters(output, indenter, "Policy", ref.getReference().toString());
                else
                    encodeParamaters(output, indenter, "PolicySet", ref.getReference().toString());
            }
        }

        getPolicy().encode(output, indenter);
    }
View Full Code Here

TOP

Related Classes of com.sun.xacml.PolicyReference

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.