KEYCLOAK-2387

This commit is contained in:
Bill Burke
2016-01-26 14:19:53 -05:00
parent 39b3c648a2
commit 449bc5c4dc
2 changed files with 15 additions and 0 deletions

View File

@@ -6,6 +6,11 @@ import org.junit.Rule;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.core.Form;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
@@ -148,4 +153,14 @@ public class SamlAdapterTest {
public void testPostSignedLoginLogout() {
testStrategy.testPostSignedLoginLogout();
}
@Test
public void testIDPDescriptor() throws Exception {
Client client = ClientBuilder.newClient();
String text = client.target("http://localhost:8081/auth/realms/master/protocol/saml/descriptor").request().get(String.class);
client.close();
}
}