use of org.apache.jackrabbit.oak.spi.security.authentication.external.TestIdentityProvider in project jackrabbit-oak by apache.
the class DelegateeTest method testSyncAllExternalUsersThrowingIDP.
@Test(expected = SyncRuntimeException.class)
public void testSyncAllExternalUsersThrowingIDP() {
Delegatee dg = createDelegatee(new TestIdentityProvider("throwing") {
@Nonnull
@Override
public Iterator<ExternalUser> listUsers() throws ExternalIdentityException {
throw new ExternalIdentityException();
}
});
dg.syncAllExternalUsers();
}
use of org.apache.jackrabbit.oak.spi.security.authentication.external.TestIdentityProvider in project jackrabbit-oak by apache.
the class AbstractJmxTest method before.
@Before
public void before() throws Exception {
super.before();
foreignIDP = new TestIdentityProvider("anotherIDP");
}
Aggregations