Marek Posolda from the GateIn team has created an excellent article on integrating salesforce or google apps with JBoss. It is done via project PicketLink.
The article is at https://docs.jboss.org/author/display/PLINK/3rd+party+integration
Marek also talks about GateIn integration with Salesforce and Google Apps using PicketLink at https://community.jboss.org/wiki/GateInSSOIntegrationWithSalesforceAndGoogleApps
The article is at https://docs.jboss.org/author/display/PLINK/3rd+party+integration
Marek also talks about GateIn integration with Salesforce and Google Apps using PicketLink at https://community.jboss.org/wiki/GateInSSOIntegrationWithSalesforceAndGoogleApps