Package org.apache.syncope.common.services

Examples of org.apache.syncope.common.services.SchemaService.list()


    @Test
    public void anonymous() {
        SchemaService unauthenticated = clientFactory.createAnonymous().getService(SchemaService.class);
        try {
            unauthenticated.list(AttributableType.USER, SchemaType.VIRTUAL);
            fail();
        } catch (AccessControlException e) {
            assertNotNull(e);
        }
View Full Code Here


        } catch (AccessControlException e) {
            assertNotNull(e);
        }

        SchemaService anonymous = clientFactory.create(ANONYMOUS_UNAME, ANONYMOUS_KEY).getService(SchemaService.class);
        assertFalse(anonymous.list(AttributableType.USER, SchemaType.VIRTUAL).isEmpty());
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.