[Deploying Sakai] Password reset

Matthew Jones jonespm at umich.edu
Fri Jun 18 12:44:00 PDT 2010


That text is in the tool's message properties.

"./reset-pass/src/bundle/org/sakaiproject/tool/resetpass/bundle/Messages.properties"

1) It looks like it's actually hardcoded and there might be 2 bugs here.
mainText= This password service is only available for guest users on {0}.

If you configure additional roles then it is available for more than guest
users. So it should probably just say "administrator specified" or "some"
instead of "guest"
.
2) Also it shouldn't be printing <ui.service>, the default looks like "Sakai
Based Service"

Try to set the property in "sakai.properties" for "ui.service" to fix that
one.

./reset-pass/src/java/org/sakaiproject/tool/resetpass/FormProducer.java
106
args[0]=serverConfigurationService.getString("ui.service", "
    Sakai Bassed Service");
107
UIVerbatim.make(tofill,"main",messageLocator.getMessage("mai
    nText", args));

On Fri, Jun 18, 2010 at 3:34 PM, Sri Kota <srini07 at gmail.com> wrote:

> Cool, this works fine. However, it still displays the message:
>
> "This password service is only available for guest users on <ui.service>"
>
> I do see that this is thrown up as HTML content. From where (which file) is
> this message originating from? How can I change this message appropriately?
>
> Thanks,
> -Sri
>
>
>
> On Thu, Jun 17, 2010 at 6:55 AM, Matthew Buckett <
> matthew.buckett at oucs.ox.ac.uk> wrote:
>
>> On 7 June 2010 22:44, Abdul khader <akhader at gmail.com> wrote:
>> > Dear All,
>> > We have a setup of sakai 2.6.2. The option we are looking for is that,
>> sakai
>> > should be able to reset the user's password in case the user forgets it.
>> I
>> > know that there is an option of reset-password. But there is a
>> limitation to
>> > it. This can only reset the password for guest accounts.
>> > I would be really interested to know how we can setup sakai to allow all
>> the
>> > users, irrespective of user type to be able to reset their passwords.
>>
>> In your sakai.properties list the roles that can use the password
>> reset tool in a similar way to this:
>>
>> # Control who can use the password reset tool.
>> resetRoles.count=2
>> resetRoles.1=guest
>> resetRoles.2=external
>>
>> --
>>  Matthew Buckett
>>  VLE Developer, LTG, Oxford University Computing Services
>> _______________________________________________
>> production mailing list
>> production at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/production
>>
>> TO UNSUBSCRIBE: send email to
>> production-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
>
>
> --
> - Sri
> Sarvē Janā Sukhinō Bhavantu
>
>
> _______________________________________________
> production mailing list
> production at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/production
>
> TO UNSUBSCRIBE: send email to
> production-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20100618/4118ef13/attachment.html 


More information about the production mailing list