Fórum

Google Apps and portal.properties

Mario Pellegrini, modificado 13 Anos atrás.

Google Apps and portal.properties

New Member Postagens: 17 Data de Entrada: 14/05/08 Postagens Recentes
I have a mail domain with Google Apps and want to integrate it into Liferay.
I have not found documentation about the functionality offered by the integration or how to configure Liferay.

Searching is all I found:

1.- Control Panel -> Portal-> Settings-> Miscellaneous-> Google Apps 2 fields to confiugrar
Username
Password

2 .- got portal.properties portal-impl.jar and there are 2 sections
# Mail
# Google Apps
referring to the topic


# #
# # Mail
# #

#
# Set the JNDI name to lookup the Java Mail session. If none is set, Then
# The portal will Attempt to create the Java Mail session based on the
# Properties prefixed with "mail.session.."
#
# Mail.session.jndi.name = mail / MailSession

#
# Set the properties Used to create the Java Mail session. The property
# Prefix "mail.session." Remove Before Will Be Used to create it is the
# Session object. These properties will only read if the property Be
# "Mail.session.jndi.name" is not set.
#
mail.session.mail.pop3.host = localhost
mail.session.mail.pop3.password =
mail.session.mail.pop3.port = 110
mail.session.mail.pop3.user =
mail.session.mail.smtp.auth = false
mail.session.mail.smtp.host = localhost
mail.session.mail.smtp.password =
mail.session.mail.smtp.port = 25
mail.session.mail.smtp.user =
mail.session.mail.store.protocol = pop3
mail.session.mail.transport.protocol = smtp

#
# Set this to false if administrator Should Not Be allowed to change the
# Mail domain via the Admin portlet.
#
mail.mx.update = true

#
# Input a comma delimited list of email addresses That will Receive a BCC of
# Every email sent-through the mail server.
#
mail.audit.trail =

#
# Set the name of a class That implements com.liferay.mail.util.Hook. The
# Mail server will use this class to Ensure That the mail and portal servers
# Are synchronized on user information. The portal will Not know how to add,
# Update, or delete users from the mail server except-through this hook.

#
# Mail.hook.impl = com.liferay.mail.util.CyrusHook
mail.hook.impl = com.liferay.mail.util.DummyHook
# Mail.hook.impl = com.liferay.mail.util.FuseMailHook
#mail.hook.impl = com.liferay.mail.util.GoogleHook
# Mail.hook.impl = com.liferay.mail.util.SendmailHook
# Mail.hook.impl = com.liferay.mail.util.ShellHook

#
# CyrusHook
#
# Set the commands for adding, Updating, and deleting a user WHERE
#% 1% is the user id. Replace the password with the password for the cyrus
# User.
#
mail.hook.cyrus.add.user = cyrusadmin password create% 1%
# Mail.hook.cyrus.add.user = cyrus_adduser password% 1%
mail.hook.cyrus.delete.user = cyrusadmin password delete% 1%
# Mail.hook.cyrus.delete.user = cyrus_userdel password% 1%
mail.hook.cyrus.home = / home / cyrus

#
# FuseMailHook
#
# See http://www.fusemail.com/support/api.html for more information. You Must
# Also update the "mail.account.finder" property.
#
mail.hook.fusemail.url = https: / / www.fusemail.com / api / request.html
mail.hook.fusemail.username =
mail.hook.fusemail.password =
mail.hook.fusemail.account.type = group_subaccount
mail.hook.fusemail.group.parent =

#
# GoogleHook
#
# See the properties "google.apps.username" and "google.apps.password."
#



# #
# # Google Apps
# #

#
# Set the default user name and password for Google Apps integration. The
# Used by Google Apps domain is retrieved from the portal's mail domain.
# See http://code.google.com/apis/apps for more information.
#
# Google Apps integration is Not Used unless the property "mail.hook.impl"
# is setting with the value "com.liferay.mail.util.GoogleHook."
#
google.apps.username =
google.apps.password =


Editing've added portal-ext.properties

mail.hook.impl = com.liferay.mail.util.GoogleHook
google.apps.username = admin name
google.apps.password = password name

without obtaining changes

As must be configured to integrate Google Apps?
That functionality of Google Apps that you can use the portal?

I use Liferay 6.0.5 and MySQL 5
thumbnail
Mika Koivisto, modificado 13 Anos atrás.

RE: Google Apps and portal.properties

Liferay Legend Postagens: 1519 Data de Entrada: 07/08/06 Postagens Recentes
I think that is used to sync users between Liferay and Google Apps nothing more. SSO will be possible once we release our SAML IdP Plugin.
Sri Vatsa, modificado 11 Anos atrás.

RE: Google Apps and portal.properties

New Member Postagens: 5 Data de Entrada: 26/03/10 Postagens Recentes
Hi Mika,


mail.hook.impl = com.liferay.mail.util.GoogleHook
google.apps.username = admin name
google.apps.password = password name

]


What does setting these properties imply ? Is there a UI/portlet where I actually see the Google Apps integration ?