Foros de discusión

Authentication option is not show (no options, blank page)

Walter Xavier Bermudez Tamayo, modificado hace 9 años.

Authentication option is not show (no options, blank page)

New Member Mensajes: 5 Fecha de incorporación: 26/09/14 Mensajes recientes
Hi!, I have the follow situation, the authentication option in portal settings is not show (no options LDAP .....). any one have an idea? thanks.
thumbnail
Vilmos Papp, modificado hace 9 años.

RE: Authentication option is not show (no options, blank page)

Liferay Master Mensajes: 529 Fecha de incorporación: 21/10/10 Mensajes recientes
Check whether you removed it in portal-ext.properties
    #
    # Input a list of sections that will be included as part of the company
    # authentication settings form.
    #
    company.settings.form.authentication=general,ldap,cas,facebook,ntlm,open-id,open-sso,siteminder
Walter Xavier Bermudez Tamayo, modificado hace 9 años.

RE: Authentication option is not show (no options, blank page)

New Member Mensajes: 5 Fecha de incorporación: 26/09/14 Mensajes recientes
Vilmos Papp:
Check whether you removed it in portal-ext.properties
    #
    # Input a list of sections that will be included as part of the company
    # authentication settings form.
    #
    company.settings.form.authentication=general,ldap,cas,facebook,ntlm,open-id,open-sso,siteminder



Hi! Thanks but did not work. this is portal-ext.properties any way to showme a template form? xxxxxxxxx in special fields

#
# MySQL
#
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
jdbc.default.username=xxxxxxxxxxxxxxxxxxxxxx
jdbc.default.password=xxxxxxxxxxxxxxxxxxxxxxxx
jdbc.default.encrypted.password=true

auth.pipeline.enable.liferay.check=true

users.screen.name.validator=com.liferay.portal.security.auth.LiberalScreenNameValidator

# By Default liferay will not allow mutlibyte characters and non-english characters like ?
# set the below flag bypass.liferay.screenname.validation to true
# to make liferay to allow those characters

bypass.liferay.screenname.validation=false

##
## Default Admin
##

#
# Set the default admin password.
#
default.admin.password=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

default.admin.encrypted.password=true

#
# Set the default admin screen name prefix.
#
default.admin.screen.name=admin

#
# Set the default admin email address prefix.
#
default.admin.email.address.prefix=admin

#
# Set the default admin first name.
#
default.admin.first.name=admin

#
# Set the default admin middle name.
#
default.admin.middle.name=

#
# Set the default admin last name.
#
default.admin.last.name=admin

##
## Company
##

company.settings.form.authentication=general,ldap,cas,facebook,ntlm,open-id,open-sso,siteminder

company.default.name=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#
# This sets the default web id. Omniadmin users must belong to the company
# with this web id.
#
company.default.web.id=xxxxxxxxxxxxxxxxxxxxxxxxx
company.default.onboarding=true
company.defaultBusinessUsers.password=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Users belong to this EEM Group will be assigned OpenSpace Administrator Role (This can be changed from EEM Authentication Settings Page)
# Purpose of this below setting is to set the default value in EEM Authentication Settings Page UI. Value set in UI takes precedence over this settings
eem.application.admin.group=OpenSpaceAdminGroup

# Default role for EEM users, in OpenSpace (This can be changed from EEM Authentication Settings Page)
# Purpose of this below setting is to set the default value in EEM Authentication Settings Page UI. Value set in UI takes precedence over this settings
eem.default.user.role=Business User


##
## SDM Certificate Folder Configuration
aquila.temp.dir=${liferay.home}/shared/aquila_temp
aquila.sdmcert.dir=${liferay.home}/shared/sdmcert
##
## Catalog Certificate Folder Configuration
aquila.catalogcert.dir=${liferay.home}/shared/catalogcert

##
## onPremise connections are disabled in this release. To enable it back un-comment the following line
## EnableOnPremiseConnector=true

##
# SAML datasource is not supported in OSOP 2.0. In future to enable, set this property to true
support.saml.datasource=false
# Set default login url
auth.forward.by.last.path=true
auth.login.url=/web/frontoffice/login

auth.forward.by.redirect=true

#
# Specify a LAR file that can be used to create the guest public layouts.
# If this property is set, the previous layout properties will be ignored.
#
default.guest.public.layouts.lar=${liferay.home}/data/aquila/Guest-v0.1.lar


#login/logout page configuration
default.landing.page.path=/web/frontoffice/dashboard?_area_=dashboard
default.logout.page.path=/web/frontoffice/login

#
# This sets the default home URL of the portal.
#
company.default.home.url=/web/frontoffice/dashboard?_area_=dashboard

#terms page
terms.of.use.required=false

#Browser Launcher
browser.launcher.url=


default.regular.theme.id=frontoffice_WAR_frontofficetheme

#
# A file extension of * will permit all file extensions.
#
# You can map a GIF for the extension by adding the image to the theme's
# image display and document library folder. The wildcard extension of *
# will be ignored. For example, the default image for the DOC extension
# would be found in: /html/themes/_unstyled/images/document_library/doc.gif.
#
dl.file.extensions=.bmp,.css,.doc,.docx,.dot,.gif,.htm,.html,.jpg,.js,.lar,.odb,.odf,.odg,.odp,.ods,.odt,.pdf,.png,.ppt,.pptx,.rtf,.swf,.sxc,.sxi,.sxw,.tar,.tiff,.tgz,.txt,.vsd,.xls,.xlsx,.xml,.zip,.jrxml

# Hide navigation links on login portlet
login.portlet.navigation.links.enable=false

#Live User
live.users.enabled=true

#
# Specify the number of minutes before a warning is sent to the user
# informing the user of the session expiration. Specify 0 to disable any
# warnings.
#
session.timeout.warning=5

#
# Set the auto-extend mode to true to avoid having to ask the user whether
# to extend the session or not. Instead it will be automatically extended.
# The purpose of this mode is to keep the session open as long as the user
# browser is open and with a portal page loaded. It is recommended to use
# this setting along with a smaller "session.timeout", such as 5 minutes for
# better performance.
#
session.timeout.auto.extend=false

#
# Set this to true if the user is redirected to the default page when the
# session expires.
#
session.timeout.redirect.on.expire=true
#
# The login page reads a redirect by a parameter named "redirect". If this
# property is set to true, then users will be redirected to the given
# redirect path upon successful login. If the user does not have permission
# to view that page, then the rule set by the property
# "auth.forward.by.last.path" will apply.
#
# You can set the redirect manually from another application, by appending
# the "redirect" parameter in a url that looks like this:
# /c/portal/login?redirect=%2Fgroup%2Femployees%2Fcalendar. This url will
# redirect the user to the path "/group/employees/calendar" upon successful
# login.
#


## SiteMinder Configs - begin
siteminder.auth.enabled=false

# Password reset setting
users.reminder.queries.enabled=false
users.reminder.queries.custom.question.enabled=false

#Tags
#Category List
tags.category.list=INTERESTS,KNOWLEDGE
#update count when new tag sources are added.
tags.source.count=5
#TagSource,interests_weight,knowledge_weight

#PROFILE_COMPETENCIES
tags.source.1=P_COM,2,10
#PROFILE_INTERESTS
tags.source.2=P_INT,10,2
#POSTS
tags.source.3=PST,5,2
#REPLIES
tags.source.4=REP,2,3
#ANSWERED
tags.source.5=ANS,2,10

tagsAverageResponseLimit = 2678400

# pagination
openspace.dashboard.pagination.pagesize=10
openspace.myrequests.pagination.pagesize=10

#Number of Latest Questions to Show in Home/dashboard page
openspace.dashboard.latestQuestions.noOfQuestionsToShow=5


# supported locale
locales=de_DE,es_ES,fr_FR,it_IT,ja_JP,pt_BR,pt_PT,zh_CN,en_US
locale.prepend.friendly.url.style=0

##
## WebDAV
##

#
# Set this to true to enable programmatic configuration to let the WebDAV be
# configured for litmus testing. This should never be set to true unless you
# are running the litmus tests.
#
webdav.litmus=false

#
# Set the location of the default company logo image that is used for
# missing company logo images. This image must be available in the class
# path.
#
image.default.company.logo=com/ca/sfo/ext/portlet/dependencies/company_logo.png
layout.friendly.url.page.not.found=/web/frontoffice/dashboard?_area_=dashboard

#Email Templates used by message board
message.boards.email.message.added.signature=com/ext/portlet/messageboards/dependencies/email_message_added_signature.tmpl
message.boards.email.message.updated.signature=com/ext/portlet/messageboards/dependencies/email_message_updated_signature.tmpl

message.boards.email.message.added.body=com/ext/portlet/messageboards/dependencies/email_message_added_body.tmpl
message.boards.email.message.updated.body=com/ext/portlet/messageboards/dependencies/email_message_updated_body.tmpl

message.boards.email.message.added.subject.prefix=com/ext/portlet/messageboards/dependencies/email_message_added_subject_prefix.tmpl
message.boards.email.message.updated.subject.prefix=com/ext/portlet/messageboards/dependencies/email_message_updated_subject_prefix.tmpl

#Flag mail contents
flags.email.subject=com/ext/portlet/messageboards/dependencies/email_flag_subject.tmpl
flags.email.body=com/ext/portlet/messageboards/dependencies/email_flag_body.tmpl

# Default view for thread is tree in all environments
message.boards.thread.views.default=tree


# Aquila Search
aquila.search.googleProxyUserName=
aquila.search.googleProxyPassword=
aquila.search.googleProxyIP=
aquila.search.googleProxyPort=80
aquila.search.useProxyForGoogle=false


# email configuration for openspace
email.mailinglist.enabled=true
email.mailinglist.protocol=pop3
email.mailinglist.server=mail.ca.com
email.mailinglist.port=19110
email.mailinglist.secure=false
email.mailinglist.username=contact
email.mailinglist.password=aquila
email.mailinglist.polling.interval=1
email.mailinglist.emailAddress=opsadmin@ca.com
email.notifications.reply.respond=To respond,  please follow the link above and click 'Reply'
email.notifications.answered.respond=To respond,  please follow the link above and click 'Reply'.
email.mailinglist.subject.prefix=[Open Space]


#######CA SMTP##########
mail.session.mail.store.protocol=smtp
mail.session.mail.transport.protocol=smtp
mail.session.mail.smtp.host=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
mail.session.mail.smtp.password=xxxxxxxxxxxxxxxxxxxxxxxxxx
mail.session.mail.smtp.user=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
mail.session.mail.smtp.port=25
mail.session.mail.smtp.auth=true
mail.session.mail.smtp.starttls.enable=false

#
# Email Notification Settings
#
flags.email.from.name=OpenSpace
flags.email.from.address=no-reply@openspace.abc.com


email.notifications.following.footer=To unsubscribe, please follow the link above and click 'UNFOLLOW'.
email.notifications.recommended.footer=You've signed up to receive email notifications. To change your subscription settings, visit your Open Space profile.


#cometd configurations begin
cometd.enable=false
cometd.contextPath=/notification-server
#internal properties are used by java client
cometd.internal.host=xxxxxxxxxxxxxxxxxxxxxxxx
cometd.internal.port=18686
cometd.internal.protocol=http
#external properties are used by jquery clients
cometd.external.host=xxxxxxxxxxxxxxxxxxxxx
cometd.external.port=18686
cometd.external.protocol=http
#cometd configurations end

#
# The portal can authenticate users based on their email address, screen
# name, or user id.
#
company.security.auth.type=screenName

# Settings for custom sql locations
custom.sql.configs=custom-sql/default.xml,custom-sql/default-ext.xml



# Performance improvements settings - START

# Disables Quartz scheduler of Liferay.
scheduler.enabled=false

#
# Set this to true if you want to index your entire library of files on
# startup. This property is available so that automated test environments
# index on startup. Do not set this to true on production systems or else
# your index will be indexed on every startup.
#
index.on.startup=false

# Performance improvements settings - END

#Open Space version
openspace_version=3
thumbnail
Andew Jardine, modificado hace 9 años.

RE: Authentication option is not show (no options, blank page)

Liferay Legend Mensajes: 2416 Fecha de incorporación: 22/12/10 Mensajes recientes
If you open "inspector" or "firebug" on the page -- are there any javascript errors when loading?
Walter Xavier Bermudez Tamayo, modificado hace 9 años.

RE: Authentication option is not show (no options, blank page)

New Member Mensajes: 5 Fecha de incorporación: 26/09/14 Mensajes recientes
Andew Jardine:
If you open "inspector" or "firebug" on the page -- are there any javascript errors when loading?



Hi!, no errors in console log in Chrome and IE 11
Walter Xavier Bermudez Tamayo, modificado hace 9 años.

RE: Authentication option is not show (no options, blank page)

New Member Mensajes: 5 Fecha de incorporación: 26/09/14 Mensajes recientes
checking in the logs I found the following errors,

An error occurred at line: 14 in the generated java file
Only a type can be imported. Resolves to a package com.ca.sfo.util.EEMEncryption

An error occurred at line: 71 in the jsp file: /html/portlet/portal_settings/authentication.jsp
EEM_AUTHENTICATION_ENABLED can not be resolved or is not a field
68: String = PrefsPropsUtil.getString siteminderUserHeader (company.getCompanyId (), PropsKeys.SITEMINDER_USER_HEADER, PropsValues.SITEMINDER_USER_HEADER);
69:
70:
71: boolean = PrefsPropsUtil.getBoolean eemAuthEnabled (company.getCompanyId (), PropsKeys.EEM_AUTHENTICATION_ENABLED, PropsValues.EEM_AUTHENTICATION_ENABLED);
72: String = PrefsPropsUtil.getString eemBackEnd (company.getCompanyId (), PropsKeys.EEM_BACKEND, PropsValues.EEM_BACKEND);
73: String = PrefsPropsUtil.getString eemApplication (company.getCompanyId (), PropsKeys.EEM_APPLICATION, PropsValues.EEM_APPLICATION);
74: String = PrefsPropsUtil.getString eemQueryUsername (company.getCompanyId (), PropsKeys.EEM_QUERY_USERNAME, PropsValues.EEM_QUERY_USERNAME);

what I did was remove all code in authentication.jsp.

PrefsPropsUtil.getBoolean eemAuthEnabled = boolean (company.getCompanyId (), PropsKeys.EEM_AUTHENTICATION_ENABLED, PropsValues.EEM_AUTHENTICATION_ENABLED);
String eemBackEnd = PrefsPropsUtil.getString (company.getCompanyId () PropsKeys.EEM_BACKEND, PropsValues.EEM_BACKEND); .....

My question is this, where the program reads these parameters? in the portal-ext.properties?

the location for EEMEncryption.class is C:\Program Files\CA\Open Space\OSOP\tomcat-7.0.23\webapps\openspace-ext\WEB-INF\ext-impl\classes\com\ca\s‌​fo\util
thumbnail
Andew Jardine, modificado hace 9 años.

RE: Authentication option is not show (no options, blank page)

Liferay Legend Mensajes: 2416 Fecha de incorporación: 22/12/10 Mensajes recientes
Yes. Well, Yes and no. The settings come from multiple places depending on both how you have structured your configuration, where you store the configurations and which method you use to retrieve them.

At their root, all the "default" settings can be found in Liferay's portal.properties file -- inside the portal-impl jar if you don't have the source.

Most of the time you will override these settings using the portal-ext file, however it could very well be that some of the settings are also overridden with hook plugins (those that are supported).

For some of the properties, they can also be specified on a portal by portal (erad: company by company) instance using portal-<webid>.properties. The settings that fall into this camp would be any setting that is retrieved using the PrefsPropsUtil class where the method that is invoked includes the companyId as a parameter.

Along these same lines, it is also possible to "override" many of the settings in the portal.properties or even the subsequent property files (portal-ext, portal-<webid>, etc) using the Control Panel. When you use the control panel the portal settings get pushed into the PortalPreferences table, stored using an onewId which maps back to the companyId. When you use the PrefsPropsUtil to retreive a value, this table is checked first and if a setting is found, then the balance of the configurations are ignored.

So as you can see, it's a little more complicated (under the covers) than it appears. Best approach considering there are so many options is deciding up front what your configuration strategy will be so that you always know where to look for a setting.
thumbnail
Vilmos Papp, modificado hace 9 años.

RE: Authentication option is not show (no options, blank page)

Liferay Master Mensajes: 529 Fecha de incorporación: 21/10/10 Mensajes recientes
Those constants don't see familiar to me. What version of Liferay do you use?