Package com.thoughtworks.xstream.security

Examples of com.thoughtworks.xstream.security.TypeHierarchyPermission


     *
     * @param type the base type to allow
     * @since 1.4.7
     */
    public void allowTypeHierarchy(final Class<?> type) {
        addPermission(new TypeHierarchyPermission(type));
    }
View Full Code Here


     *
     * @param type the base type to forbid
     * @since 1.4.7
     */
    public void denyTypeHierarchy(final Class<?> type) {
        denyPermission(new TypeHierarchyPermission(type));
    }
View Full Code Here

TOP

Related Classes of com.thoughtworks.xstream.security.TypeHierarchyPermission

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.