Package com.thoughtworks.xstream.security

Examples of com.thoughtworks.xstream.security.ExplicitTypePermission


     *
     * @param names the type names to allow
     * @since 1.4.7
     */
    public void allowTypes(final String... names) {
        addPermission(new ExplicitTypePermission(names));
    }
View Full Code Here


     *
     * @param types the types to allow
     * @since 1.4.7
     */
    public void allowTypes(final Class<?>... types) {
        addPermission(new ExplicitTypePermission(types));
    }
View Full Code Here

     *
     * @param names the type names to forbid
     * @since 1.4.7
     */
    public void denyTypes(final String... names) {
        denyPermission(new ExplicitTypePermission(names));
    }
View Full Code Here

     *
     * @param types the types to forbid
     * @since 1.4.7
     */
    public void denyTypes(final Class<?>... types) {
        denyPermission(new ExplicitTypePermission(types));
    }
View Full Code Here

TOP

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

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.