Package org.fcrepo.server.security.xacml.util

Examples of org.fcrepo.server.security.xacml.util.AttributeComparator


            Set<Attribute> attributes = null;

            Set<Subject> subjects = new TreeSet(new SubjectComparator());
            subjects.addAll(reqCtx.getSubjects());
            for (Subject s : subjects) {
                attributes = new TreeSet(new AttributeComparator());
                attributes.addAll(s.getAttributes());
                for (Attribute a : attributes) {
                    hashAttribute(a, digest);
                }
            }

            attributes = new TreeSet(new AttributeComparator());
            attributes.addAll(reqCtx.getResource());
            for (Attribute a : attributes) {
                hashAttribute(a, digest);
            }

            attributes = new TreeSet(new AttributeComparator());
            attributes.addAll(reqCtx.getAction());
            for (Attribute a : attributes) {
                hashAttribute(a, digest);
            }

            attributes = new TreeSet(new AttributeComparator());
            attributes.addAll(reqCtx.getEnvironmentAttributes());
            for (Attribute a : attributes) {
                hashAttribute(a, digest);
            }
View Full Code Here

TOP

Related Classes of org.fcrepo.server.security.xacml.util.AttributeComparator

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.