direct login

Questions about customizing Chat Blazer Enterprise 6, includes both client and server-side issues.

Moderators: samuel, adele

direct login

Postby howard » Tue Jun 03, 2003 2:40 pm

Hello,
I am trying to set up our chat room with direct login from a secure site.
The applet parameter for the password is blank, and there is no password required in the room settings. However, when trying to login directly the applet says that login fails due to incorrect password.
Any ideas?
Thanks,
Howard
howard
 

Postby samuel » Wed Jun 04, 2003 9:59 pm

The most common error for this is specifying an incorrect login type.

Use this for guest direct-login :
<param name="login.type" value="1">

Guest direct-login will check the room password if one is given for the room.

For member direct-login :
<param name="login.type" value="0">

Member direct-login will check if the specified username and password are listed in your member list.
Samuel
ChatBlazer Support
samuel
Support Staff
 
Posts: 501
Joined: Fri Nov 01, 2002 4:06 am

Postby SridharVa » Fri May 16, 2008 4:52 pm

Hi,

I have the same situation. We have our own login page. We want to implement Direct login for chat. After a user logs in from our website login page iam passing the values.

Here are the values im setting

<param name="site" value="CBS1" />
<param name="login.method" value="direct" />
<param name="login.type" value="1" />
<param name="login.name" value="myname" />
<param name="login.room" value="TV & Movies" />
<param name="re-entry" value="no" />

The room "TV & Movies" is publicly accessible and doesn't require any password.

But iam not able to login to chat.

if i use login.type = 1 with above settings then the error message is
Direct login failed : Login name reserved

if i use login.type = 0 with above settings then the error message is
Dircet login failed : Incorrect password.

If i provide
<param name="login.password" value="password" /> with login.type=0 then iam able to login.

Please let me know how can i login to chat without providing password. I don't want to set password parameter value. Please let me know what are the settings i need to do to acheive my goal.

Thanks
Sridhar
SridharVa
New User
 
Posts: 1
Joined: Fri May 16, 2008 4:06 pm

Postby samuel » Thu May 22, 2008 12:48 am

For member login without providing the correct password, please try this workaround.

1. In server's conf.xml, add this line. It should be uncommented by default somewhere near the end.

Code: Select all
<password-comparator class="com.chatblazer.util.NullPasswordComparator" />


This will cause the server to always pass every password check.

2. Supply a bogus password in the applet parameter.

Code: Select all
<param name="login.password" value="ABCD" />
Samuel
ChatBlazer Support
samuel
Support Staff
 
Posts: 501
Joined: Fri Nov 01, 2002 4:06 am


Return to Configuration

Who is online

Users browsing this forum: No registered users and 1 guest

cron