Package org.apache.syncope.common.services

Examples of org.apache.syncope.common.services.ResourceService


        }
    }

    @Test
    public void anonymous() {
        ResourceService unauthenticated = clientFactory.createAnonymous().getService(ResourceService.class);
        try {
            unauthenticated.list();
            fail();
        } catch (AccessControlException e) {
            assertNotNull(e);
        }

        ResourceService anonymous = clientFactory.create(ANONYMOUS_UNAME, ANONYMOUS_KEY).
                getService(ResourceService.class);
        assertFalse(anonymous.list().isEmpty());
    }
View Full Code Here

TOP

Related Classes of org.apache.syncope.common.services.ResourceService

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.