Examples of ChannelRuntimeData


Examples of org.jasig.portal.ChannelRuntimeData

        String service = "http://www.someschool.edu/someservice";
       
        // in absence of CAS security context, return descriptor unchanged
        assertEquals(service, connectionContext.getDescriptor(service));
       
        ChannelRuntimeData runtimeData = new ChannelRuntimeData();
        runtimeData.setHttpRequestMethod("GET");
       
       
        String descriptorWithRuntimeData =
            connectionContext.getDescriptor(service, runtimeData);
       
        // in absence of CAS security context, return descriptor unchanged.
        assertEquals(service, descriptorWithRuntimeData);
   
        runtimeData.setHttpRequestMethod("POST");
       
        // when method is POST, return descriptor unchanged
        descriptorWithRuntimeData =
            connectionContext.getDescriptor(service, runtimeData);
       
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.