issue with Password format

49 views
Skip to first unread message

Ravi

unread,
May 28, 2014, 5:23:27 AM5/28/14
to open...@googlegroups.com
hi team,


  1. After creating a course from the Learning Resourse Tab.Inside the Access Tab, the password is visible to everyone.
  2. The password format in the password Verification Controller.java doesnt allow the password to be in the hidden format.
  3. For example while logging in the application ,in the OlatAuthenticationForm.java,the password comes in the format"*******"(password is hidden)
  4. pass= uifactory.addPasswordElement("password.field", "password.field", 255, "", formLayout); code is used
  5. where addPasswordElement method is defined as

public TextElement addPasswordElement(String id, String name, final String i18nLabel, final int maxLen, String initialValue,
FormItemContainer formLayout) {
TextElement te = new TextElementImpl(id, name, initialValue, TextElementImpl.HTML_INPUT_TYPE_PASSWORD);
te.setNotLongerThanCheck(maxLen, "text.element.error.notlongerthan");
setLabelIfNotNull(i18nLabel, te);
te.setMaxLength(maxLen);
formLayout.add(te);
return te;
}


where as while logging in the application the password label with text showing in the hidden format.

So Could you please help me to know what changes to be made so that the password comes in the "********" format while creating a course?


Thanks in Advance.........

Stéphane Rossé

unread,
May 30, 2014, 5:55:35 AM5/30/14
to open...@googlegroups.com
Hello

I doesn't understand your problem. I tested the PasswordVerificationController.java and it shows the field as a password field in the hidden format.

Do you mean the field for users wo want to enter the course, or the field for the authors wo are editing/creating the course?

Best regards
Stéphane Rossé

Ravi

unread,
May 30, 2014, 7:19:47 AM5/30/14
to open...@googlegroups.com

bellammal...@gmail.com

unread,
Jun 3, 2014, 9:50:02 AM6/3/14
to open...@googlegroups.com
Yes while creating the course,after save,navigate Access tab for this we have the actual probelm on be half of ravi..

Florian Gnägi

unread,
Jun 3, 2014, 5:06:37 PM6/3/14
to open...@googlegroups.com
Hi 

This is only for the course authors. They know the password anyway, don't they? Normal users don ' have this view. This is a way to have a shared secret you need to know to access the course. Every user with the rights to configure the course will see this password, however those users have access to the course anyway even without the password. 

I don't see any issue here. 

Cheers
Floria

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT and OLATpro
 hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
--------------------------------------------------------------------



Reply all
Reply to author
Forward
0 new messages