Package org.jboss.aerogear.test

Examples of org.jboss.aerogear.test.Session.given()


        URI authServerEndpointUri = KeycloakUriBuilder.fromUri(getAuthServerUrl().toExternalForm())
                .path(ServiceUrlConstants.TOKEN_SERVICE_DIRECT_GRANT_PATH).build("aerogear");

        Session session = Session.newSession(authServerEndpointUri.toString());
        // FIXME dont use Session here! Fire up our own RestAssured
        Response response = session.given()
                .header(Headers.acceptJson())
                .formParam("username", username)
                .formParam("password", password)
                .formParam(OAuth2Constants.CLIENT_ID, "integration-tests")
                .post();
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.