Tabbed Search Portlet Configuration - Google

Configuring Google Search

The only necessary configuration for the Google web search is to ensure that the server has and uses an appropriate Google Search API key. After getting a key for your server, you can add this key to the map of registered keys in src/main/webapp/WEB-INF/spring-servlet.xml:

    <!-- Google search IFrame target -->
    <bean name="/googleSearch" class="org.jasig.portlet.search.mvc.GoogleSearchFrameController">
        <!-- Google API Key for this URL -->
        <property name="googleKeys">
            <map>
                <entry key="localhost:8080">
                    <value>ABQIAAAA6IxXqpYkVvIBECmLUV99fRTwM0brOpm-All5BF6PoaKBxRWWERT7EOEqD89hlpB20tCIxwLUa9Y9rw</value>
                </entry>
                <entry key="YOUR_SERVER[:PORT]">
                    <value>KEYFROMGOOGLE</value>
                </entry>
            </map>
        </property>
    </bean>