To add to devices detected as mobile is it here where I make the additions with 
new map entries?

cas-server-webapp/src/main/webapp/WEB-INF/cas-servlet.xml

      <!-- Theme Resolver -->
      <bean id="themeResolver" 
class="org.jasig.cas.services.web.ServiceThemeResolver"
            p:defaultThemeName="${cas.themeResolver.defaultThemeName}"
        p:argumentExtractors-ref="argumentExtractors"
        p:servicesManager-ref="servicesManager">
        <property name="mobileBrowsers">
            <map>
                <entry key=".*iPhone.*" value="iphone" />
                <entry key=".*Android.*" value="iphone" />
                <entry key=".*Safari.*Pre.*" value="iphone" />
                <entry key=".*Nokia.*AppleWebKit.*" value="iphone" />
            </map>
        </property>
    </bean>


iPads and some BlackBerries at least aren't being detected as mobile.  (I 
know... some don't consider an iPad a mobile device...)


Brady McClenon
Senior Server Administrator
Information Technology Services
SUNY College at Oneonta
607-436-3203

"Quotes found on the internet are not always accurate."  - Abraham Lincoln



-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to