Search in sources :

Example 6 with UmaMetadata

use of org.gluu.oxauth.model.uma.UmaMetadata in project oxAuth by GluuFederation.

the class UmaConfigurationWSTest method configurationPresence.

@Parameters({ "umaConfigurationPath" })
@Test
public void configurationPresence(final String umaConfigurationPath) throws Exception {
    final UmaMetadata c = TUma.requestConfiguration(url, umaConfigurationPath);
    UmaTestUtil.assert_(c);
}
Also used : UmaMetadata(org.gluu.oxauth.model.uma.UmaMetadata) Parameters(org.testng.annotations.Parameters) BaseTest(org.gluu.oxauth.BaseTest) Test(org.testng.annotations.Test)

Aggregations

UmaMetadata (org.gluu.oxauth.model.uma.UmaMetadata)6 Parameters (org.testng.annotations.Parameters)3 Test (org.testng.annotations.Test)3 BaseTest (org.gluu.oxauth.BaseTest)2 UmaMetadataService (org.gluu.oxauth.client.uma.UmaMetadataService)2 IOException (java.io.IOException)1 KeyManagementException (java.security.KeyManagementException)1 KeyStoreException (java.security.KeyStoreException)1 NoSuchAlgorithmException (java.security.NoSuchAlgorithmException)1 ApplicationScoped (javax.enterprise.context.ApplicationScoped)1 Produces (javax.enterprise.inject.Produces)1 Named (javax.inject.Named)1 ClientErrorException (javax.ws.rs.ClientErrorException)1 GET (javax.ws.rs.GET)1 Produces (javax.ws.rs.Produces)1 OxIntializationException (org.gluu.exception.OxIntializationException)1 TokenRequest (org.gluu.oxauth.client.TokenRequest)1 UmaScopeService (org.gluu.oxauth.client.uma.UmaScopeService)1 UmaTokenService (org.gluu.oxauth.client.uma.UmaTokenService)1 UmaScopeDescription (org.gluu.oxauth.model.uma.UmaScopeDescription)1