掲示板

openID not responding to portal-ext.properties [Resolved]

thumbnail
13年前 に Cynthia Kimball によって更新されました。

openID not responding to portal-ext.properties [Resolved]

Junior Member 投稿: 45 参加年月日: 10/07/26 最新の投稿
Hello allemoticon

Ok, I know my portal-ext.prop file is working due to other parts of it working, but for some reason my call to openID essentially turning it off, is not working.

My code is:

open.id.auth.enabled=false


I also changed the navigation.jsp code within the login portlet to
boolean showCreateAccountIcon = false;

if (!strutsAction.equals("/login/create_account") && company.isStrangers()) {
	showCreateAccountIcon = false;
}

boolean showFacebookConnectIcon = false;

if (!strutsAction.startsWith("/login/facebook_connect") && FacebookConnectUtil.isEnabled(company.getCompanyId())) {
	showFacebookConnectIcon = false;
}

boolean showForgotPasswordIcon = false;

if (!strutsAction.equals("/login/forgot_password") && (company.isSendPassword() || company.isSendPasswordResetLink())) {
	showForgotPasswordIcon = true;
}

boolean showOpenIdIcon = false;

if (!strutsAction.equals("/login/open_id") && OpenIdUtil.isEnabled(company.getCompanyId())) {
	showOpenIdIcon = false;
}

boolean showSignInIcon = false;

if (Validator.isNotNull(strutsAction) && !strutsAction.equals("/login/login")) {
	showSignInIcon = true;
}


And yet, the openID link appears in the login portlet. The other IDs that I turned to false are no longer listed, so I am trying to figure out why openID won't disappear.

Any ideas?

Thia emoticon
thumbnail
13年前 に Dikie Rendra Aditya によって更新されました。

RE: openID not responding to portal-ext.properties (回答)

New Member 投稿: 14 参加年月日: 09/03/11 最新の投稿
Hello I think you can remove the option for the login portlet in control panel. You must login as an administrator to do this.

Go to Control Panel > Settings then in 'Configuration' on the left select 'Authentication'.

On General tab you can enable/disable setting such as allowing users to automatically login, allowing users to request forgotten passwords, allow users to request password reset, allow strangers to create account, etc

To disable OpenID then click on OpenID tab then uncheck the 'Enabled' checkbox.


That about it, hope this help you
thumbnail
13年前 に Cynthia Kimball によって更新されました。

RE: openID not responding to portal-ext.properties

Junior Member 投稿: 45 参加年月日: 10/07/26 最新の投稿
**chuckling** And I was trying to make it so hard!

Thanks! It worked perfectly!~

Thia emoticon