use of org.xdi.oxauth.client.uma.ScopeService in project oxAuth by GluuFederation.
the class ScopeHttpTest method scopePresence.
@Test
@Parameters({ "umaMetaDataUrl" })
public void scopePresence(final String umaMetaDataUrl) {
final UmaConfiguration conf = UmaClientFactory.instance().createMetaDataConfigurationService(umaMetaDataUrl).getMetadataConfiguration();
final ScopeService scopeService = UmaClientFactory.instance().createScopeService(conf);
final ScopeDescription modifyScope = scopeService.getScope("modify");
UmaTestUtil.assert_(modifyScope);
}
Aggregations