Package org.jasig.cas.authentication.principal

Examples of org.jasig.cas.authentication.principal.Response


       
        this.openIdService = OpenIdService.createServiceFrom(request);
    }
   
    public void testGetResponse() {
        final Response response = this.openIdService.getResponse("test");
       
        assertNotNull(response);
       
        assertEquals("test", response.getAttributes().get("openid.assoc_handle"));
        assertEquals("http://www.ja-sig.org/?service=fa", response.getAttributes().get("openid.return_to"));
        assertEquals("http://openid.ja-sig.org/battags", response.getAttributes().get("openid.identity"));
       
        final Response response2 = this.openIdService.getResponse(null);
        assertEquals("cancel", response2.getAttributes().get("openid.mode"));
    }
View Full Code Here

TOP

Related Classes of org.jasig.cas.authentication.principal.Response

Copyright © 2018 www.massapicom. 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.